27 ms·
You can write OOP-style in C, FP-style in C/C++/Java or even PHP. Sure. Writing pure FP code (pushing all the side effects to the "edges of the program" in C i
by cies 2y ago
You can write OOP-style in C, FP-style in C/C++/Java or even PHP. Sure.
Writing pure FP code (pushing all the side effects to the "edges of the program" in C is possible! But it's going to take a lot of discipline from the programmers: there is no safety-net and lots of dreadful boilerplate.
Impracticle, but possible.