Replies: 1 comment
-
Thanks, I’m shutting down the project. The nested statements can be minimized by checking for inverse values. With exceptions, how do you know what failed and where? I'm tired and care little about ugly code right now. I will cancel the project. Thank you for your feedback. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Look at how ugly this piece of code is:
https://github.com/objeck/objeck-lang/blob/master/programs/examples/json_file.obs
You have to check if it's not
Nil
all the time. There are too manyif
statements that make it look ridiculous. If there is no need to check if it'sNil
or not, a simpleselect..label
is much better.Beta Was this translation helpful? Give feedback.
All reactions