“A damn stupid thing to do” – The origins of CPL, BCPL, and C (2020)
arstechnica.com
arstechnica.com
> Almost immediately, they had some difficulty prioritizing, as David Barron noted of Strachey, “It was characteristic of him to insist on minor points of difference with the same force that he insisted on major points.”
I hate them and communist in general, but please war of position or war based on position is key to the dark side winning.
For the china example, Mao has instructed and except one disobedient general never fought the war against japan. And said thank you then of invading china afterward.
Back to this I posted. I think that early pioneer many of these have issue of fighting all or select whatever he thought important. That is why they did this in the first place I think. Some ok some not. And you hope the idea or company spread around enough (mouse-windows to Steve) that someone did it and fight the right strategy war. Free source to open source is another example.
I’m not sure we’re disagreeing about anything. What you wrote is good advice to someone who’s too argumentative.
I think I used to fit something like this description. I was very blunt about disagreements but I was always well intentioned and forgiving. Sometimes people took the bluntness too seriously and couldn't see that I was trying to help them.
I've since softened up somewhat. In retrospect I think some of the bluntness was a symptom of externally imposed stress.
I try to ignore the tone and insults and reply as if nothing was happening. Easier to do through text than through voice or in person. It's smart to move any discussion to a written medium in order to reply calmly and create a paper trail.
I have worked with very smart people who had no ability to prioritize. It's always fascinated me and I wonder what is at the root of this problem.
Procrastination is the biggest one for otherwise well-meaning/smart people in my opinion.
Someone struggling with an exam might first prioritize the questions they're confident in answering quickly to improve their grade. Someone who will ace the exam regardless of order can simply power through without needing to waste time "prioritizing" that could instead be spent on answering the questions.
Someone who is smart/driven/competent enough to generally complete their projects in time and under budget has no need to prioritize features based on need - if they do prioritize, they may prioritize based on ease of overal implementation. That might mean prioritizing the "less important" / less defined items before the more important / more fleshed out aspects. Eliminating unknowns and variables up front in this way might lead to less time "wasted" on refactoring and redesigning.
The lack of ability to prioritize is because every single detail is consider important. Which is why he gain the reputation of writing perfect programs.
Choosing your battles is good in the interpersonal relationships; but Mother nature does not choose battles when enforcing its laws, it doesn't say "well... right now we should suspend gravity because there are bigger fish to fry".
From that perspective there are not major or minor points, there are only points. So, what might seem petulant for neurotypical people, for Asperger's people is much more black and white; which is a blessing and a curse. but you will thank me later.
I tend to either care entirely about something or not at all, and the only standard is "perfect" (there are no visible ways something can be improved) – "good enough" doesn't really make sense emotionally. And even though I'm completely self-aware and I recognize this as it's happening, it's difficult to control what I feel.
It's very frustrating. I sometimes wonder at how much more I'd enjoy things and how much more progress I'd make at work and with my hobbies if there weren't these... unbidden demands that take time to satisfy, the stress that the demands cause, and the constant internal battle between what I want to do or know I ought to do and the arbitrary need for something to be a certain way.
Far be it from me to armchair diagnose someone, but the "Strachey had always displayed a talent for the sciences but rarely applied himself" is a story told over and over again for those with undiagnosed neurodivergence.
> One minor quibble was Strachey’s objection to the grammar of “IF … THEN … ELSE” statements. “I cannot allow my name to be associated with a definite recommendation to use ignorantly incorrect English,” was his view, as Hartley later wrote for Annals of the History of Computing. Strachey preferred “OR,” which conflicted with the way “OR” was used in nearly every other programming language in existence. Nonetheless, his preferences carried the day, and the CPL reference manual included “OR” in the place where users would have expected “ELSE.”
That seems like a pretty stupid thing to do--perhaps not at the time by the 'do'ers.
IF (condition) THEN (do-this) ELSE (do-that).
I think 'or' would not go with alternative commands, but with an alternative condition: IF (condition) THEN (do-this) OR (other-condition) THEN (do-that).
If you don't want to use 'else' then 'otherwise' would sound idiomatic, too.> IF THEN OTHERWISE
Which avoids overloading OR and maintains better grammar.
But I suspect shorter words were preferable when space was a premium everywhere not least on the display itself.
"Utilize" first arose in 1807 if Merriam-Webster is to be believed, well past the period you're quoting; and "dost" should agree with the number of its noun "senses". ("dost" is second-person, but you need something third-person.) In this context I also don't really like the continuous present of "are you utilizing", but I can't put words to why. I believe "hast thou taken leave of thy senses" is actually recorded to be idiomatic.
By the way, ChatGPT suggests (where I've fixed its analogous error in the word "doth"):
> Pray tell, wherefore dost thou employ the term 'contrariwise'?
#include <stdio.h>
#define PREACH printf
#define SHOULD_GOD_WILL if
#define EACH_AND_EVERY_CREATURE_UNDER_GODS_LIGHT for
#define OTHERWISE else
#define RETRIBUTE return
#define ALONG_WITH &&
#define THUS }
#define LET {
int main() LET
EACH_AND_EVERY_CREATURE_UNDER_GODS_LIGHT (int i = 0; i < 100; i++) LET
SHOULD_GOD_WILL (i % 5 == 0 ALONG_WITH i % 3 == 0) LET
PREACH("Fizzbuzz!\n");
THUS OTHERWISE SHOULD_GOD_WILL (i % 5 == 0) LET
PREACH("Buzz!\n");
THUS OTHERWISE SHOULD_GOD_WILL (i % 3 == 0) LET
PREACH("Fizz!\n");
THUS OTHERWISE PREACH("%d\n", i);
THUS
RETRIBUTE 0;
THUS greater x y
| x > y = x
| otherwise = y
In Haskell's case, this is a conditional syntax that's alternative to if-then-else, so `else` was already taken. `otherwise` is just a conventional constant for `True` that's chosen for readability. if otherwise then notBut the article is a good History of C and worth a read.
Unfortunately for C and Unix, it turned out that features like memory safety (PL/I) and ring security/ACLs/MAC (Multics) were actually good ideas.
Of course memory-safe C/C++ compilers/ABIs/runtimes are possible and seem like a very good idea - certainly if you have the hardware (CHERI) or are willing to take a performance hit (probably acceptable considering that computers are fast enough to run apps in JavaScript/Python/Java/etc..)
Unfortunately Linux inherited Unix's security architecture and we've ended up with a hodgepodge of stuff like SELinux, AppArmor, hypervisors, containers, gVisor, etc. to try to fix it. And of course it usually runs on vulnerable hardware which has prioritized speed over security.
Yeah, but perhaps the real misfortune was how small the obsolete PDP-10s that DMR, BWK, Ken Thompson, et. al. were working with.
How many 'computer programmers' could do this in today's world?
They're numbered in the thousands.
I would guess any experienced programmer with adhd would and has done the same multiple times.
“A damn stupid thing to do”–the origins of C - https://news.ycombinator.com/item?id=25400486 - Dec 2020 (20 comments)
“A damn stupid thing to do”–the origins of C - https://news.ycombinator.com/item?id=25357867 - Dec 2020 (5 comments)
Consider this:
This code crashed CWM under OpenBSD 7.2, but it worked under FVWM. And, still, the fractal generating time was atrocious.
I could reimplement the figures in PostScript and yet render them faster under GhostScript than the C binaries against Xlib.