HackerTrans
TopNewTrendsCommentsPastAskShowJobs

schot

no profile record

Submissions

How to Write a Programming Book

cscalfani.medium.com
106 points·by schot·hace 5 años·10 comments

comments

schot
·hace 4 años·discuss
"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
schot
·hace 5 años·discuss
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/
schot
·hace 5 años·discuss
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
schot
·hace 5 años·discuss
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