by Tomte · 10y ago · 0 comments
But C has immense cultural value. Lots and lots of extant source code, important source code: Linux. The BSDs. PostgreSQL, SQLite, whatever.
C is the lingua franca. "Everybody" speaks at least a little C, so it can be used as pseudocode notation (without learning some specific, maybe even ad-hoc, pseudo language).
Yes, exactly! In my opinion, C for a programmer or computer scientist is like Latin for a medieval scholar. You don’t need to speak it fluently, but it’s good to know enough to read other people’s works and understand how concepts are expressed.
In practical terms, I think that almost any programmer can benefit from reading K&R and doing the exercises in it, even if they never go on to write “real” programs in C. The book is very short and readable, and finishing it is a much tinier task than learning the standard libraries and toolchain options and best practices and all the other stuff you need to be productive writing production-quality code.
Most any CS book seems to have been written in C, Java, C++ and lately, Python. Are there books on computer architecture, algorithms, compilers, whatever written in Scheme?
- Structure and Intepretation of Computer Programs (SICP), used for decades in MIT’s introductory CS course: https://mitpress.mit.edu/sicp/
- Picturing Programs: http://picturingprograms.com/
- How To Design Programs: https://en.wikipedia.org/wiki/How_to_Design_Programs
- Programming Languages: Application and Interpretation: http://cs.brown.edu/~sk/Publications/Books/ProgLangs/2007-04...
There are plenty of CS books where the code targets Scheme, another Lisp, or another functional language (e.g., ML or Haskell.)
Are you interested in finding such a book? Do you try to refute any of my points? If so, which one?
> Are you interested in finding such a book?
Yes.
Google it -- it's freely available on-line, along with a video lecture series.
It's different, in that it doesn't teach Scheme (Lisp). It teaches computation (aka CS).
Go from there.
Off the top of my head, only Structure and Interpretation of Computer Programs. But that's... different.
And Paradigms of Artificial Intelligence Programming.