|
I like things to come in logical order, so my favorite is =:
A + B =: C, or "Add A and B. Then store it in C" is far better than
C := A + B: "Assign to C ... just wait a second, I have to calculate it first ... Add A and B. I hope you remember what we were going to do with it, as we said a while ago before we started calculating the expression ..."
I programmed for a few years in a proprietary language using =:, and came to love it. It also had a half-swap operator: As in many languages, you could carry the result value assigned to C on, so the same value can be assigned to D and E: A+B =: C =: D =: E. Using :=: the old value of C was carried on. So you could e.g. link in a new element at the head of the list by NewElt =: Head :=: NewElt.Next. This comes far more natural when you read the code left to right, rather than skipping back and forth, as you have to when starting the statement with what you will be doing last.
|
|
|
|
|
Interesting! I've never seen those operators in a general use language but I can see their use. The closest thing I've seen to your =: operator was the verbose:
ADD a TO B GIVING c As a side note, only the ≕ (U+2255) is currently included in the Unicode standard.
Mircea
|
|
|
|
|
Mircea Neacsu wrote: We are stuck to the same limited set of characters that our ancestors put on a typewriter. Try APL.
|
|
|
|
|
APL is the exception that proves the rule. The one language that wanted to break the mold and do things differently has a following of... sorry can't see anybody around here
Together with LISP and FORTH, APL proves that revolutionary concepts gain very little traction among lemmings (sorry, I mean no disrespect for the rodents).
Mircea
|
|
|
|
|
Mircea Neacsu wrote: sorry can't see anybody around here You can count me as one. I don't have any task where I can use it for some "serious" purpose, but it was fun to play around with. At the moment, I don't have an APL interpreter available (except for one running under DOS, but that's not the thing for me). Buying a commercial one is too expensive for a play toy. And APLs of today have experienced the same feature creep as most other languages, making it a far more messy language than the pure APL I learned in my youth.
|
|
|
|
|
|
Dan Neely wrote: But why, "a monad is a monoid in the category of endofunctors, what's the problem?"
Software Zen: delete this;
|
|
|
|
|
From the first link:
Quote: 1964 - John Kemeny and Thomas Kurtz create BASIC, an unstructured programming language for non-computer scientists.
1965 - Kemeny and Kurtz go to 1964.
Lots of other hilarious stuff!
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
Yup, it's a classic. Really kinda wish he'd update it for the last decades fun.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
Gary R. Wheeler wrote: they were going to fix the problem; := for assignment in Pascal and Ada
Every time I see that it reminds me of an emoji.
Jeremy Falcon
|
|
|
|
|
Marc Clifton wrote: my dislike of the previous coder's code
I have been both blessed and cursed through my 23-year career that I almost never have to fix anything I didn't create/break!
The previous coder is me, so I only have myself to blame if it's hard to maintain or worse, misbehaves...but when it's good, well...at least nobody complains!
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
I love JavaScript despite its haphazard nature. Always have; always will. It will always have a special place in my heart even if WASM replaces it one day. Outside of F# it's one of the few popular languages teaching functional concepts. Despite that... I 1,000% agree. Thar be some script kiddies that give it a bad name. Forget the functional vs OOP paradigm, we're talking folks who don't know the difference between a closure and a catfish but think they're experts because they've seen a document.write once. It's so popular, that just comes with the territory. Any language with as many people using it would have tons of bad code floating around.
Btw, I much prefer TS over plain JS these days too.
Jeremy Falcon
|
|
|
|
|
The teacher's workspace has both style and space! (9)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
modified 21-Oct-22 4:53am.
|
|
|
|
|
Classroom
Oops! Wrong number of letters.
|
|
|
|
|
I think he's probably made a mistake with the number of letters
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
What mistake? I see no mistake ... :InnocentWhistleSmilie:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Well done - you are up Monday!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Oh! Well then, disregard my next guess.
|
|
|
|
|
Keyboard
Definition: Teacher's workspace
Style KEY
Room BOARD
KEYBOARD
|
|
|
|
|
I am thinking similar clues could be applied to various font metrics.
|
|
|
|
|
Shoulda kept that to yourself! Now it's wasted, and can't be used until this conversation is long forgotten ...
Pity - it's a damn good idea.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I came across this article: Microsoft data breach exposes customers’ contact info, emails[^]
And the following sentence caught my eye:
"Redmond added that the leak was caused by the 'unintentional misconfiguration on an endpoint that is not in use across the Microsoft ecosystem' and not due to a security vulnerability."
How is a misconfigured endpoint that exposes customer info not a security vulnerability? Someone explain it to me like I'm five
|
|
|
|
|
Probably not a software vulnerability. So, for example, no password configured for accessing the endpoint.
|
|
|
|
|
LOL yeah, but that's like saying "hey sorry that the cake I brought you got accidentally dusted with poison on the way over, but just so you know, the cake itself was perfectly safe to eat!"
|
|
|
|
|