5 ms·
note to self: stay the fuck away from the Polish social insurance administration domain.
by yabai_yatsu 6y ago
note to self: stay the fuck away from the Polish social insurance administration domain.
- lmilcin 6y agoI opened a file with C code. I expected you know, the regular stuff, includes, functions, etc. Instead the first line was already a statement, followed by 5k lines of statements. There was a huge function that had to be split in no less than three separate files and then pulled in with #include directly into function body. These were #included in multiple other places, for greater obfuscation effect. I opened another file (this time .NET), still same application, though... I jumped with my editor into middle of roughly 25k LoC of code... to be faced with empty screen. A bit surprised, I started dragging the scroll bar and then suddenly the code started showing on the right side of the screen... There was a span of roughly 15k LoC that was indented so much it was off the screen.
- DangitBobby 6y agoAny chance this was machine generated?
- ThePadawan 6y agoWell, whatever the case, it was generated by tools.
- lmilcin 6y agoNo, it was not machine generated, at least not in conventional sense. This was written by team of drone developers from specification written by a team of drone analysts.
- stormdennis 6y agoScrolling out into the expanse like that showed you have the mind of an explorer. And you were rewarded by discovering code never before seen by civilised man.
- lmilcin 6y agoThe IDE that took part in writing that code was too ashamed of it and indented it out of the right side of the screen so it never again has to render these appalling statements.
- lucraft 6y agoI would LOVE to work on this code. Of course not for a boss who wants features yesterday - just to be left alone to refactor it slowly and make it beautiful. Like those people who will unravel tangles of thread into neat balls for free and mail it back if you send it to them.