Re:Ten Lines of Code That Changed My World
by gabrielsroka on Sunday September 27, 2026 @01:46PM
(#49868974)
It's actually a B thing
https://news.ycombinator.com/item?id=27048024
[ Parent
| on HN ]
Re:Ten Lines of Code That Changed My World
by bojan on Sunday September 27, 2026 @03:14PM
(#49869884)
Interestingly enough, in the linked text, B is referred as a "language", follow by "the generated code is quite good", presumably referring to the resulting Assembly code.
Re:Ten Lines of Code That Changed My World
by NetMageSCW on Sunday September 27, 2026 @03:17PM
(#49869908)
I disagree as that doesn’t introduce using the B environment with a Hello, world program which is the whole point. After K&R it was the canonical first program.
Re:Ten Lines of Code That Changed My World
by guelo on Sunday September 27, 2026 @04:30PM
(#49870512)
Pulling my copy of K&R from the shelf, it introduces the hello world program with
The first program to write is the same for all languages:
Print the words
hello, world
Suggesting that this was already an established tradition when the book was written in 1978