| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 9 months |
| seen | May 15 at 20:52 | |
| stats | profile views | 1 |
|
May 9 |
comment |
Why is there no 'finally' construct in C++? Another alternative to "Why finally when you have RAII?" could be -
Even if the class/type you are (forced into) using does not have a destructor (e.g., FILE *), and even in scenario of calling other code that can throw exceptions, one can, by following a strict SESE regimen, ensure proper clean-up of acquired resources. |
|
Mar 12 |
comment |
Can commented-out code be valuable documentation? I would pass boutiqueDao as inputs to create and update. |
|
Mar 12 |
comment |
Can commented-out code be valuable documentation? Besides the commented line that was "highlighted" by the OP as a difference between the code in the if and else blocks, here is a +1 to the first person who noticed that there was also the crucial difference of merge versus persist |
|
Aug 6 |
comment |
Unwritten rules of rewriting another team member's code @MatthewFlynn -- Great article. The phrase "Big Ball of Mud" appeared so many times, it felt like a deja vu experience of Allan Iverson's "Practice" (youtube.com/watch?v=eGDBR2L5kzI). ;-) |