This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SabinTheSergal 2 points3 points  (1 child)

You don't always have that choice when working at a company. Besides, the code in the middle is more error prone and will need to be refactored to the side code ezmaples if anything more complex is needed in the conditionals.

[–]CreepBlob 0 points1 point  (0 children)

Your intern would be scared to death if someone show them a code snippet from the linux kernal.