Had to verify. And yes. Kernighan and Ritchie really did this. TIL :)
And no, Stroustroup did NOT do this in the C++ book and also no, Knuth didn’t do this in AOCP :)
@jwildeboer C++ is trash
@jwildeboer oh i see, gentleman got the heretic edition
@lkundrak reason enough to print a second edition IMHO. What an oversight! :)
@jwildeboer This is obligatory in true computing texts.
@jwildeboer Ah darn, Kernighan didn't do it in "The Go Programming Language". I guess I'll pencil it in.
@jwildeboer but he did do it in “The Elements of Programming Style”
A classic book, I have it somewhere I'm pretty sure. I had two copies, but I think my ex stole one.
@jwildeboer It's also in the german edition.
@jwildeboer at least the exit condition comes first 😄
If you want to understand recursion, you need to understand recursion …
A good one from Common LISP the Language 2ed, Guy Steele
Mastodon instance for people with Wildeboer as their last name