Best practices

Review: Mythical Man-Month

Mythical Man-Month, The: Essays on Software Engineering, Anniversary Edition was always a bit of a mystery for me. I have heard people mention this book for years now, but until recently I have not had a chance to read it. I finally got myself to get a copy and after reading it I am as puzzled as I ever was :-)

Why are setters and getters bad for Object Oriented design

I have had this discussion like a dozen times already so I thought I could write it all down.

In many cases it is not that big deal. The problem is that people seem to be blind and ignore the fact that accessors can cause design issues. Its more about principles and overall rules. You wont get swine flu and die if you keep on using getters and setters. So don't panic! But your code may be cooler and more coherent if you stop for a minute and consider should they be there.

Syndicate content

About the author

Artur Ejsmont

Hi, my name is Artur Ejsmont,
welcome to my blog. I am a passionate software engineer living in Sydney and working for Yahoo!

Web Scalability for Startup Engineers

If you are into technology, you can order my book Web Scalability for Startup Engineers on Amazon. I would love to hear what are your thoughts so please feel free to drop me a line or leave a comment.

Follow my RSS