4 ms·
Functional programming does have some useful syntax and principles that can make code easier to reason about. But a much bigger red flag is if a developer is so
by woah 10y ago
Functional programming does have some useful syntax and principles that can make code easier to reason about. But a much bigger red flag is if a developer is so fixated on a certain programming philosophy or methodology that they don't pay attention to writing simple, good code.
- hackits 10y agoFunctional programming is nice, though I tend to find a procedural code easier to read than it's functional counter part. There is a place and time for mutation of state and their are other times when just simply duplicating data for clarity is much more straight forward.
- alkonaut 10y ago> that they don't pay attention to writing simple, good code. Amen. If you have a complex problem to solve, and the style is between obfuscated FP and complex OO, the choice is already a bad one. If the code can't be written very clearly, probably the problem is posed wrong, or shouldn't be solved because the maintenance costs will be too high anyway. The negative contribution developers I find are those that don't challenge the formulation of the problem. This takes some confidence to rather challenge a manager with a better design, rather than actually write a complex solution to a problem to get a pat on the head. So the most dangerous developers in my book are those that like the pats on the head they get from solving complex problems by writing complex solutions.
- jakub_g 10y ago> The negative contribution developers I find are those that don't challenge the formulation of the problem. Couldn't agree more. Furthermore, sometimes the best code is no code at all. If the code has 0 lines, it will not contain bugs, and will not take time for bug fixing and maintenance.
- adrianN 10y agoIf only there were on objective way to decide whether something is good code or not.