2019 is the year we stop writing “pure” functional or object-oriented code, and go back to getting shit done.
-
-
THIS. I almost always start with a list of instructions anyway, even if I'm intending to end up with classes or functions. A procedure is always easier to understand than a set of abstractions decided too early.https://twitter.com/TheAlanSmith/status/1083783166043803648 …
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I mean I totally agree, so I'm not throwing shade here, but what year was it when we actually wrote pure functional code? I'm over here counting it as a win that I've got my team accepting basic lambdas in Java.
-
some time you should see the javascript codebases I've been working in

-
I can only imagine. Honestly my FP zealot tendencies came from the drop in big rates I had with it. But that’s statically typed Haskell-ish FP. I’m gonna go out on a limb and guess that’s not exactly what you’re seeing.
-
s/big/bug/
End of conversation
New conversation -
-
-
Word! I also subscribe to the thought that sometimes what a job needs is a long but easy to read and procedurally written function.
-
I used to agree with what both of you have said, until I revisited my "get shit done" code and my "clean code" a year later to add an update. The dirty code took almost a week to update while the clean was a matter of hours. Long term, its better to write clean.
End of conversation
New conversation -
-
-
Unfollow
- End of conversation
New conversation -
-
-
ocaml is a thing right? functional language with objects? :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
then document what you did
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Literally staring at a 400-ish line WordPress plugin where someone has just gone totally nutty on OO "structure" (to the extent that PHP allows). It does look pretty on one level, but on another, it reads like a code obfuscation exercise.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Shit can be done, regardless OO or functions, but what you states is to break some best practice on that road too. I can agree with that. That is not ok with shitty code and functions like that. Think! And get shit done!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Twitter at the speed of parenting
