|
|
|
|
|
by klibertp
3414 days ago
|
|
> strong typing and object syntax are practically a neccesary evil for maintaining readability No, it's not like that. You can write readable code in any language as long as you can write readable code. It sounds tautologic, but what I mean is that ability to write readable code is a skill separate from writing code or knowing a particular language. Strong static typing - as just about any tool and language feature - can have both good and bad effects on code readability. In the end, the readability (so also maintainability and other related metrics) depends on the skill of a particular developer in the largest part. Both OO and FP techniques, as well as all the language features, are the same. You can misuse (or ignore) them all. What we need is to make an "average developer" better at writing code, not more bondage and discipline in our tools. The latter is (a lot) easier, so that's where we focus our efforts, but - in my opinion - it's not going to solve the problem. |
|