The Pragmatic Craftsman :: Simplicity from complexity ::

Better Object Oriented …

I have around 6 years of development experience. I have worked for several companies now. I can tell you one thing: a lot of developers don’t know how to write object oriented code. They write Java and they assume they write objects. But those are not objects; they’re more like data structures. Objects are not data structures, objects have to have a clear responsibility, a clear purpose. Object should do one thing and do it well.

Anyway, I am going to put my thoughts on object oriented systems here in this category. My thoughts, learning experiences, etc. Hey, I learn as I gain experience. I’m not perfect and I don’t want to be. But there are some principles that I have already learned that work for me. One thing I’m sure: writing objects is hard, very hard. It takes real effort and dedication. It takes years of experience to do it well. But modifying a nicely structured object-oriented system is a joy. It’s fun. I like to program, but it has to be fun. “Hacking” might be fun, but it is fun in only one direction: it’s not fun when you have to modify it and undo your “hack.” :-)

Comments are closed.

Random Quote

Topics

Tags

Archive

Recent Entries

Currently Reading

Shelfari: Book reviews on your book blog

:: The Pragmatic Craftsman recommends

:: The Pragmatic Craftsman book reviews

Info

© 2001-2010 Stanley Kubasek About me :: Contact me

@PragCraftsman on Twitter

@johanvos How can I see Mr. Gosling's code? I'd like to take a peek. - 1 day agoConfiguring Google AppEngine to run JSF is a pain. Following instructions from http://bit.ly/9DB18a #gae #jsf - 1 day agoJoel Spolski quit blogging. Interesting story: http://bit.ly/dk8Wth He helped me a lot initially, not so much lately. - 4 days agojavapassion.com courses will now be subscription based. :-( Might be a great way for keeping my Java skills up date and worth $89/year. - 4 days agoOne issue I have with working on JPA in NetBeans (which is great) is that it ties you to the IDE. I like to create projects IDE independent. - 4 days ago