際際滷

際際滷Share a Scribd company logo
Defense against the dark arts - fighting against magic in programming, hidden complexity and obscurity
Defense against the 
dark arts 
How to fight black magic and other nefarious 
practices
What is magic?
Arthur C. Clarke 
Any sufficiently advanced code is indistinguishable 
from magic. Or something to that effect.
Complexity/statement
Straight from google.com
Or this little gem
Ok, big gem
Obscurity/code block
Sample code
How do you call this and why?
Why is this bad?
The magic community frowns on 
your shenanigans
What is magical thinking?
Paradigm opacity
StackOverflow copy-pasta
Test your assumptions
Examples and paraphrasing
Heavy wizardry examples
Inheritance vs composition
Security practices
Security practices
Garbage collection
Garbage collection
Design patterns
Design patterns
Functional programming
To wrap it up
Magic is a part of our lives
Manage it, dont pretend it 
doesnt exist
Educate yourself
Educate others
Hang around the wizards
Q & A
Fill the feedback form
May you grow a long beard

More Related Content

Defense against the dark arts - fighting against magic in programming, hidden complexity and obscurity