284 points · by BerislavLopac · 2y ago · 117 comments
I can't say that I practice all or most of these habits, but the points about "calling your shots" and "concrete hypotheses" resonate. For example, when I add a debugging printf/log, I always ask myself, "will this output invalidate one or more hypotheses?" If not, then I need to rethink the problem.
The flow of 80/15/5 is what true seniority looks like in my opinion.
Do a lot of the heavy lifting on a goal, explore valuable (and sometimes promising but with a stretch) avenues around that goal and then be able to document and articulate in a way that another person can grow into it while you venture forth into the next challenge.
I will never accomplish perfection in coding. Much higher satisfaction in discovery and collaboration.
Come on, I know I'm about to hit 40, but slang can't be evolving that fast! How am I supposed to be keeping up with all the kids?
https://www.artofmanliness.com/character/knowledge-of-men/th...
Recommended: https://press.princeton.edu/books/paperback/9780691147437/cl...
At the time of these writing, only one comment was dead, and it was rude and content-free. The rest of its tree was arguing about Beck in general rather than the article, so everything’s working as intended IMO.
Programming advice from him and his cohorts (Ron Jeffries and Martin Fowler) should be regarded with several large grains of salt.
That said, the Wikipedia page neither supports nor refutes your assertion, and Fowler himself discusses C3’s failure here: https://martinfowler.com/bliki/C3.html
Fowler refers to notes that don’t seem to be in the Wikipedia entry any more: “In particular the entry in Wikipedia is misleading and incomplete, much of its comments seem to be based on a paper from a determined XP critic whose sources are unclear. Certainly its comments on performance are a misleading interpretation of material in my Refactoring book.”
Do you have any other links to this project? The fact that it went live and then reverted to the COBOL version is interesting.
I believe the characterization of C3 as a "failure" is because it wasn't able to deliver the goal (goal was paying 87000 people – it only reached about 9000), and was later discontinued for multiple reasons (some unrelated, like people leaving, the merger with Daimler). The claim that "XP was banned" there seems overblown, it seems it's just that "people at DaimlerChrysler stopped taking terms like Smalltalk, OOP and XP" (per link above).
To then use such a failure as a marquee project demonstrating the supposed "superiority" of XP is unabashed chutzpah.
Now, large IT projects generally fail. So, XP is not wholly to blame.
However, the proponents of XP pushed it as superior silver bullet to navigate both the political and technical waters of software projects. The fact that C3 was such a spectacular failure simply demonstrates that XP really wasn't any different than any other methodology being pushed by people with an agenda.
Unfortunately, all parties involved in the C3 project would rather that it be forgotten. As such, it seems that it is going down the memory hole even faster than most Internet things. :(
> So, I'm curious - does this represent a failure of XP? -- AnonymousCoward
> Sensitivity, certainly. But if the people who tell you what to do don't agree with the people who evaluate what you are doing, you're stuffed, XP or no XP. -- KentBeck
http://wiki.c2.com/?CthreeProjectTerminated
Between this and the Wikipedia article, it's not clear to me that the project failed due to XP practices.
Yet all these years later, the principles of OOP, and the companies built on them, outlived the politics that tried to squash them in the 90s.
Back then, OOP originally solved a very real problem--optimizing memory usage of bunches of objects that have mostly common behavior with just a few tweaks different from one another. It did pretty well at that at the expense of introducing some extraneous coupling and complexity.
And then memory got big and disk became SSD.
Now, programmers would rather burn extra memory, avoid pointer chasing (expensive on modern microprocessors), and ditch the extraneous coupling that introduces unnecessary complexity.
As it turns out, in many complex domains, you ARE going to need it, so you should factor that into your design sooner rather than later.
This is also why many consulting lead projects fail, because the developers do not understand the complexities of the domain.
Not everything is a CRUD website.
That's not to say the other 80% of requests should be ignored. But instead well documented and groomed in a backlog.
Fowler means it literally. He had examples published on Artima.com years ago where he gives examples of hard coding things left and right and adding better support “only when you absolutely need it”.
To be clear I am not arguing for big design up front. I am arguing to keep an eyeball on your roadmap, and that is not only OK to anticipate the future but maybe do some small amount of work to make the future work easier.
The fallacy of “You Ain’t Gonna Need It” is that you so very often do, and the developers down the road are cursing out the devs who ignored the future.
YAGNI creates problems.
I don't get what the author means by this. Anyone wants to elaborate?
You do not further increase the complexity of this function by having one or two variables in the front, several if-elses in the middle not to mention a couple gotos.
You take these special cases and the most relevant logic away into yet another function, document it and hence ensure the changes to that 'special logic' do not mess up with the rest of that feature.
https://www.oreilly.com/library/view/tidy-first/978109815123...
Previous discussion:
How I came to write “Tidy First?” tl;dr it took 18 years
https://news.ycombinator.com/item?id=35246995
Tidy First?
and
For A new, non-expert, these suggestions might be too generic, too high level, broad. They wont grasp the point.
I might be, being miss-interpreted as dismissing this article.
They are definitely good points, and doesn't hurt to read them.
I think all the points are valid.
Maybe I was just contemplating how experts sometimes 'summarize' their knowledge, condense it, but in the process of trying to be succinct, becomes itself un-fathomable, generic.
Someone with a similar level of experience to the author may well have the right foundations to draw on such that a condensed expression of an idea resonates well. Others may only get a "seed pearl" to help shape how they view their past and future experiences. And some might be able to recognise that there is wisdom there, but not be able to relate it to their own understanding at all.
Without any relevant experience, it's just words devoid of much meaning.
As someone who is not an expert but tries to gain wisdom from past experiences, it helps me to see where my intuitions might have been right or wrong, even if I may not get the point right away.