| bio | website | |
|---|---|---|
| location | ||
| age | 40 | |
| visits | member for | 1 year, 9 months |
| seen | May 7 at 15:37 | |
| stats | profile views | 16 |
|
Feb 1 |
comment |
How to Avoid Fragile Unit Tests? What you describe is an abuse of existing tools to implement a poor man's design by contract. Much of your code will be untested and hence buggy the day you write it. Learning to use proper tools has a huge benefit, either for unit testing or design by contract if you must. |
|
Aug 23 |
awarded | Peer Pressure |
|
Aug 20 |
awarded | Yearling |
|
Jun 12 |
comment |
Is it not a good practice to handle runtime exceptions in the code? The point here is, you can do something meaningful for an anticipated condition (user input not integer). Just swallowing NPE is bad style and will just cover up existing programming errors. |
|
Oct 16 |
comment |
Is it wrong or bad to use autocomplete? Of course the all other case is the norm. But the exceptions exist. |
|
Oct 15 |
answered | Is it wrong or bad to use autocomplete? |
|
Oct 15 |
comment |
Do exceptions basically exist to prevent a system from crashing? Yes it's much better now. |
|
Oct 14 |
answered | Do exceptions basically exist to prevent a system from crashing? |
|
Oct 14 |
comment |
Do exceptions basically exist to prevent a system from crashing? I disagree, this definition is too limited. Only a subset of exceptions should ever be displayed to the user. Exceptions are for error handling, and giving up and informing the user is the last step taken usually, and shouldn't be the norm. Some systems are designed to use exceptions for some kinds of flow control too, like end of iterable, EOF, etc. |
|
Oct 7 |
awarded | Supporter |
|
Sep 28 |
comment |
Do the young minds need to learn the pointer concepts? Todays mobile apps have more memory available than some data centers C was conceived on. Many mobile apps are written in Java, or outright html+javascript, all without pointers (the do have REFERENCES). Only a tiny fraction of very specialized programmers ever get to see the underlying OS layers. |
|
Sep 5 |
answered | Do the young minds need to learn the pointer concepts? |
|
Sep 1 |
answered | What is the most compatible, widely used production language to export knowledge and skills gained from Haskell? |
|
Aug 22 |
awarded | Teacher |
|
Aug 22 |
answered | How to explain that it's hard to estimate the time required for a bigger software project? |