kill9/readings/sicp.md

20 lines
834 B
Markdown
Raw Normal View History

2020-05-12 21:51:54 +00:00
# Structure and Interpretation of Computers
This is a good book which teaches you the basics of programming: data abstraction, recursion, evaluation and that kind of stuff
SICP uses the [standarized Scheme programming language](https://kill-9.xyz/harmful/software/scheme) which is a simple programming language
~~~
(define (square x) (* x x)) ;; A simple function
2020-05-12 21:51:54 +00:00
(define (fact x) ;; A simple recursive function
(if (= x 1)
1
(* x (fact (- x 1)))))
~~~
2020-05-12 21:51:54 +00:00
This book is easy to understand provided you aren't a complete
brainlet and know the most basic high school maths.
2020-05-12 21:51:54 +00:00
You can read SICP [here](https://vxempire.xyz/sicp)