My first job out of college, my boss and I took over some code that was written by two genius PhDs (one math, one physics - we were working in finance.) I noticed a variable (long word starting with z) used in a lot of places. Turns out it was the German word for "counter". It was my first hint that most of the backend codebase was written as a competition between the two of them to seem the smartest. On the front-en…
How to write unmantainable code (2015)
31–40 of 87 posts
Re: How to write unmantainable code (2015)
#32Re: How to write unmantainable code (2015)
#33My first job out of college, my boss and I took over some code that was written by two genius PhDs (one math, one physics - we were working in finance.) I noticed a variable (long word starting with z) used in a lot of places. Turns out it was the German word for "counter". It was my first hint that most of the backend codebase was written as a competition between the two of them to seem the smartest. On the front-en…
Re: How to write unmantainable code (2015)
#34So I would say: find the most obscure place you can deploy code, and make sure it is not testable.
Re: How to write unmantainable code (2015)
#35My favorite is when the codebase is so deeply buried in macros and headers that send you on a wild goose chase to find any actual code that it becomes much easier to just dump the binary in ida/binja. The source code can lie but at least the compiled binary directly does what it says
Re: How to write unmantainable code (2015)
#36Heh. The author forgot the most important one: Use micro-services! The more the better! And write each micro-service using a different programming language and build system. Make sure the protocols are not documented. And that the micro-services are called p376, f190 etc. Make sure that some micro-services need to access a specific server setup to build!
Re: How to write unmantainable code (2015)
#37That’s a name I’ve not heard in a long time…
Re: How to write unmantainable code (2015)
#38Re: How to write unmantainable code (2015)
#39Re: How to write unmantainable code (2015)
#40My first job out of college, my boss and I took over some code that was written by two genius PhDs (one math, one physics - we were working in finance.) I noticed a variable (long word starting with z) used in a lot of places. Turns out it was the German word for "counter". It was my first hint that most of the backend codebase was written as a competition between the two of them to seem the smartest. On the front-en…