Why programming methodologies are pointless
l8d.github.ioAh, the naïveté of youth.
Here's the thing about methodologies: anyone can use them. Any methodology that is popular enough for you to have heard about it was developed by one or more smart people and solved some real problem. Between now and then though, countless cargo-culters have jumped on the bandwagon and misapplied the methodology to the wrong problem in innumerable ways. Maybe they implemented it wrong, maybe they didn't have applicable problems, maybe they are as dumb as a box of rocks but have carved out a comfortable niche in a fat corporation somewhere. The point is, a methodology is meaningless out of context.
Hell, all ideas are meaningless out of context. In every day human life we tend to share a lot of context with those around us, in terms of software development—ie. the stuff of pure thought where the only limit is logic itself—we share considerably less so. When you're writing a web app you are living in a wholly different world from someone writing a Mars lander ROM, yet we call both of those things "software engineering". If you want to have good ideas and be competent you have to apply whatever ideas to the context you are in. Being smart is not about having the best ideas, but about evaluating how ideas apply to and interact with systems. The hardest thing about entrepreneurship isn't figuring out how to write software to do X, it's how to choose X such that a cascading chain of seemingly random events translate into market traction.
The horrifying thing about software development is the limited intelligence of the human brain to begin with. From a certain perspective we are hopelessly stupid and incapable of truly elegant software design, but on the other hand we are the only entities we know of with the capacity to write software at all! All this is to say you need to embrace ignorance and subjectivity, and simply pledge yourself to continual improvement. You do this not by latching onto ideas and filing them into good or bad buckets, but rather by processing a lot of them, applying them in practice, and seeing how those with more experience than you do the same.
If your curiosity outweighs your frustration over a period of decades, eventually I guarantee you will be at least a competent software developer, and maybe by then ageism in a tech will be something the kids laugh at like televisions with twisty knobs.
Once he gets older and a bit more mellow, he'll see that there are always people who are better - and you can recognize them. Also that it just makes sense to stick to some methodologies to find common ground, to keep your code readable by everyone in the team.
Having a desk job helps in understanding it is more important that you can understand your code 3 years down the road than squeeze the last 5% of productivity out right now.
that assumes you have the same desk looking at the same code in 3 years. otherwise writing code however you like may have its benefits. including giving you less other-humanly-end-points to have to consider at work. but this attitude may also force you into freelance work sooner than expected though.
I find that when it comes to optimizing code with an emphasis on readability, the improvement is rarely only 5%. Plus the improvement is not just the end result's performance, but also in writing.
I think I don't understand this readability thing. I have trouble keeping the structure of large programs in my head. So for me, the number one readability property of a program is it's length. The shorter, the quicker I can read it.
For other people it seems to be a lot more about code they don't understand. List and dict comprehensions are one such thing, especially the iterator-based ones. Using variable capture with in-line functions is another, and God forbid I pass around a function pointer to an inner function, because it often lets me avoid writing an entire pointless class that I have to remember exists. I use functional programming constructs constantly where they make sense, which tends to be a lot of places. Why is all this forbidden ? Is this because people don't know what they do/how powerful these constructs can be ? I feel that rewriting a nested list comprehension into a 20 line function does absolutely nothing to clarify matters for me, it makes things worse.
>On the note of software methodologies for teams, I think they are pointless, at least for me. [...] The problem I have with them is their meaning and significance vary between everyone.
This looks to be the crux of your argument and it's a weak one. Just because there are wide ranging opinions on definitions does not mean the ideas have no merit. The idea of "education" means something very different to many people. That doesn't mean that public school, college, or Cisco certification training is "pointless". There are thousands of ideas/words that don't meet 100% agreement. Just the other day, there was a thread on HN about what "mathematical proof" meant. Does that mean someone can legitimately dismiss math proofs as pointless because mathematicians disagree?
Alan Kay's idea of "object-oriented" is different from Bjarne Stroustrup's. Martin Odersky's idea of "functional language" is different from John McCarthy's. Regardless of the differences, there are still good ideas in both OOP and functional paradigms that can improve designs of software architectures.
>I don’t know if I should “love to hear your argument against this” but since this is a blog post from some obscure programmer on the internet, then I’m sure you’ll write it anyways.
I don't understand the conceit you wrote here. If this is how you truly felt, why did you post your blog to HN? I thought the idea was to invite commentary.
> If this is how you truly felt, why did you post your blog to HN?
Obviously so we could read something he thinks is a discovery.
On the rest of what you've said… Funny that however I obviously agree with the whole point of your post, I disagree with almost every single argument you made.
"Pointless" is pretty much about being opposite to "something that works". If it does work it's not pointless. If it doesn't — it very much might be. So everything depends on definition of "working", which is different in different situations, depending on what result we want to get from our activities.
Consequently, all of your "education-based" examples are bad, as somebody might claim Cisco certification, school and/or college are pointless and even be completely right. In the most philosophical sense nothing is really pointless of course, but if you are coming to me asking for advice you probably don't want the "most philosophical answer" and depending on your goals and personality (even in very broad sense) I could declare many popular things people are paying for as "pointless" for you. Because they "don't work", or the costs/profit ratio is too high compared to other options.
Your "math" example is also quite unfortunate (however I must warn you I haven't read the article you are referring to), as if there actually was disagreement on if something is or isn't a proof — it really could and should be "legitimately dismissed". It might not be actually wrong, but you either accept something as proof, or you don't.
Now, it's true that there isn't one good definition on what proof actually is. Actually, there are doubts that that definition is even possible. And it's nothing new, it's almost 100 years now that this is a problem for mathematical society.
So how my last two points go together? Perfectly fine, actually, because depending on your views on the problem of defining proof something can or can not be proof, and these views can differ drastically depending on whether you are a member of Bourbaki group or a layman. For example, Alexander Grothendieck dismissed (quite "legitimately", by the way) the famous proof of "4 color theorem" and he is completely fine mathematician, and that proof is something that you will probably claim to be proof.
The similar problems I see in your "different languages" example, but it would take a bit longer to explain, so whatever.
Methodologies and even many of quite arguable "best practices" aren't pointless, because they do work, not because "disagreement doesn't matter". Actually, I would claim that disagreement does matter, because there's a good chance that one side will be proven to be "more right" than the other over time. Yet even the "less right" one is often much better than nothing, especially because the one "absolutely right" opinion doesn't exist anyway.
>Obviously so we could read something he thinks is a discovery.
Then I may have misunderstood the discussion functionality of HN. I've never submitted a story so excuse my ignorance for asking: when you submit an article, is there an option to disable all followup comments so that the post is "read-only"? (Which means the OP forgot to check that option.) If that functionality doesn't exist, I don't understand how anyone would post to HN but not want commentary.
>Consequently, all of your "education-based" examples are bad, as somebody might claim Cisco certification, school and/or college are pointless and even be completely right.
I agree with that but that's not my point at all. You're talking about a case-by-case situation of delivering education (some of it good, some of it bad) and the subsequent extraction of economic value from time invested (repay school loans, opportunity cost, money wasted.) Maybe someone should drop out of school because he has great card playing skills and wants to bet his income potential on winning World Series Poker championship. Or maybe he's an autodidact and can learn iOS and Android on his own to a $100k salary. Scenarios like that are not relevant to my point.
What I was talking about was something else. It was the idea and concept of education. My point is that just because teachers, politicians, and parents disagree on what "education" is does not mean the idea of education is pointless.
>Now, it's true that there isn't one good definition on what proof actually is.
Right. And yet, we as a civilization can still benefit from "math proofs" in spite of the fact that there are some philosophical differences on what "proof" is.
>arguable "best practices" aren't pointless, because they do work, not because "disagreement doesn't matter".
I wasn't stating this. I said something different: that "best practices" are not disqualified because of disagreements. I did not say "best practices" are good because of disagreements. Those are 2 very different sentences and I did not write what you think I wrote.
Well, "education" is too vague term to speak of then, because, really, it's still a question if obligatory school education is more harmful or helpful, even goals themselves aren't defined good enough here to decide if something "works" or not. But, yes, I understand that wasn't your point either.
> And yet, we as a civilization can still benefit from "math proofs" in spite of the fact that there are some philosophical differences on what "proof" is.
Not really. You don't generally benefit from proofs being correct. You benefit from something you think is correct works well for your purposes, and it usually isn't proof itself, but some result derived from it. It's actually considered even paradoxical, that our math "works so well" despite of very foundations of it being proved "not working". It's like… well, I cannot remember good enough example right away, but consider different folk beliefs: many of them are actually pretty good advices, but not because there are some true reasoning behind them, but simply because they advice to do something in some situation that occurs to be helpful in case of phenomenon which in real life often occurs along with described situation. So some enlightened gentleman who is against silly superstitions and can show that "proof is incorrect" only suffers from that, because despite "proof being incorrect" the adviced behavior is still the safest one.
And by the way I don't only mean "philosophical problems" like ones we've got after Goëdel. I remember being told when I was a kid that mathematics are very old science, that it was used and developed by ancient persians, egyptians, etc. And, well, it was. So years later I was really, really astonished to learn how frivolous to say at least that "mathematics" was. Many things that we know as theorems today weren't actually theorems back then (which isn't surprising by itself, because the mathematical notation itself is very late invention, but I expected the essence of it to be the same), but more like beliefs or pretty redundant technical recipes on how to make this or that thing done. Even one comparatively late and "truly mathematical" text — Euclid's "Elements", that is, — isn't without faults. Many of his proofs weren't proofs by any today's standards, or even by standards of 100 years ago. Many of his very basic statements were dismissed later as being redundant or incorrect or simply pointless in the sense that "they mean nothing" in the context of maths. Still, as you know that work of his was quite helpful for later generations.
> Those are 2 very different sentences and I did not write what you think I wrote.
Actually not, I didn't think what you think I did think you wrote. I understood you correctly. I said that ["best practices" are not disqualified because of disagreements] isn't the most correct thing to say, because if there is disagreement between adepts of "best practice A" and contradictory "best practice B" it's very much possible — even likely — that "best practice A" could and should be disqualified in favor of "best practice B", because the second one is objectively more beneficial (and then it would be "disqualified because of disagreements" indeed). Yet because world isn't black and white "best practice A" could also be working, so if you stick with A it could be better than nothing at all.
>Not really. You don't generally benefit from proofs being correct.
We benefit from Pythagorean's Theorem (a proof) every day. We can use it calculate distances without physically laying down a tape measure to derive distances across oceans or even outer space. We can also use it to calculate distances of 2 points inside of video game scenes or a "distance" inside matrices. If two sides of a triangle is 3 and 4, we can deduce the other side is 5. We don't need to look it up in a reference book of past recorded observations. (E.g. the previous 1000 years of recorded observations show that the measurement will be 5 but we better check it again today just in case it's different. The existence of proof-theorem allows us to skip that.) Anyways, the idea of "math proofs" is still useful even though there can be disagreement on what "proof" is.[1]
> I understood you correctly.
Actually you didn't because I had originally wrote "disagreements of terminology" but I went back and edited it a few minutes later for brevity to just "disagreements" because I thought it was a cumbersome and long-winded sentence. I thought the previous context to OP made the qualifier "terminology" redundant. But...leaving it out lead to even more confusion.
Anyways, The wide-ranging and sometimes even contradictory interpretations of terminology (such as "garbage collection") is not a convincing enough reason to dismiss "garbage collection" as pointless. That's what the OP was using as his ammunition and it's wrong.
[1] http://en.wikipedia.org/wiki/Computer-assisted_proof#Philoso...
No, you don't use the proof of Pythagorean's Theorem every day. I guess you never did at all. You use some computational procedure which is developed along with that proof. For a layman it might seem there's no difference, but difference is huge. For Pythagoras himself and other people who used this simple procedure in that time it was more like physical quality of the real world, one of many procedures used to divide land on parcels (hence geometry, by the way). The "mathematical" part of his philosophy was more like religious practice with peculiar ideas, than what anybody calls "math" today.
The problem of "proof" didn't exit back then. What is proof? What looks like correct reasoning to me, that's what it is! And that was like a fine definition for every sane for a very, very long time. Have you read Kant's "Critique of Pure Reason"? It was way later that Pythagoras, Kant was obviously quite smart man and his reasoning was pretty solid for his time. Now it's nonsense. Because Euclidean geometry was considered the only possible back then, and Kant indeed believed it's the only possible. Then some 100 years later it just appeared out of nowhere. That's when a problem of "proof" and "formal reasoning" was actually started to be considered. And only really became a problem after Goëdel. The whole math you use every day by making cell-phones, building atomic reactors and launching rockets to the Moon was mostly invented before that by people who weren't so concerned by proofs, the central object of mathematics today.
Similarly, you use just some formula you was taught at one point, and some semi-intuitive rules by which you can derive other formulas from it and don't really care about proofs. And although you without doubt have heard about Lobachevsky and Riemann and even Klein, and heard of "Erlang" (even if it's just a name of programming language to you) you don't really think much about Pythagorean's Theorem's proof and what it's built on, you use some computational methods you've been taught and what seems like "correct reasoning" to you. Actually, you even reinforced that by your examples, because there's many more ways to calculate a "distance" inside matrices or in a video game (and on plain Earth it's more based on physical properties you care for and would be fine even if only "proved" empirically). Because "distance" is not derived from Pythagorean Theorem, distance is defined and is one of key properties of some geometry. That is, you define geometry by introducing formula of how distance is calculated.
The crux of my argument is relying on methodologies to write good software or to guide a design is pointless.
Instead of trusting everything you read, you should question it an consider it in practice before you actually follow it.
> The crux of my argument is relying on methodologies to write good software or to guide a design is pointless.
> Instead of trusting everything you read, you should question it an consider it in practice before you actually follow it.
But once you've questioned and evaluated it, its still a methodology. If you just mean you shouldn't take published methodologies on faith but consider how they work in your particular environment, that's widely accepted truth. Its, among other things, a central idea of the Agile software movement, as well as central to Lean methods (not just in software, either) and, more generally, to all models based around a Plan-Do-Check-Act cycle and variants thereof.
Its hardly a controversial or new observation, though there are plenty of failures to put it into effect.
>The crux of my argument is relying on methodologies to write good software or to guide a design is pointless.
I already got that. It's already in the title of your post. You're just restating the title again.
But in the body of the text, you gave your reasoning and arguments attempting to explain why it was pointless. I'm pointing out that your reasoning (e.g. "different definitions") does not support your title. You need to construct a better set of arguments to convince people of your thesis.
> I've found that beginners don’t learn about this until it is far too late, and the teachers rarely emphasize it. Many of those who are learning programming through a school aren’t taught about the ethics of programming. They aren’t taught how to design library API’s, how to separate concerns, or how to write small cohesive modules.
I like to call this the 'fallacy of assumed competence'. We assume teachers are good at teaching, and teachers assume students are good at learning and understanding. As i've grown older i've come to believe that most teachers suck really hard at teaching, and that most students suck really hard at knowing how to ask the teacher what they need to know.
In terms of programmer methodologies: nobody in the real world cares all that much. Nobody quits their job because their bosses wouldn't enforce using their preferred methodology. If you're all tasked with developing some giant framework or application and you all have to work together, at some point you learn it's a lot less painful to put your ego aside and just get work done.
"To anyone who has moderate experience in software development, this might seem obvious or taken for granite"
ಠ_ಠ
Allow me to play doubles advocate here for a moment. For all intensive purposes I think you are wrong. In an age where false morals are a diamond dozen, true virtues are a blessing in the skies. We often put our false morality on a petal stool like a bunch of pre-Madonnas, but you all seem to be taking something very valuable for granite. So I ask of you to mustard up all the strength you can because it is a doggy dog world out there. Although there is some merit to what you are saying it seems like you have a huge ship on your shoulder. In your argument you seem to throw everything in but the kids Nsync, and even though you are having a feel day with this I am here to bring you back into reality. I have a sick sense when it comes to these types of things. It is almost spooky, because I cannot turn a blonde eye to these glaring flaws in your rhetoric. I have zero taller ants when it comes to people spouting out hate in the name of moral righteousness. You just need to remember what comes around is all around, and when supply and command fails you will be the first to go.
Make my words, when you get down to brass stacks it doesn't take rocket appliances to get two birds stoned at once. It's clear who makes the pants in this relationship, and sometimes you just have to swallow your prize and accept the facts. You might have to come to this conclusion through denial and error but I swear on my mother's mating name that when you put the petal to the medal you will pass with flying carpets like it’s a peach of cake.
Could you please "translate" few phrases for the sake of learning english? Namely, "having a feel day" and "pass with flying carpets".
"to have a field day" and "to pass with flying colors".
Well played. I was going to post one example that survived in my mind pretty far into adolescence but now I don't half to.
After trying to read this, I think I need to take things with a grain assault. It's a doggy dog world out there.
You just maid my day.
I got to admit, for a second I thought this was another meme that I did not know about. I need to trust in myself more.
That's when I stopped reading -_-
We wouldn't be getting better without having all these shity ideas.