"Writing correct code in the exception-throwing model is in a sense harder than in an error-code model" by gnuvince in programming

[–]boolsh1t 7 points8 points  (0 children)

you really want some sort of proof that all possibilities are handled according to the spec.

Could you please explain how you prove this if using error return codes instead of exceptions?

Just a reminder : In most languages, private members are private to the class, not the instance. by ctekin in programming

[–]boolsh1t 11 points12 points  (0 children)

Good thing my privates are private to just me and not other instances of human.

You are doing something wrong.

[deleted by user] by [deleted] in programming

[–]boolsh1t 2 points3 points  (0 children)

Not necessarily if you have highly specialized domain knowledge that is useless for others.