untitled talk at riviera.rb

Download Untitled talk at Riviera.rb

If you can't read please download the document

Upload: jean-baptiste-mazon

Post on 01-Jul-2015

96 views

Category:

Entertainment & Humor


3 download

DESCRIPTION

This surprise talk was given on 2014-06-03 at Riviera.rb. The slides are really just up for reference: unless you're a sociopathic genius with an uncanny cultural fit, you're really not going to understand much without the speech.

TRANSCRIPT

  • 1. riviera.rbThis Talk Has No TitleYetJean-Baptiste Mazon@jbmazon

2. May contain trace amounts of ruby (twitter request) beer Java 8 one or two otherobscure languages no livecoding 3. GoF abstract factory builder factory method prototype singleton adapter bridge composite decorator facade flyweight proxy chain of responsibility command interpreter iterator mediator memento observer state strategy template method visitor 4. Multiton 5. Multiton 6. RAII 7. RAII Resource Acquisition Is Initialization C++ Perl, Python, PHP CADR 8. Speaking of Lisp 9. Norvig abstract factory builder factory method prototype singleton adapter bridge composite decorator facade flyweight proxy chain of responsibility command interpreter iterator mediator memento observer state strategy template method visitor 10. Wired master/slave CSMA/CD token ring sneakernet 11. Locking acquire release read-write lock deadlock spinlock 12. Antipatterns race hazard input kludge busy waiting magic numbers magic strings action at a distance error hiding magic pushbutton hard code soft code database-as-IPC programming bypermutation copy and pasteprogramming cargo cult programming 13. Cargo Cult 14. Error HidingbeginImportFile(filename)rescueraise SomeException, 'importfailed'end 15. Modeling anemic domain model BaseBean circle-ellipse god class, god object 16. Design 17. Design spaghetti code ravioli code lasagna code big ball of mud inner-platform effect tester driven development 18. Maintenance circular dependency dependency hell DLL hell JAR hell boat anchor 19. A few others gold plating golden hammer silver bullet not invented here invented here premature optimization repeating yourself reinventing thesquare wheel abstraction inversion pattern abuse and overuse 20. Consider this simple code[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.---.+++++++..+++. 21. Simplifyingdef hputs'HELLO'endhhhh 22. A last one 23. Thank you!