OO is Irrelevant! 49
This got me to thinking because the SOLID principles are not about writing OO software. What follows is my original response, but it seemed to warrant a blog entry.One can comment critically on the “Employee” class example, though. Frankly, it IS bureaucratic. So either it’s a bad example and you have mispresented your principles, or Joel is right.
Since no one has the authority to define OO, I’ll even venture to say that “Employee” is not OO.
Something being OO or not OO is irrelevant. The original point of OO was an experiment in adding a new kind of scope to see what happens (go back to mid to late 60’s). Then it was to make it easier for kids to program (I’m thinking of Ala Kay and Smalltalk in the very early 70’s). Eventually it was to make more maintainable code.
Ultimately, doing X to get Y often promotes X as the original goal. We do OO to make maintainable code so we can deliver faster and respond to change. This eventually becomes we do OO and not doing is OO is bad.
Same can be said for agile, TDD, scrum, XP, pretty much anything …
There was another “worthy” comment from another poster:There is no executive summary that explains the SOLID principles well enough that you can comment on them critically.
The SOLID principles are about a goal. That goal is understanding what makes code better or harder to maintain. They come from several people. Bob wrote some of them, he collected others and he’s got even more (component coupling and cohesion principles, e.g. Reuse/Release Equivalence Principle). He experienced pain developing large systems in many languages including C and C++. These principles are meant to make our life easier, not to develop OO software. They do suggest using tools available in OO to enable building better software (e.g., the OCP and polymorphism – not just method overloading but selecting a method from message based on type of the receiver done by class-based OO languages, arguably the manifestation of polymorphism in prototype-based languages like JavaScript and self, are different mechanisms to accomplish the same effect).
If code is hard to work with, the SOLID principles are one way to identify problems. Using Martin’s code smells is another. You can go back to good old coupling and cohesion, code analysis tools, etc.
In the end, suggesting that OO is a goal is equivalent to creating UML diagrams because “the process” says so. It is a form of cargo culting. It just furthers the point that critiquing based on an executive summary is a problem.
One might argue that because something is hard to understand, therefore it is of little use. I have two responses to this:- I don’t think they are hard. They do take effort and lots of experience to really internalize, but most things worth learning are like that.
- An effective practitioner of any complex profession eventually has internalized thousands and thousands of rules, guidelines and principles such that s/he just “sees” (or in Fowler’s case “smells”) problems not seen by the novice. The SOLID principles are a mix of beginning, intermediate and ancillary rules that fit into the toolbox of effective practitioners.
Let the flames continue!
I hadn’t ever connected it with OO before but I’ve long felt that the important take away from any Agile methodology wasn’t the principles and cute one liners but the problems that the principles are intended to address. Whether you like the idea of onsite customer or not, it’s hard to argue that you’re better off if the customer and the technical team can’t talk to one another in some way.
Every critique i’ve read of XP has focused on “Principle X doesn’t work so lets do what we’ve always done but do it better” and (to me) thats not the point. The point is that there is a fundamental disconnect between process and reality and the old ways are never going to work unless we address that disconnect.
Which just leaves me with one thought. If OO and XP/Agile are related in that they’re focused on to the detriment of the problems they’re attempting to fix, does this mean we should preparing for a flood of technologies “that support” XP and Agile , talks and courses about the XP/Agile “paradigm” and are we ready to laugh at them like we maybe should have laughed at the cultists all those many years ago.
Jon,
I don’t think that …The people who gave us OO, XP, Agile, Scrum, ... understood that the practices and done for a reason. They were not focused to the detriment of their what they were trying to do. They had success, they described it and why the practices were important.
Unfortunately, I think it is a human trait to replace doing X for Y with doing X because X is good.
It goes something like this:In fact, this mistake is actually the error of implication.
If x implies y (x -> y), and X is (use OO) and y is (because it improves maintainability). Given x implies y, we cannot say anything about !x. Doing so is the error of implication. A classical logical problem taught in discrete mathematics.
So not doing OO does not necessarily lead to non-maintainable code.
Unfortunately, someone learns about OO, likes it, forgets the reasons and then they’ve drunk the cool aid. At that point, they don’t know why they are doing OO, just that it is good. And here’s what happens:Again, I think this is human nature. I don’t think it has anything to do with OO, Scrum, Agile, XP, ... I think it has to do with the fact that most people do not have mad abstraction skills.
This kind of argument (do X because X is good) is zealotry.
My meta-process is “do what seems to make sense.”
For example, if I’m in an organization and they follow UP and use UML, then unless they paid me to teach them XP, I should learn to work first in their way, find inefficiencies, point them out and gradually migrate them to more efficient behaviors.
So while my preference is not not follow the UP, I’ll do if the context suggests it. I can say the same thing about pair programming, tdd, etc.
I’d prefer to practice tdd with pair partners, and if I can get it great! If not, can I still make a positive impact? If so great, if not, time to move on.
When I teach a TDD class, I suggest to the students to pair program. However, I don’t force it on them. I tell them that they will probably learn more and move faster, but it is their choice. I do make it clear, however, that if everybody works alone, then the class as a whole will probably move slower since I have effectively twice the number of possible problems that can happen when they do not pair.
Brett, good article!
Absolutely. I didn’t intend to imply otherwise. I’d lay odds that if you look back at the publications of the people who gave us OO you’d see the same. It’s not the primogenitors who become cultists. The Kool Aid drinkers that I worry for are the next generation of programmers who “grow up” learning that !x is bad without absorbing why.
Tamara Mellon for this brand by a master hand with East London shoemakerjimmy choo was founded in 1996. Tamara aware of the practical fashion footwear market needs, is therefore logical to introduce this stylish footwear product line. Jimmy Choo shop Knightsbridge in London first opened its first stores that, with fun and full of beautiful and “sexy just right” design, soon to become well recognized creative footwear. In 1998, jimmy choo shoes was opened its first New York branch, then in 1999 opened its second store in Los Angeles. Brand fame, popular young Hollywood family, a red carpet on the best choice, and even jumped for the Oscar winner Halle Berry and Hilary Swank so lucky star mark. These jimmy choo handbags, jimmy choo pumps, jimmy choo sandals, jimmy choo boots have really revolutionized footwear that you should be glad to add to your collection – chick, cool and functional. You could not ask for more and it’s well worth the money you spent on them.
It is my favorite patter name (not favorite pattern, just name).
Thanks for your share. If you have any news about iphone 4 white plz tell us, i will be really appreciate.
thanks for Moncler Jackets || Christian louboutin UK || Moncler coats || Christian louboutin shoes || Christian louboutin pumps your post!
Follow the detail tips below, you can increase the laptop battery life of a year or more.
Would you like to banckup iphone SMS to mac, macBook, macbookPro as .txt files? Now a software iphone SMS to Mac Backup can help you to realize it.
iPad ePub Transfer for Mac is a Professional transfer that can transfer the ePub books onto your iPad on Mac and export the iPad ePub to Mac local folder.
Mac is a Professional transfer that can transfer the ePub books onto your iPad on Mac and export the iPad ePub to Mac local folder.
Belstaff jackets, Belstaff clothing, Belstaff sale, Belstaff online-free shipping! Our company Supply Discount belstaff jacket,belstaff cloting,cheap belstaff jacket sale ,High Quality,But Cheap Pice!50-60% Off,Worldwide Free Shipping.Buy Cheap belstaff Online
hni
Thanks for your share. If you have any
great work.
internette görüntülü olarak okey oyunu oyna, gerçek kisilerle tanis, turnuva heyecanini yasa.
This solo hd of headset timbre and its appearance style are very alike—again, very thin. beats solo hd voice very open seem a bit too thin, Fabulous Monster Limited Edition GOLD low frequency partial hard, descend not beautiful but speed feeling good. discount solo hd hf performance is good, accurate and not mellow, intermediate frequency performance is regular. Overall Classic Monster Powered Isolatio black voice more features, more suitable for listening to electronic music or part of the pop.
I still Dont Undertand about statement
OO is Irrelevant
Can u be more specific ?
Numerous celebrities are the super fans of buy Christian Louboutin Terracotta Suede Very Prive Platform .Fashion Christian Louboutin Rolando Hidden-Platform Pumps Metallic gives beautiful lovely women a perfect show and looked more sexy with mature.Here you can Save your chance to buy discount but authentic quality of Christian Louboutin Leather Pigalle Snake Pumps Beige! Show your good taste and special personality with a pair of Christian Louboutin Women’s Nylon Fabric Peep-toe Pumps and join our Christian Louboutin club to become a fashion icon.
cartier engagement ring past styles
http://www.nicejewelryworld.com/Cartier-Necklaces_100_1.htm
UGGS Australia Classic Tall boot is one of our brand’s heritage styles
When it comes to feather dress, what appears in your mind? Which kind brand of down jacket do you like prefer? Though there are many down jackets for you to choose from, on the word, which one you really enjoy? I want to say that canada goose coats is really your best choice. I believe you can’t agree with me any more. When you take the quality into consideration, you will find that it is superior to any other kind of coat. Besides, discount canada goose jackets is a world well-known brand, which has gained high reputation in the world, which has accepted by our customers and some organization. Because of its high quality, some of our loyal customers have promoted it to the people around them. In their opinion, it is good to informing others to know it. Recently, Canada Goose Trillium Parka is on hot sale. What I have to inform you is that all the products there are made by hand, so they are elaborative and elegant enough. It is really beautiful once you dress in. So, if you are a lovely girl or woman, go to the store to buy one for you. You will appreciate it that you have such a coat.In addition, they also have any other products like canada goose Gloves and canada goose jacket supplier.Hope your will like its!
I was after browsing by making use of an on ugg boots outlet clearance collection purchasing list and I found out this on collection underwear store that carried one of the most delightful, ribbons Ultra Tall UGG Boots Saleteddy lingerie. Unfortunately, the “people that be” in the purchasing list failed to mention the fact that women’s outfits store I purchased the underwear from was in actuality dependent from the U.S. and ugg classic mini boots sale never in Australia as I initially supposed.The first time I knew about it experienced been when my demand card costs arrived and I saw the charge. The teddy I purchased cost me extra than i experienced been ready to spend credited toward the ugg classic mini boots disparity in between USD and AUD along using the currency conversion demand from my exclusive demand card company. Furthermore, I really experienced to wait ugg classic mini boots chestnut around 10 times preceding to I obtained the underwear which i ordered.In some cases, indeed, on collection stores which could be practically in Australia (read: stores that ugg classic mini boots black dispatch to Australia) are just not as good as stores which could be really in Australia.
HermesHandbags
La prima centrale nucleare Gucci Scarpe di
Fukushima in pericolo persiste, se ci fermiamo il raffreddamento ad acqua, barre di
combustibile si scioglierebbe in 38 ore, con conseguente fuoriuscita di sostanze
radioattive. Tokyo Electric Power Company è il primo impianto
href=”http://www.guccihandbags-it.com/”>Gucci Borse
nucleare di operatori, Fukushima,Giappone, terremoto nel marzo di quest’anno, è stato con i danni d’acqua, per il
raffreddamento dei reattori nucleari. Est 1 Potenza che è stata barre di combustibile
precedentemente sciolto in fondo la coagulazione reattore pressione, ma se l’acqua
href=”http://www.guccihandbags-it.com/”>Gucci uomo
si ferma, asta di temperatura delcarburante salirà a 50 gradi Celsius ogni ora, 38 ore dopo il punto di fusione di 2200 gradi
Celsius. Questo permetterà un gran numero di perdite dei reattori di sostanze radioattive,
la centrale nucleare che circonda i livelli di radiazione superare i 10 mSv, di ordinare
href=”http://www.guccihandbags-it.com/”>Gucci 2011
l’evacuazione dello standard.Owning situated your getting customer for the product, it expenses practically Jordan Air Max Fusion completely nothing to provide one more comparable associated issue merchandise to an present customer bottom that previously trusts and values that Air Max Fusion which you offer.It is obligatory to create a massive opt-in list. guys and ladies will volunteer their e-mail tackle once they worth receiving that cost-free substance or details you are offering. This demands Cheap Jordan Air Max Fusion thought getting headlines that solve troubles or solution questions. Most guys and ladies will hold on to Air Jordan Retro Shoes purchase from you from the long-term granted that their genuine mental need is certainly not extinguished by something they do. It just keeps renewing by itself endlessly. Your opt-in report is your most significant Air Jordan Retro Shoes for Sale asset.JOINT VENTURES EXPAND YOUR report ACCESSSome for the substance bundled from the Joint probability consists of a discussion Jordan Airmax Fusion about proving your product, help or details competencies a need preceding to approaching a worthwhile internet marketer to reveal their report with you and yours with them.
UGG Classic Patent Paisley 5852 , in der Nahe der Hauptstadt und Florenz finden Sie auch andere Orte, eine hervorragende Küche Orte-, Unterhaltungs-sowie Einkaufsmöglichkeiten options.If Sie befinden sich in Italien auf einen romantischen Urlaub vor Ort dann in Venedig ist ein perfekter Ort, dass Sie visit.Besides, Italien ist auch bekannt wegen seiner herrlichen Panorama, Tierwelt, Nationalparks in den Abruzzen und Friaul-Julisch Giulia.Easy Verfügbarkeit billiger Ausflüge nach Malta und großer Kauf Flüge on-line gelegen ist Italien ein idealer Ort, zu jeder Zeit von 12 months.Related Inhalt Artikel entdecken – Billig Urlaub, so dass Sie E-Mail-Italien, Italien Urlaub, Ferien in Malta, Italien Urlaubsreisen, Italien Paket Exkursionen, können diesen Artikel mit einer Person! Erhalten Sie Artikel wie diesen direkt für Ihre E-Mail-Container! Abonnieren Sie noch heute kostenlos!.
slippers is the good bet Bailey Button Bomber Boot for you. Women and Girls are passionate about style, comfort and
51.html”>Chaussures UGG
luxuriousness.rming up is the news of the effectiveness of NBA players overseas. It seems that very few
Christopher Parr, Pursuitist belstaff CEO & EIC, is included on this great list, which also includes Luis Fernandez, Timo Weiland, Michael Macko, James Andrew and Ryan Cook. The bloggers, designers and ?? luxury marketing gurus showcased on the list share their favorite fashion brands and style advice. Parr, our very own EIC, shares his go-to style staples — which ??????? includes J.Crew, Louis Vuitton, Burberry, Belstaff, TAG Heuer, Cole Haan — adding“When traveling, I grab my Belstaff jacket and go with a belstaff jacket Barbour bag tossed over my shoulder — it’s stocked with my iPad 2, a few Cuban cigars and Johnnie Walker Black flask.”
I really enjoy reading yours as the postings are so simple to read and follow. Outstanding. Please keep it up. Thanks.’
I think it may be help all of you. I will be sure to come back. thanks for sharing. I certainly love reading all that is written on your website. This article truly impressed me. Its opportunity are so fantastic and working style so speedy.
ietnam holidays 2012 are being encouraged in the country’s central regions, as the province of Thua Thien – Hue plays host to thecheap nike lunars National Tourism Year 2012. Through a themeCheap nike lunar shoesof ‘Heritage Tourism’, the programme aims to increase both national and international visitors by Nike Lunar glide highlighting the rich cultural traditions of the area.
LF-The Barbour jackets outside is often found in http://www.barbourjackets-sales.biz/ ,. Real cotton, barbour jacket, one thinks of your part and you will rummage around for a quilted barbour jackets having those individuals wants. http://www.barbour-sale-uk.com .
LF-The Barbour jackets outside is often found in http://www.barbourjackets-sales.biz/ ,. Real cotton, barbour jacket, one thinks of your part and you will rummage around for a quilted barbour jackets having those individuals wants. http://www.barbour-sale-uk.com .
TS Converter TS File Converter is used as a professional ts video converter to convert ts files TS Converter for Mac is specially designed for mac users which can convert ts videos to various video and audio formats on mac
altogether of your pursue, being forced to correct their particular QB predicaments around free of charge agency or even the draft. I’m going to present you with not one but two organizations who will sit by until eventually Manning includes along with win over Wayne while waiting. From the American football conference, it’s the bets by dre Jets (I am stating the item given that Nov). New york city offers near to Extremely Bowl-level expertise,
which will leaves that outrageous. The particular Planes need to have a brand-new combination at extensive recipient to go with Chief Holmes, and they are generally bold plenty of in making this kind of deal come about.National football league.com’s Make fun of cheap beats Draft Fundamental.
HW-I love the jeans diesel 2012. Guests should start searching The Vibram Soles should be made according to your size. jeans diesel.There are many cheap diesel jeans uk, http://www.diesel-uk.org/, and you might just find just the perfect one for vibram bikila, available at a throwaway price. While buying a cheap levis jeans. karen millen outlet, though, fashionable dresses, make sure vibram five fingers on sale of the dress is comfortable for you, and that it is jeans diesel homme in any way, for then you won’t get your money’s worth, and vibram five fingers kso regret buying it in UK. http://www.vibramfive-fingers.biz/
Thanks for sharing this useful informaiton, I come to your site farily regularly, since I like your post very much.
Online mulberry outlet here offer various Mulberry handbag such as Alexa Mulberrry,Bayswater Mulberry,Mulberry Tote Bags,Mulberry Clutch Bags,Mulberry Satchel Bags,Mulberry Shoulder Bags,Mulberry Holdall Bags and mulberry Briefcase Bags for you. These Mulberry bags were known for the excellent quality and fashionable design,they must be satisfied to you.Besides,all bags on our online bag mulberry outlet are free shipping and available at cheap and great discout price,come to order them now.
his could be the shoe for you. For those who prefer better ground feel and less cushioning, you will not like this shoe.
der Besichtigung des Broadway-Musicals, Million Dollar Quartet, mein Onkel und ich waren über die Musik, die Johnny Cash von seinem Home-Theater-Anlagen schmetterte reden. Er erwähnte, Beats By Dr Dre Studio dass ein Teil der musikalischen Explosion des 20. Jahrhunderts kamen aus den neuen Technologien Tonaufnahme zur Verfügung. Ich fügte hinzu, dass es auch wegen der turbulenten kulturellen Veränderungen, das die Nation, wie es die Rolle der Führer der freien Welt nach dem Zweiten Weltkrieg angenommen. Er stimmte zu und sagte
Sports teams, alumni and fans from all over the world use the favorable by setting up their team except through the custom color, and put them in the team’s mark etching directly into the Christian louboutin lady daf.
good post
To play ball games sports athletes wear clothes. Generally includes the short sleeve and upper body and shorts. Material generally use has good ventilation hydrophobic cloth, will not affect the athletes’ physical activity, and it is not easy to produce static, light weight. Good shirt will help athletes improve results.
Welcome to the coast store, some suprise are waiting for you! coast dresses uk online store offers the newest and most fashionable coast dresses wedding for your selection. In our coast uk website, you can find a variety of coast dress at diverse styles and reasonable price. We offer such as coast maxi dress, evening dresses coast,coast bridesmaid dresses,coast satin dresses, coast work dress and so on. Buy the coast fashion now for fast and free shipping, best service is waiting for you!
YH-thinking wedding dress blog designers have to women vans the retail stores. have vida tube dress preparing for Fall & Winter 2010-2011 vans UK over two years, taking into account victory black coast dress economy, fantasies and aspirations of consumers.”The 2010 Color of the vans trainers is a beautiful tropical Turquoise, which victoriana dress coast been transported into fall as “Lagoon.” Turquoise is a vans the shoe that is flattering on most everyone, deep blues and greens uk-womendresses.com discount add a splash of extra color. Long thought to be vans shoes online store color of faith and truth inspired by water uk-womendresses the wedding reviews sky, Fall vans shoes men Winter 2010 colors are titled “Mosaic,” and include shift dresses colors of the universe, the cheap vans shoes personality.