HackerTrans
TopNewTrendsCommentsPastAskShowJobs

amag

no profile record

comments

amag
·il y a 2 ans·discuss
Well, people in offices need new shiny phones every year and new Teslas to get to the office after all...
amag
·il y a 9 ans·discuss
It looks like git-mediate does one more important thing; it checks that the conflict is actually solved. In my experience it's very easy to miss something when manually resolving a conflict and often the choices the merge tools give you are not the ones you want.
amag
·il y a 10 ans·discuss
The quake sources taught me many lessons on how to structure C code!
amag
·il y a 10 ans·discuss
> Most large C++ code bases are similar [...] outlaws exceptions

While I can understand the ideas behind it, exceptions do cause head aches, I find it really weird. Enforcing this means using a very limited part of the C++ standard library, e.g. no std::vector, std::map, etc, because all those can throw exceptions. If you say no to exceptions but yes to std::vector then you either need to write code that works in the presence of exceptions (which means you could just say yes to them) or you have shoved your head in the sand like an ostrich thinking if you can't see them they can't happen.