Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If I mix and match spaces and tabs, Python will not work and you cannot tell them apart ,it's a bit more subttle than this, but you get the idea (should you wish to).

There is no such issue with braces. This is what i meant.

As for formatting, you can use ide shorcuts to format your pasted code but it will run fine even if not formatted, not the same for Python, where it will not run.



> There is no such issue with braces

That is true, but mixing spaces and tabs is a contrived example. Literally nobody actually does that.

Same for the point about formatting, I think. The average python dev probably spends about as much time reformatting pasted code as the average C dev spends typing braces.

I guess my point is just I think you subjectively dislike Python’s syntax (which is fine) but are trying to make objective justifications for that which seem really far fetched. Why not just say you don’t like it?


> That is true, but mixing spaces and tabs is a contrived example. Literally nobody actually does that.

Contrived or not this has happened to me when copying and pasting, but I take your point that people won't mix and match.

> I guess my point is just I think you subjectively dislike Python’s syntax (which is fine) but are trying to make objective justifications for that which seem really far fetched. Why not just say you don’t like it?

While the issues I encountered might seem contrived and far fetched to you, they have happened to me, granted I don't do Python professionally.

As I said on first comment, I don't like it because of the reasons I mentioned, some are factual,e.g. indentation when copy and pasting can mean that the script/program won't run, some are opinion-based, e.g. they [braces] are easy to visually parse.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: