4 ms·
My favourite: Megamoth. Stands for MEGA MOnolithic meTHod. Often contained inside a God Object, and usually stretches over two screens in height. Megamoths of
by donaq 16y ago
My favourite: Megamoth.
Stands for MEGA MOnolithic meTHod.
Often contained inside a God Object, and usually stretches over two screens in height.
Megamoths of greater size than 2k LOC have been sighted. Beware of the MEGAMOTH!
- silversmith 16y agoWhat's worst, these usually contain mission-critical code. I have had to tackle a 6k line one, in PL/SQL. You open up a package, the line count reads 6k. You shudder. Then, you notice that the structure tree has only one entry. One procedure. Feeling of absolute defeat sets in. Fortunately, it was only about 4k of actual LoC, because the previous developers had created a ghetto version control using comments. Still, it took me the better part of the day to find what I was looking for in it.
- forinti 16y agoI witnessed a 64KB java method once (compiled). Since 64KB is the limit for a method in a classfile, the programmer was always running into trouble with the compiler. Not very smart.