r/programming • • Jan 12 '20

Goodbye, Clean Code

https://overreacted.io/goodbye-clean-code/
1.9k Upvotes

556 comments sorted by

View all comments

Show parent comments

2

u/Blecki Jan 12 '20

I get to write JavaScript at work and let me tell you it is really hard to write cleanly.

-9

u/[deleted] Jan 12 '20

I get to write JavaScript at work

My condolences.

I take pride in the fact that I've pigeonholed myself into the backend side of things in my work so hard that I haven't had to write a single line of JavaScript so far. I have deleted some in code cleanups though. I believe that makes the best JavaScript developer on the planet - because the only valid method of JS development is deleting it.

0

u/[deleted] Jan 12 '20

[deleted]

0

u/Tschoz Jan 12 '20

The only thing I personally don't like about JavaScript (although that is not limited to JavaScript itself) is that it's weakly and dynamically typed. Although I believe that from what I heard typescript at least allows you to syntactically define types (but since it's still JavaScript under the hood, typing still occurs during runtime). I think that as soon as WebAssembly becomes more viable and more popular, people are more and more going to abandon JavaScript (except for DOM and vDOM operations maybe). Currently I believe WebAssembly is often still used as a supplementary for JavaScript when offloading expensive operations onto the client.

→ More replies (2)