Hacker News new | ask | show | jobs
by hermitdev 3551 days ago
> The legal system is worse than the shittiest legacy code base you have ever seen

You haven't seen the legacy code I have. One of the apps I worked on was modelling financial legal agreements. That was some truly shitty code. One function was over 50 printed pages with indentation levels I can't even begin to describe. It was also C++ written like Java. Tons of new's - no deletes or use of smart pointers. Leaked memory like you would not believe. Thankfully it was a batch-process. Even then, the server it ran on was allocated more that 128 GB of RAM because the hardware was cheaper than fixing the software.

3 comments

Process termination has always been the cheapest way to do GC :-)
It is one of the rare case where I would try to use the Boehm GC.
Dear god... these things exist?! And are used regularly!?