Re:OCaml Programming: Correct and Efficient and Beautiful
by kubb on Friday June 24, 2022 @06:54AM
(#31859987)
My introduction to programming course in my university was in OCaml. It was all downhill from there when it comes to the programming languages I had to use.
[ Parent
| on HN ]
Re:OCaml Programming: Correct and Efficient and Beautiful
by newsoul on Friday June 24, 2022 @08:10AM
(#31860564)
Which university? Does the course have a public webpage?
Re:OCaml Programming: Correct and Efficient and Beautiful
by pwiecz on Friday June 24, 2022 @08:31AM
(#31860788)
Not the original commenter, but my first year course of Introduction of Programming 15 years age was also using OCaml.
There were two groups of students, standard one was using Pascal, and the functional one using OCaml.
I was studying on Warsaw University and the lecture notes are in Polish: https://mimuw.edu.pl/~kubica/wpf/wpf.pdf
Re:OCaml Programming: Correct and Efficient and Beautiful
by kubb on Friday June 24, 2022 @10:43AM
(#31862756)
That was exactly the course that I took at the WU :) Fond memories.
Re:OCaml Programming: Correct and Efficient and Beautiful
by newsoul on Friday June 24, 2022 @08:33AM
(#31860815)
Thanks! 15 years, that's quite a long time ago.
Re:OCaml Programming: Correct and Efficient and Beautiful
by pwiecz on Friday June 24, 2022 @08:54AM
(#31861015)
Yup. I really loved all the functional stuff I've learned there from OCaml to SML+Extended ML, to Haskell.
Unfortunately, I haven't had a chance to professionally program functionally since the n. :(
It was all Java and C++. Though I like C++, maybe it's a Stockholm syndrome. ;)
Re:OCaml Programming: Correct and Efficient and Beautiful
by lmm on Friday June 24, 2022 @09:23AM
(#31861368)
Cambridge does this (or did when I was there); https://www.cl.cam.ac.uk/~lp15/MLbook/ is the book for the course (available online).
Re:OCaml Programming: Correct and Efficient and Beautiful
by geophertz on Friday June 24, 2022 @08:17PM
(#31871147)
It still does according to the undergraduate program page https://www.undergraduate.study.cam.ac.uk/courses/computer-s...
Re:OCaml Programming: Correct and Efficient and Beautiful
by afarviral on Friday June 24, 2022 @08:47AM
(#31860935)
Seems its better to start with javascript so you can have the reverse experience.
Re:OCaml Programming: Correct and Efficient and Beautiful
by kubb on Friday June 24, 2022 @11:35AM
(#31863838)
Then I would probably be writing HN posts claiming that languages with advanced type systems and functional programming are too hard and impractical, and that they are trying to be clever and cool for no reason.
But, partly thanks to that course, I'm able to pick up any paradigm, and my opinion on what's better is informed by knowledge of both things. I'm also able to structure imperative code better than my "imperative only" colleagues.