News for hackers. Stuff that matters.
Re:C# functional language extensions and Erlang-like concurr... by catnaroek on Monday January 30, 2017 @12:39AM (#13518954)
Scheme will let you implement an object system on top of it, using mutable closures, and perhaps macros for syntactic sugar.
Re:C# functional language extensions and Erlang-like concurr... by nonsince on Monday January 30, 2017 @08:24AM (#13520902)
The most popular Scheme (Racket) comes with an object system, that I almost instantly fell on when I came to it from C#. I don't think there's any substitute to just explaining the problems with OOP.
Re:C# functional language extensions and Erlang-like concurr... by innocentoldguy on Thursday February 02, 2017 @06:42PM (#13556144)
That depends on how you think about problems, I think. I understand OOP, and have written OOP code for two decades, using languages like Java, C#, Ruby, C++, etc. However, OOP never felt like a natural way to think to me. The first time I worked with a functional programming was an amazing experience, since FP works in exactly the same way I think. I'm not knocking OOP. I think it is great. It just doesn't fit as well with the way I puzzle through problems. Good thing we have options, I suppose.