4 ms·
> I don't think "clever"ness is what makes code unmaintainable. You can still create a tangled mess in Go... It's not the only factor, but it is certainly _a_
by cloverich 6y ago
> I don't think "clever"ness is what makes code unmaintainable. You can still create a tangled mess in Go...
It's not the only factor, but it is certainly _a_ factor: "Clever code" is typically meant as derogatory. Fancy abstractions for simple use cases is a common cause of tech debt IME, and harder to unwind than under-abstracted code (tedious as that is to fix).
- shaan7 6y ago> It's not the only factor, but it is certainly _a_ factor: "Clever code" is typically meant as derogatory Yep, but here's the thing - if the problem is misuse of the tool, then the solution should be to not misuse the tool. Saying "we will remove features because some people misuse it" is like saying "we will remove headlights from cars because some people drive irresponsibly[1]". Go remains my language of choice if I have to build efficient webservices, but I really feel sad when people make it sound like Go is awesome because it misses language constructs. No! It is awesome because it is FAST (quite near C) but it is very easy to do simple things like writing http servers, parsing JSON and so on (like Python et al). [1] https://timesofindia.indiatimes.com/city/bengaluru/high-beam-menace-over-5000-cases-booked-in-four-months/articleshow/58691189.cms https://timesofindia.indiatimes.com/city/bengaluru/high-beam... EDIT: fixed typo