DEV Community

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

Collapse
 
vladinator profile image
Vlady Veselinov • Edited

Absolutely. My pet peeves with it are:

  1. Python lacks punctuation, in the logical sense of the word. If punctuation was an unnecessary lexical tool, people wouldn't use it in English. It helps convey meaning.

  2. Abbreviations. What the hell does "t", "p", "x", "y", "pd", "plt" and "sns" stand for? The community has a horrible notion for naming conventions. The most popular Stack Overflow posts have this style of naming and it's making the language hard to learn.

  3. Underscores. Who decided that this "init" with two sets of double undescores should be one of the things developers write most often? It's not readable.

All of these things make Python hard to understand.

Collapse
 
tterb profile image
Brett Stevenson • Edited

I'm personally a big fan of Python, but I still totally agree with #3. Even though I write python pretty regularly, 95% of the time I just copy and paste the whole:

if __name__ == "__main__":
  main()
Enter fullscreen mode Exit fullscreen mode

(copy & pasted)

Thread Thread
 
vladinator profile image
Vlady Veselinov

Oh yeah, despite complaining so much I still like it overall as a language.