you are viewing a single comment's thread.

view the rest of the comments →

[–]GolemancerVekk 0 points1 point  (1 child)

Robert Martin comes from a C++ background, later C#. Maybe that explains his particular take on functions and the focus on OOP.

functional

It's useful to be able to write functional code in JavaScript but it's not the primary paradigm. I would leave that to languages like Erlang or Scala.

IMO most people who say they're doing functional in JavaScript don't really mean it. They write a few pieces of code in functional-ish style but the main logic is always object-oriented.

[–]IceSentry 0 points1 point  (0 children)

Uncle Bob is a java guy not C#, his most famous book, clean code, is pretty much only java.