path1 = “”“C:\users\ieuser\desktop
pathpart = path1 ~mid 2 left (path1 length - 1)
// ~mid could mean “change in place” or immediately
// but either way: example is correct in sayin’ “nothing is clear in this code”!
Thanks a lot for the link!
let h = Element.style.height; // what if Element is undefined or null? or then style?
// so You have to use
let h = Element ? (Element.style ? Element.style.height : null) : null)
Thats why there is a proposal for
let h = Element?.style?.height
But I find even more worse (more worse???) that You cannot break easily out of the chain.
That’s the path that leads us to functional programming…
For leaving the chain of rest elements, proxy could be used.
Please, learn the language, you are not writing proper Xojo. And yes, +=, -=, /=, *=, ++, --, are very desired, requested, but Xojo denied those operators for us saying seniors would not understand it. How sad.
In an announcement that has stunned the computer industry, Ken Thompson, Dennis Ritchie and Brian Kernighan admitted that the Unix operating system and C programming language created by them is an elaborate April Fool’s prank kept alive for over 20 years. Speaking at the recent UnixWorld Software Development Forum, Thompson revealed the following:
"In 1969, AT&T had just terminated their work with the GE/Honeywell/AT&T Multics project. Brian and I had just started working with an early release of Pascal from Professor Nichlaus Wirth’s ETH labs in Switzerland and we were impressed with its elegant simplicity and power. Dennis had just finished reading ‘Bored of the Rings’, a hilarious National Lampoon parody of the great Tolkien ‘Lord of the Rings’ trilogy. As a lark, we decided to do parodies of the Multics environment and Pascal. Dennis and I were responsible for the operating environment. We looked at Multics and designed the new system to be as complex and cryptic as possible to maximize casual users’ frustration levels, calling it Unix as a parody of Multics, as well as other more risque allusions. Then Dennis and Brian worked on a truly warped version of Pascal, called ‘A’. When we found others were actually trying to create real programs with A, we quickly added additional cryptic features and evolved into B, BCPL and finally C. We stopped when we got a clean compile on the following syntax:
To think that modern programmers would try to use a language that allowed such a statement was beyond our comprehension! We actually thought of selling this to the Soviets to set their computer science progress back 20 or more years. Imagine our surprise when AT&T and other US corporations actually began trying to use Unix and C! It has taken them 20 years to develop enough expertise to generate even marginally useful applications using this 1960’s technological parody, but we are impressed with the tenacity (if not common sense) of the general Unix and C programmer. In any event, Brian, Dennis and I have been working exclusively in Pascal on the Apple Macintosh for the past few years and feel really guilty about the chaos, confusion
“Beauty is in the eye of the beholder”. And the current devs eyes sees the beauty of what I expressed, they are used to.
Having Var instead of Dim is not enough to modernize a language without lambdas or local functions, generics, compound assignment operators, etc.