News for hackers. Stuff that matters.
Re:Python or JavaScript by tcbasche on Thursday July 16, 2020 @02:32AM (#23856408)
Just curious, but why is spacing an issue? Just use an auto-formatter or something. A proper IDE will also have similar tools to fix it for you
Re:Python or JavaScript by catchmeifyoucan on Friday July 17, 2020 @01:46AM (#23867463)
I find it harder to immediately realize and distinguish blocks. I feel that it requires more visual concentration, and if indentation is messed up, then it becomes a dumb tab counting game. Disclaimer: I’m a python beginner
Re:Python or JavaScript by tcbasche on Friday July 17, 2020 @05:50PM (#23876301)
That makes sense. The curly braces do help to identify immediate blocks but I guess the problem is that blocks are too big and can’t be identified in a single screen. Although usually easier said than done