|
|
|
|
|
by sytelus
2760 days ago
|
|
Same sentiment here. Many of GSG constraints are good and others are purely because of legacy code at Google. So don't take GSG as religion and implement it to the letter ask why this constraint is proposed and does it apply to my code? > GSG forbids exceptions on the ground of “Google’s existing code is not exception-tolerant”. Unless you are doing embedded software, you should use exceptions. I have tried this "modern" trend of returning instead of raising a few times and I'm not convinced at all its less bloated or less error prone way of doing things. |
|