I normally use python for large (or cross platform) things and BASH for small things. I love the BASH syntax, so I really hate the fact that python doesn't use (curly) brackets/braces to enclose things like if statements. Is there a language with similar functionality to python that uses (curly) brackets/braces?
Example:
What I want:
if x=1 {
do something
}
What python has:
if x=1:
do something
Aucun commentaire:
Enregistrer un commentaire