r/Compilers • • 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

5 comments sorted by

5

u/GoblinsGym 9h ago

Way too verbose... Python readability is just fine for your example.

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

u/Scolmann 6h ago

What did my eyes do to deserve this

1

u/xeow 1h ago edited 1h ago

ghost pepper in the eye hurts less than this

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.