Except Python is still whitespace sensitive with semicolons, so in an indented block you have to do something like function1(); function2(). In the terminal it works fine though.
Honestly, I wish they did what Ruby did and just used the end keyword.
Personally I hate end keywords - seems like a such an antipattern. I’ve been using jinja html templating language for most web stuff and the end keywords caused so much headache in my career and are really ugly.
Except Python is still whitespace sensitive with semicolons, so in an indented block you have to do something like
function1(); function2()
. In the terminal it works fine though.Honestly, I wish they did what Ruby did and just used the
end
keyword.Personally I hate end keywords - seems like a such an antipattern. I’ve been using
jinja
html templating language for most web stuff and the end keywords caused so much headache in my career and are really ugly.So would you like it better if Python used braces?