A real programmer only uses notepad. Anything else is cheating.![]()
Trust me, they make life so much easier for you. In C the {} act as the only separator thus you don't need to worry about indentation. Just imagine, newer having to dig through your code for hours only to realize in frustration that your error is not in logic or in syntax but in forgetting the proper spacing. Things like that make me want to rage quit and throw my monitor out my window.
I often work with PHP right now, raging that I can't use python instead whenever I miss the stupid parenthese.
Why can't you use python?
If it's due to project requirements, then it's sad, else, if you are free in the language choice, i suggest that you google "PyJamas" (Python to Javascript cross compiler).
Do you also omit all sorts of symbols when you type out your posts and essays?Objection! I've used 10+ languages, all having {} or begin/end, with semicolons on top, or end, rather, plus other stuff like extra () in conditionals... believe me, whenever I had to type them I was thinking why on earth they make me type all this unnecessary crap. People would consider them absolutely necessary for all kinds of reasons, yet python just has right, works fine without them and the syntax is most readable of all languages I know. No problems with spacing either, and I only use npp with whitespace shown. I often work with PHP right now, raging that I can't use python instead whenever I miss the stupid parenthese.
It's the same with the rest of the symbols. They exist to make the program appear ordered and neat so that any reader can understand it.
Also on that note do you ever comment the code in your programing? Becouse I have been programing for 8 years now and the first thing they drill into your head is "comment everything".
Do you also omit all sorts of symbols when you type out your posts and essays?
It's the same thing here. The idea behind them is not only that you your self but that others as well can read your text clearly.
Once you get used to them the symbols make perfect sense. {} make sure you don't have to care about indentation or anything else. And better yet when ever anyone else looks at your code he does not even have to know anything about the program in question but he can still easily see what belongs where.
It's the same with the rest of the symbols. They exist to make the program appear ordered and neat so that any reader can understand it.
Also on that note do you ever comment the code in your programing? Becouse I have been programing for 8 years now and the first thing they drill into your head is "comment everything".