Hacker News new | ask | show | jobs
by avinoth 2116 days ago
One other excellent way to throw off the maintenance developer is to define & use LOTS of dynamic methods in obfuscated locations.

Step up your game by defining those methods from a DB entry.

(I wish I was making this sinister plan up for satirical purposes)

1 comments

Well of course you should define the methods in DB entry, that way they can be changed as needed as business needs change. Seeing as nobody is going to be touching the absolutely sacrosanct source code, putting functions in the DB and reading them into the code base during compile and/or hot-reload is really the only reasonable way.