Modern Software Development Fun

There are two ways to develop software: the wrong way and the fun way.

Saturday, April 01, 2006

How to avoid over generalization

Signs of over generalization:
1) Most important standard: what your system can do with the generalized type? For an example: If you generalize Customer and Administrator to a type called Human, what your system can do with a Human type object? If there is very little, then you probably should remove the Human type to simplify your system.
2) The generalized type itself has little work. What code you can put in the Human type?
0 -
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)
Unknown
View my complete profile

Search This Blog

Labels

Agile development Amazon EC2 Android Angular AngularJS app market asynchronous backbone browser browsing chrome chromedriver client-side MV* code quality Coffeescript community driven CSRF Debugging design DevOp Dynamic Typed event driven extreme extreme programming Flickr functional Functional Programming functional testing functional tests Google honeycomb IDE Inheritance internet iPad iPad2 Javascript jQuery JSON library LightMeter node OO Design open source pair programming pair switch Performance Photography Photography Assistant platform Play Play Framework productivity promise QA Rails readability RSpec ruby RubyMine sbt Scala security selenium software development methodology Software Engineering Static Typed tdd testing tools Type unit test Unit Testing web development xoom
Powered by Blogger.