Re:Mostly Adequate Guide to Functional Programming in JavaSc...
by candu on Tuesday July 14, 2015 @06:23PM
(#9888471)
+1. I'd argue teaching OOP in C is better than teaching it in <insert OOP language here>, as then you can build OOP from first principles.
Otherwise, OOP is just this black box that has "you know, classes and objects and stuff".
Similarly: you can build a simple LISP in Javascript. You can write an event loop in C. You can implement Hindley-Milner type inference in Python. These are all great exercises in understanding exactly what these components of different programming languages do :)
Otherwise, OOP is just this black box that has "you know, classes and objects and stuff".
Similarly: you can build a simple LISP in Javascript. You can write an event loop in C. You can implement Hindley-Milner type inference in Python. These are all great exercises in understanding exactly what these components of different programming languages do :)