Download presentation
Presentation is loading. Please wait.
Published byJerome Stevens Modified over 9 years ago
1
Or, “In search of the lazy programmer”
2
A slide with a fancy title (and #)counts Except this one Ask questions at any time Rules
3
Started with Progress v3 1987 Dot R created 1991 Acquired 1996 MBO 2012 #1 Dot R and Me
4
New methodology Unit tests Separate Model from DB #2 A new way
5
Wanted modern, clean code Dynamic Code ! Yay! Separate Model from DB #3 A new way
6
Single base class All crud handled for any table Weekend of hard work Several beers in celebration #4 Success!
7
Need to add extra functionality (lookup etc) Explain methodology to other devs Use methodology in other systems Let’s fire it up and see ! #5 Time for change
8
Horrible code Dynamic everything. Arrgggh. Should be xxx rated Document it. That will sort it out #6 Failure !
9
“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it” Brian Kernighan
10
Why this way ? Showing off how clever I was… Keep my job ;) However, it’s wrong wrong wrong #7 On Reflection
11
Needed lots of samey code I didn’t want to write the code (#1 lazy programmer) So, get the computer to do it #8 Code Generation
12
Consistency Predictable: No surprises Understandable Faster than you are #9 Code Generation
13
Maia uses templates ActiveRecord framework Roll your own Easy and productive #10 Summary
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.