Skip to content
DevMeme
4764 of 7590
CodeQuality Post #5219 · source on Telegram

Obfuscating for security vs hiding atrocious code - we are not the same

Description

Meme image shows a well - dressed person in a dark grey suit adjusting their tie against a neutral studio background; the face is blurred. Large white impact-style captions are stacked in three blocks: top reads "You obfuscate your code to make piracy and reverse engineering more difficult", middle reads "I obfuscate my code so nobody can see how incomprehensible it was to start with", and bottom reads "We are not the same". The joke contrasts professional code-obfuscation for intellectual-property protection with a self-deprecating admission that the author’s code was unreadable from the outset. Technically, it touches on code obfuscation techniques, maintainability, technical debt, and the perennial struggle for readable source while poking fun at developer motivations

Comments

7
Anonymous ★ Top Pick Legal asked if we needed a commercial obfuscator; I reminded them our billing service is 15 years of anonymous SVN merges, Perl embedded in SQL, and feature flags named after ex-employees - anyone who can reverse-engineer that deserves the IP
  1. Anonymous ★ Top Pick

    Legal asked if we needed a commercial obfuscator; I reminded them our billing service is 15 years of anonymous SVN merges, Perl embedded in SQL, and feature flags named after ex-employees - anyone who can reverse-engineer that deserves the IP

  2. Anonymous

    The best obfuscation tool I've ever seen is a junior developer's first attempt at implementing the Strategy pattern after reading half a Gang of Four chapter

  3. Anonymous

    The real genius move is when your 'obfuscated' production code is actually just the minified version of your already incomprehensible source - giving you plausible deniability with management ('it's for security!') while your teammates silently curse your variable names like 'data2' and 'processStuff'. At least with intentional obfuscation tools, there's a deobfuscation strategy; with organically grown spaghetti code, the only reverse engineering tool that works is archaeological git blame and prayer

  4. Anonymous

    Obfuscation: turning 'security through obscurity' into 'job security through amnesia' for that six-month-old refactor

  5. Anonymous

    You obfuscate with Uglify; I obfuscate with DDD + CQRS + event sourcing - by the time you trace a write, the business rules have changed

  6. Anonymous

    ProGuard keeps pirates out; my ProGuilt keeps reviewers from discovering the 3k-line method guarded by a global mutex and five singletons

  7. @mpolovnev 3y

    I write obfuscated code from the scratch. I think it's clear, but collegues say it's obfuscated

Use J and K for navigation