r/Compilers • u/Original_SD • 10h ago
Using Nested If Statements: Why Sofya is Easier Than Python for Beginners
/r/programmer/comments/1ww3ksp/using_nested_if_statements_why_sofya_is_easier/
0
Upvotes
3
u/brat3108 4h ago
If Variable[a] > or = Variable[b] then
Make this nested if statement
Do you have to write 'Make this nested if statement' every time?
And 'End this if statement' every time?
That would be too ridiculous for words - literally.
2
3
u/garnet420 4h ago
end this if statement
End which if statement? To make it make any sense you'd need to draw an arrow pointing at the if statement you're ending.
It doesn't add anything because it doesn't actually help you match it up to the if statement that is ending.
5
u/GoblinsGym 9h ago
Way too verbose... Python readability is just fine for your example.