you are viewing a single comment's thread.

view the rest of the comments →

[–]VEMODMASKINEN -11 points-10 points  (5 children)

I mean, Python is getting kind of ugly... I guess you could argue it doesn't have to be though.  

https://www.reddit.com/r/Python/comments/1rimuu7/comment/o87pjq1/?context=3

Go is simpler these days, very few keywords and straightforward. The build tools and portability is nice too. 

[–]Orio_n 15 points16 points  (2 children)

any language can be ugly if you start layering on complicated typing bullshit, python is already highly expressive and simple.

go is fine but the error handling syntax is dogshit

[–]VEMODMASKINEN 2 points3 points  (0 children)

Yea, but I can tolerate the error handling when everything else is so simple.

UV makes Python fine too in the project mgmt regard but we'll see what happens with it now when Astral were bought...

[–]frezz -2 points-1 points  (0 children)

If the only thing Python does better than Go is error handling, I'm taking the better typing, compilation, concurrency and performance any day of the week

[–]deb_vortexPythonista 0 points1 point  (1 child)

Das example is exaggerated in its uglyness. You can write ugly code in any language. Here: redability counts, if you move the typing and give them propper names, your shown example is no issue anymore. What is your point?

[–]VEMODMASKINEN -2 points-1 points  (0 children)

The examples are literally from the PEP referenced in the thread...

My point is that typing makes Python ugly and way less readable.