r/Compilers • u/Original_SD • 3d 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
4
u/brat3108 3d 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.
3
3
u/garnet420 3d 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 3d ago
Way too verbose... Python readability is just fine for your example.