Live data from Hacker News

The problem with programming and how to fix it

alarmingdevelopment.org

1–10 of 99 posts

Re: The problem with programming and how to fix it

#2
Hah, I was nodding along with the article and then got to this bit:

> What reason is there to believe we can improve programming technology to be vastly easier and more accessible? To start with, spreadsheets. Spreadsheets are by far the most popular programming tool, used by far more people than “real” programming. Surely it must be possible to carve out other domains like that of spreadsheets without taking on the full complexity of programming.

As someone writing a spreadsheet app with magical programming powers (https://6gu.nz) no wonder the author seemed to be sweet-talking me :-).

And yeah, I think we can do a lot better. Some low-hanging fruit: backslashes in strings, "what is Unicode", "what is a hash function and why do I care?". Etc.

There's a crap-tonne of essential complexity in just about everything we do, but most tasks for which "programming" should be the right answer are not the sorts of things programmers actually do.

Part of the problem is, we have all the best tools because we are the tool makers. There isn't good version control for Excel. Linting is mediocre. And the language itself sucks, because the programmers who work on it don't think spreadsheets are programming, and don't think the people using spreadsheets are programmers.

I do think the conclusions of the article are o ff-base, though. I have no faith in professional societies, and I don't think the answer is "institutions". The answer is business -- bringing programming to the masses is worth trillions. Programming is the biggest force-multiplier that exists. It's what the FAANGs (widely disparate companies in different industries) have in common -- they (as companies) "know how to program".

Maybe businesses are short-sighted, but the value here is so big it just has to happen. Magic of capitalism and all that.

Re: The problem with programming and how to fix it

#3
post #2

Hah, I was nodding along with the article and then got to this bit: > What reason is there to believe we can improve programming technology to be vastly easier and more accessible? To start with, spreadsheets. Spreadsheets are by far the most popular programming tool, used by far more people than “real” programming. Surely it must be possible to carve out other domains like that of spreadsheets without taking on the…

Programming for spreadsheet like things is something a DBA does for /databases/.

No, they don't look like spreadsheets, but THAT is the industrial strength tool being used by a professional chainsaw juggler.

Re: The problem with programming and how to fix it

#4
> What reason is there to believe we can improve programming technology to be vastly easier and more accessible? To start with, spreadsheets.

So many failed efforts to make programming vastly easier and more accessible have started with almost this exact line.

I think it's possible that there is a seductive trap there. We see spreadsheets and we think, “programming that doesn't have the downsides we associate with spreadsheets could be just as accessible”. But maybe the problems are intimately tied to what makes it accessible, and wheb you try to make programming that accessible you either fail or end up with something that doesn't offer any advantage over the spreadsheets we have.

> Unfortunately application programming got trampled in the internet gold rush.

No, it didn't. Oh, sure, it's not getting chased around by venture capital, but there's plenty of it going on.

> As a result the internet age has seen an exponential increase in the complexity of programming, as well as its exclusivity.

It really hasn't; we may often be solving far more complex problems, but we do it with languages, frameworks, and platforms that allow casual programmers to do so more easily than at any time in the past. Programming is “more exclusive” only in that:

(1) in working environments, IT policies restrict programming (other than spreadsheets) to the high priesthood more completely than ever before, and

(2) lots of simple problems that would be solved by casual programming in the past now have end-user tools that allow them to be solved without anything we recognize as programming.

Re: The problem with programming and how to fix it

#5
post #3
post #2

Hah, I was nodding along with the article and then got to this bit: > What reason is there to believe we can improve programming technology to be vastly easier and more accessible? To start with, spreadsheets. Spreadsheets are by far the most popular programming tool, used by far more people than “real” programming. Surely it must be possible to carve out other domains like that of spreadsheets without taking on the…

Programming for spreadsheet like things is something a DBA does for /databases/. No, they don't look like spreadsheets, but THAT is the industrial strength tool being used by a professional chainsaw juggler.

AirTable looks kinda like a spreadsheet, and it's a MS Access clone at heart. Not terribly programmable, though it does look pretty usable.

I think "traditional" databases will fail to reach a general audience (or rather, much expand the definition of "technical audience") because SQL is not really easier than Python etc. Maybe the problem is environments and not languages, though.

Personally I think the relational model is just a little too limited. It's possible to build abstractions in SQL (views, temporary tables, `WITH` etc) but it's hard. And repetitive.

Basically I think functions and variables are great little building blocks, so I'm pushing them. And then, having not backed myself into a corner with by having chosen a limited computational model, I'll make relational stuff easy too :-).

