News for hackers. Stuff that matters.
Re:Teaching FP to freshmen by goalieca on Saturday March 26, 2011 @09:23PM (#2373787)
The real danger of OOP is that people mangle it and use far too much state. At some point there is virtually no difference between a class with many variables and global variables yet this is exactly what we teach freshmen.
Re:Teaching FP to freshmen by sesqu on Monday March 28, 2011 @08:49AM (#2378135)
Is that a bad thing? Global variables keep cropping up in programming languages, so large objects (context-globals; namespaces) might be just the right compromise between encapsulation and coherence.