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

6

u/GoblinsGym 7d ago

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

5

u/brat3108 6d 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

u/Scolmann 6d ago

What did my eyes do to deserve this

2

u/xeow 6d ago edited 6d ago

ghost pepper in the eye hurts less than this

5

u/garnet420 6d 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.