by trabant00 · 5y ago · 0 comments
This is very interesting to me, and applied to our entire lives, not just IT. I've started with the above opinion about 25 years ago. I was as sure as the author about it and I was similarly very outspoken about it. With time though I started noticing some problems with the theory/philosophy. I will fast forward and simplify not to make this very long:
- people notice a pattern: if problem X then solution Y
- the Y solution spreads in adoption
- problem X is not really experienced any more because it is "presolved"
- future people end up doing Y without knowing why
At this point you have NO clear optimum path:
1. you can keep doing Y but you will certainly do it when X is not present so you expend energy for nothing and even make things worse in some cases
2. you observe point 1 and stop doing Y, but you will stop doing it even when X is present, at least until you start noticing X reappearing as a problem and the X->Y pattern is again understood
Now you may say: just rethink everything before doing it. But that is not possible, it would several lifetimes just to discover the absolute basics of every day life. Most things you can not deduce, you must go through trial and error for significant periods of time.
So what do we do about tradition? Do we follow it blindly? Do we reinvent the wheel at every step? Clearly those are just the extremes but I do want to mention that if I would have to chose just between them I would follow tradition blindly. 20 year old me would absolutely think I am an idiot for this! But I payed the price of thinking I can outsmart past generations so many times that I became very skeptical about how smart I am in reinventing things. And this is not me being stupid, it's just that most cycles of pattern recognition do take generations to observe and optimize for, no one person can do it.
- Learn the rules - Master the rules - Break the rules
You can't go in straight away into life, or anything, and break the rules. Because you know fuck all about why those rules are in place, and what purpose they serve. The only people who really should be breaking rules are those that have mastered them and understand everything about them.
The most obvious place to illustrate this is art generally. You can't as an 18 year old paint a canvas red and say its art, people will laugh at you. But once you've built a reputation of being a master, like Mark rothko, you paint a canvas basically red which doesn’t need much skill. But you might be able to get away with breaking all the rules.
And we should also keep in mind that Bruce Lee himself likely died rather young as the result of some unconventional choices - https://en.wikipedia.org/wiki/Bruce_Lee#Death (a combination of substances used, over-exertion and the surgical removal of his sweat glands)
In software, I think the so-called best practices really don't deserve the status of traditions. Take the git flow. Some random person writes a blog post and now we have for some reason suddenly a 'best practice'.
Also, you do not really need to think that much about 'everything'. The KISS principle tells us to first try the simplest thing that could possibly work. Maybe KISS should be a best practice, I suppose.... What is rather interesting (and questionable), though, about the so-called best practices is that they generally lead to less simplicity and more stuff that all needs to be maintained. The cynic in me suspects a large overlap between 'best practice' and 'someone is trying to sell something'.
That's not giving other developers much credit for critical thinking. Famous articles such as Git Flow or The Joel Test are usually written by experienced developers (or a representative of a team of such), often with more understanding of the subject than the vast majority of other developers. They present a reasonable case for why the practice is better than what came before, and don't pretend that they are presenting some sort of universal, timeless solution. What happens next is the same thing that happens to every innovation: a messy, slow, mostly random walk from the original idea to something better, which may be closer to the original practice than the recommendation. But it's often worth trying.
> Also, you do not really need to think that much about 'everything'.
How do you work out which things to dig into though? You can't possibly dig into everything, and if you don't have much experience you have no reason to think that any particular rabbit hole is going to lead to somewhere better. And that leads straight back to best practices: they are probably going to work for a reasonable fraction of the problems being solved, because most of us (let's face it) are solving extremely similar problems over and over again.
> What is rather interesting (and questionable), though, about the so-called best practices is that they generally lead to less simplicity and more stuff that all needs to be maintained.
That's not been my experience in general, but I try pretty hard to make sure I understand why they are considered best practice and when it's OK to ignore or go against them. For example, a lot of shell scripting "best practices" are terrible remnants of the dawn of time when ASCII ruled the world and nobody had even heard of Bobby Tables: assuming every filename matches ^[A-Za-z0-9_-]{1,8}\.[A-Za-z]{3}$ or something similarly naive, that limited error handling is worse than no error handling at all, or that portability is more important than maintainability.
> The cynic in me suspects a large overlap between 'best practice' and 'someone is trying to sell something'.
Buy my book[1]! ;) Or slightly more seriously, read these[2][3][4][5], spend too much time figuring out how to loop over any files safely, find a blog post explaining how someone else came to the same conclusion, realize how bonkers the solution is, weep a bit, and long for something better than POSIX.
[1] https://www.newline.co/books/fullstack-bash/welcome
[2] https://pinboard.in/u:l0b0/t:bash/t:read
[3] https://unix.stackexchange.com/search?q=user%3A3645+%5Bbash%...
[4] https://stackoverflow.com/search?q=user%3A96588+%5Bbash%5D+i...
[5] https://victor-engmark.gitlab.io/advanced-shell-scripting-wi...
Au contraire, I think it's you who is not giving tech evangelists and marketers enough credit in their skills at persuading people to adopt bad ideas.
If you compare different programming communities, they have very different best practices.
Things one community swears are necessary to making good software, another community views as irrelevant or harmful.
Programming is littered with examples of people getting overly attached to some dubious principle and then running as far with it as they possibly can. Some of those examples have become dominant frameworks!
One thing I've noticed is that people who try to live according to a particular philosophy or philosophical understanding tend to be less effective than people who either ignore it entirely or only apply it to limited situations. This observation seems to hold even amongst public intellectuals, which one would assume would skew heavily towards philosophers.
I wonder if this is the reason why.
It's not that I can't explain it, it's that it does me no good to do so an in some cases makes things worse.
Where human factors are concerned, software developers in the large (which noteworthy exceptions), are so deeply in denial about what is easy and what is difficult that it's downright toxic. Especially when considered as a whole. Yes, this task is not particularly onerous by itself, but it's one of twenty tasks we have to juggle all the time, and that's simply ridiculous.
I have reasons for most of the things I do. I could write chapters for (someone else's) books about them. But I'm not going to explain them to people because they'll just try to line-item veto everything to try to protect their ego, turf, or both. Complementary practices (those with a multiplier effect) typically have very little payoff when you eliminate half of them. It becomes a self-fulfilling prophesy when you block enough of them that the overall improvement is in the low double digits, instead of say 50% spread across six behaviors.
Second, it's inefficient. You should leverage humanity experience.
Third, you can learn a lot faster if you start by repeating something without understanding it. Even maths.
So yes, understanding is useful, but doing without understanding is not bad. It's just a tool.
How about the entire idea of economic growth?
It made perfect sense to strive for increases in GDP during the 19th and 20th centuries, where economic gains directly correlated with improvements in material wealth and a better quality of life.
Now, I don't think anyone really understands why we're still doing it.
Do you mean consumerism? I don't think that one fits either as it's something people choose to do because it provides satisfaction.
As a society, we measure, celebrate and strive to achieve economic growth (in terms of increased per capita GDP. inflation-adjusted). People do this on an individual as well as broader group level.
In the past, the push for growth was an effective solution to the very real problem of widespread absolute poverty caused by the inability to provide sufficient consumer goods to the broader population.
In more recent times, pushing for economic growth seems to be causing more problems than it solves. Yet, we still do it anyway because that's what we've "always" done (at least, since the start of the industrial revolution).
But I can tell you what I meant by tradition: basically everything you did not explicitly decide about in your life and that you mostly do like everybody else does and did before you. Even wearing socks for example or hard soled shoes - you can easily find people these days that go against these. And you can think about it yourself. Is the barefoot movement right? Seems healthier for your foot. But how about one accident like a cut or penetration of the very thin and soft or even non existent sole?
Another habit or practice is buying single use water bottles wherever they go or drinks and food on road trips as if it’s not super easy to bring food or water. Yes, in some cases buying is more efficient but definitely not all cases and yet some people never bring food/water.
- We need a way to travel faster and I've made a car to do that
- cars spread in adoption
- travel is much easier
- people now use cars without knowing why
I can't think of many solutions where we don't also have the original problem it solves?
The real problem is people do not have enough knowledge in a domain to infer whether a new proposed solution is better or not. So to take the example further:
- Cars should no longer be used because they are causing climate change
- People fight against it because they do not have the knowledge to infer the right decision
- Person takes a decade or longer proving out why they are right
- new normal is adopted
But for a more 1-1 example: A lot of food is cooked by habit, I’m not sure how many people actually know uncooked beans or potatoes will make you sick but they all do “y” and cook them. Skipping “y” in some cases will make you sick or poisoned.
> There exists in such a case a certain institution or law; let us say, for the sake of simplicity, a fence or gate erected across a road. The more modern type of reformer goes gaily up to it and says, “I don’t see the use of this; let us clear it away.” To which the more intelligent type of reformer will do well to answer: “If you don’t see the use of it, I certainly won’t let you clear it away. Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it.”
Even that isn't a perfect solution. Cultural evolution is smarter than you are; a cultural practice may provide value that even its own practitioners aren't consciously aware of. Joseph Henrich's The Secret of Our Success discusses the traditional processing of manioc, a cyanogenic tuber in South America:
> In the Americas, where manioc was first domesticated, societies who have relied on bitter varieties for thousands of years show no evidence of chronic cyanide poisoning. In the Colombian Amazon, for example, indigenous Tukanoans use a multistep, multiday processing technique that involves scraping, grating, and finally washing the roots in order to separate the fiber, starch, and liquid. Once separated, the liquid is boiled into a beverage, but the fiber and starch must then sit for two more days, when they can then be baked and eaten. Figure 7.1 shows the percentage of cyanogenic content in the liquid, fiber, and starch remaining through each major step in this processing.
> Such processing techniques are crucial for living in many parts of Amazonia, where other crops are difficult to cultivate and often unproductive. However, despite their utility, one person would have a difficult time figuring out the detoxification technique. Consider the situation from the point of view of the children and adolescents who are learning the techniques. They would have rarely, if ever, seen anyone get cyanide poisoning, because the techniques work. And even if the processing was ineffective, such that cases of goiter (swollen necks) or neurological problems were common, it would still be hard to recognize the link between these chronic health issues and eating manioc. Most people would have eaten manioc for years with no apparent effects. Low cyanogenic varieties are typically boiled, but boiling alone is insufficient to prevent the chronic conditions for bitter varieties. Boiling does, however, remove or reduce the bitter taste and prevent the acute symptoms (e.g., diarrhea, stomach troubles, and vomiting).
> So, if one did the common-sense thing and just boiled the high-cyanogenic manioc, everything would seem fine. Since the multistep task of processing manioc is long, arduous, and boring, sticking with it is certainly non-intuitive. Tukanoan women spend about a quarter of their day detoxifying manioc, so this is a costly technique in the short term. Now consider what might result if a self-reliant Tukanoan mother decided to drop any seemingly unnecessary steps from the processing of her bitter manioc. She might critically examine the procedure handed down to her from earlier generations and conclude that the goal of the procedure is to remove the bitter taste. She might then experiment with alternative procedures by dropping some of the more labor-intensive or time-consuming steps. She’d find that with a shorter and much less labor-intensive process, she could remove the bitter taste. Adopting this easier protocol, she would have more time for other activities, like caring for her children. Of course, years or decades later her family would begin to develop the symptoms of chronic cyanide poisoning.
> Thus, the unwillingness of this mother to take on faith the practices handed down to her from earlier generations would result in sickness and early death for members of her family. Individual learning does not pay here, and intuitions are misleading. The problem is that the steps in this procedure are causally opaque—an individual cannot readily infer their functions, interrelationships, or importance. The causal opacity of many cultural adaptations had a big impact on our psychology.
> Wait. Maybe I’m wrong about manioc processing. Perhaps it’s actually rather easy to individually figure out the detoxification steps for manioc? Fortunately, history has provided a test case. At the beginning of the seventeenth century, the Portuguese transported manioc from South America to West Africa for the first time. They did not, however, transport the age-old indigenous processing protocols or the underlying commitment to using those techniques. Because it is easy to plant and provides high yields in infertile or drought-prone areas, manioc spread rapidly across Africa and became a staple food for many populations. The processing techniques, however, were not readily or consistently regenerated. Even after hundreds of years, chronic cyanide poisoning remains a serious health problem in Africa. Detailed studies of local preparation techniques show that high levels of cyanide often remain and that many individuals carry low levels of cyanide in their blood or urine, which haven’t yet manifested in symptoms. In some places, there’s no processing at all, or sometimes the processing actually increases the cyanogenic content. On the positive side, some African groups have in fact culturally evolved effective processing techniques, but these techniques are spreading only slowly.
Scott Alexander comments (https://slatestarcodex.com/2019/06/04/book-review-the-secret...):
> A reasonable person would have asked why everyone was wasting so much time preparing manioc. When told “Because that’s how we’ve always done it”, they would have been unsatisfied with that answer. They would have done some experiments, and found that a simpler process of boiling it worked just as well. They would have saved lots of time, maybe converted all their friends to the new and easier method. Twenty years later, they would have gotten sick and died, in a way so causally distant from their decision to change manioc processing methods that nobody would ever have been able to link the two together.
Regarding the last quote: one must also give credit to the "reasonable person" who died because they think themselves smarter. These kind of people are the necessary guinea pigs sacrifices of technological progress. In the trial and error process, the errors are mandatory, else there is no learning.
The only reason I as a small child learned this was because in a world where cars drive on the right side it makes perfect sense.
But there are so many traditions that are senseless: shaking hands, wrapping food in plastic, celebrating Christmas, abiding to corporate hierarchies and work for a dictatorship while living in a democracy, documenting code, bullying the weak, as was tradition when I went to school, having stand-ups when you're not doing SCRUM and so on and so forth.
Traditions might not necessarily be good things. Trail and error has been my only strategy to find out which are good and which are bad. I wish I could stand on the shoulders of giants because then I would probably be much wiser that I am today, because of the head start it would give me.
A tradition is not senseless just because you don't like it or understand the reason for it. Often, there are very good reasons a convention like shaking hands or abiding by hierarchies becomes a tradition. By all means, get rid of worthless traditions, but take care you don't cause unintended consequences when you fiddle with traditions without understanding their motivation.
Also, perhaps a little humility is in order. It's just possible the people who instigated a tradition were smarter than you or knew something you don't.
Reminds me of The Office when Mike is in the woods, Jim tries to consolidate all birthday parties into a single day to increase productivity, but then faces a revolt and realizes separate birthday parties are the only thing maintaining office cohesion. When Mike returns to the office he reveals he made the same mistake when he was starting out.
- shaking hands - any form of greeting involving physical contact (hugging) is a lot more powerful than just words
- celebrating Christmas - you can have a family reunion any time, or rest on any day, not just Sunday. But do you? Or do you need a pretext and a common free day for everybody and a guarantee that at least one day per week you do not work and nobody can tell you to?
- corporate hierarchies, dictatorship - any form of flat organization fails to take timely important decision because nobody can enforce them. Dictators started in Rome, where the fiercely republican senate recognized that during crises they could not unite to do anything and appointed limited time dictators and willingly submitted completely to their decisions. Also take a look at the outcomes of the Arab Spring, did the removal of dictators improve the lives of the people?
On some occasions, I have reduced the daily stand-up from 30 mins (yes, I know) to 20, then 15...etc and it's common for them to reach 0 without any loss of knowledge transfer because the team members have started to communicate effectively by other means.
Granted, the pandemic has changed the nature of the communications challenge a bit.
I am happy to see teams having a daily stand-up because they need them. I take more notice when teams have a daily stand-up because they have been told they should have one.
For me, the non-SCRUM stand-up is still in the "trial" phase. My mind still resists the very thought of it.
Back in 1956, Teams, Slack etc. were still pre-alpha and it was possibly difficult or technically impossible to have a group phone call, so a stand-up for larger teams spread round a building might have been the only way to quickly share info + it got the folks out of the noisy computer rooms (plus ça change there!)