Both braces and semicolons were used to simplify language parser. In most of the time they have no value for code readability. However I would agree that in some rare cases optional brackets could improve readability of a complex code structure.
I believe the next generation programming lang will get rid of under_score or cameCase style to look more like a natural human language
deffindpublicip(self):# instead of def find_public_ip(self):....
Natural-language style programming is definitely interesting - I think the coolest example I've seen of it is Inform 7, a language used for writing text adventures which is designed to look like normal (if somewhat stilted) English prose:
"Hello World" by "I.F. Author"
The world is a room.
When play begins, say "Hello, world."
Whether you could (or should) create a general-purpose programming language in that style, I'm not sure - it's interesting to think about, though :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Both braces and semicolons were used to simplify language parser. In most of the time they have no value for code readability. However I would agree that in some rare cases optional brackets could improve readability of a complex code structure.
I believe the next generation programming lang will get rid of under_score or cameCase style to look more like a natural human language
Natural-language style programming is definitely interesting - I think the coolest example I've seen of it is Inform 7, a language used for writing text adventures which is designed to look like normal (if somewhat stilted) English prose:
Whether you could (or should) create a general-purpose programming language in that style, I'm not sure - it's interesting to think about, though :)