DEV Community

Discussion on: Which mainstream programming language has the ugliest syntax?

Collapse
tiffanywismer profile image
Tiffany Wismer

I personally find JavaScript to be absolutely hideous.

Collapse
ewnx01 profile image
Drunken Dev

Definitely, but there are some small signs to become more handleable.

Collapse
nickfazzpdx profile image
Nicholas Fazzolari

Same here.

Collapse
edoxtator profile image
Doc

It's right behind Java, IMHO. It's much easier to read obfusticated C than JS.

Collapse
tiffanywismer profile image
Tiffany Wismer

Right, I mean... so many parentheses. I know that's not an aesthetic issue but trying to figure out where everything begins and ends makes my brain cry.

Thread Thread
qm3ster profile image
Mihail Malo

Sounds like you need Bracket Pair Colorizer

Thread Thread
twobridges profile image
Dean Grande

This is by far the most useful comment I've read here, thanks Mihail

Collapse
vintprox profile image
Rodion Borisov

Why would anybody care to read obfuscated code in the first place without the help of formatter? Unless you are developer of bundler...

Collapse
cutiko profile image
Erick Navarro

Javascript is very close to start looking like a bunch of emojis:
()=> :}

Collapse
dougblackjr profile image
Doug Black

HA! You are 100% right!

Collapse
qm3ster profile image
Mihail Malo

()=> :} isn't a valid span of JS in any non-string context, but there is bound to be a Haskell library that introduces a ()=>:} binary operator/infix function.

(This is a joke, all of ():} are reserved characters)