News for hackers. Stuff that matters.

schot

Re:History of Zero-Based Months? on Saturday August 27, 2022 @06:09AM (#32617487)
"Why is day of the month 1-indexed but the month is 0-indexed in C?"

This Twitter thread from November 2020[1] and its HackerNews discussion[2] seem relevant.

1: https://twitter.com/hillelogram/status/1329228419628998665

2: https://news.ycombinator.com/item?id=25195287

How does this compare to LilyPond? I'm surprised it isn't mentioned at all, since from a first glance the notation looks very similar.

[0]: http://lilypond.org/

Re:Functional Programming in OCaml on Wednesday July 28, 2021 @03:48AM (#27981336)
The Coursera course Programming Languages (Part A and B) by Dan Grossman teaches FP (and more) using SML and Racket. I enjoyed this course a lot. I would not recommend it for kids, but it should be great for students with some limited programming experience.

[1]: https://www.coursera.org/learn/programming-languages

[2]: https://www.coursera.org/learn/programming-languages-part-b

Re:Accidentally quadratic: When Python is faster than C++ on Thursday March 04, 2021 @04:34AM (#26340423)
A minor historical note on this: the original title of Dijkstra's text was "A Case Against the Goto Statement" and it was the Communications of the ACM editor (Niklaus Wirth) that changed it[0].

[0]: https://en.wikipedia.org/wiki/Considered_harmful