Re: The problem with programming and how to fix it

#6
post #2

Hah, I was nodding along with the article and then got to this bit: > What reason is there to believe we can improve programming technology to be vastly easier and more accessible? To start with, spreadsheets. Spreadsheets are by far the most popular programming tool, used by far more people than “real” programming. Surely it must be possible to carve out other domains like that of spreadsheets without taking on the…

> backslashes in strings

There's a simple solution to that: use «balanced quotes»

Re: The problem with programming and how to fix it

#7
I believe that software is not a professional practise but a new form of literacy (in fact the book I am writing is all about this (Real Soon Now, thanks for asking))

And when you see software as literacy a lot of the stuff he moans about simply goes away.

Yes it is seen as exclusive and a priesthood - imagine what illiterate serfs thought of those who could write. It took years of practise.

No it's not a good idea to make programming more accessible. We don't have easy literature, we don't think someone who reads and writes solely with fridge magnets (#) has mastered the language. It is a good idea to invest more in education and that is being done reasonably well, but as in all things more is needed.

Yes the results can be a car crash at times - my favourite analogy for this is our management structures.

Would we ever take a literate organisation like the Washington Post or Harper Collins and put a layer of senior management in place who were totally illiterate from birth? If we did do we think they would make sensible decisions, empower those organisations? No.

Yes there is a lot of shiny new thing, going on. But that's because there are a lot of people doing software - and many of them select for being good at marketing too. The real big software projects tend to select for conservatism married to pragmatism- look at Linus on a mailing list or the PEP process, or Debian.

So yeah software needs to sort it self out - and professional bodies will start to solidify (personally I feel a lawyer like body, concerned with managing the course of OSS code used in government is the most beneficial), and until then don't try and fix the world or boil the ocean - just focus on making your coding practises as good as possible, even if your boss is making crazy calls.

(#) Wanted: Better analogys - can you write pithy phrases that sizzle like ice cream on a griddle? Contact the author in complete confidence today.

Re: The problem with programming and how to fix it

#8
> Programming today is exactly what you’d expect to get by paying an isolated subculture of nerdy young men to entertain themselves for fifty years. You get a cross between Dungeons & Dragons and Rubik’s Cube, elaborated a thousand-fold.

This is vague and insulting.

Many of us programmers spend a lot of energy to keep systems simple, to a point that one could mistakenly conclude that they were easy to write.

We don't dream of having to maintain complex machineries reminding us of Rubik's cubes. We consider maintainance nightmares and hard-to-understand systems as failures, not goals. We don't love complexity, we hate it (but the less experienced of us haven't got the chance to fully develop this hatred).

Re: The problem with programming and how to fix it

#9
post #6
post #2

Hah, I was nodding along with the article and then got to this bit: > What reason is there to believe we can improve programming technology to be vastly easier and more accessible? To start with, spreadsheets. Spreadsheets are by far the most popular programming tool, used by far more people than “real” programming. Surely it must be possible to carve out other domains like that of spreadsheets without taking on the…

> backslashes in strings There's a simple solution to that: use «balanced quotes»

Does that help if those characters appear in the string?

My bet is on editors that let you "type your string into this text box".

Re: The problem with programming and how to fix it

#10
i definitely agree with the points this article makes, however it’s such an unhappy tone. i would recommend whoever wrote this to stop working with other coders for a year (either work a job not involving coding or work as the sole coder somewhere) and then rewrite the article less angry.
Post reply on HN