107 points · by b3morales · 5y ago · 82 comments
These days I'm writing at https://scattered-thoughts.net/ and working on https://github.com/jamii/dida and https://github.com/jamii/imp. Same ideals, but backed by many more years of ~~failure~~ experience.
Also still complaining about things https://scattered-thoughts.net/writing/against-sql and breaking things https://scattered-thoughts.net/writing/internal-consistency-...
[0] https://scattered-thoughts.net/writing/assorted-thoughts-on-...
We don't expect someone who's never touched a chisel to be able to fabricate and install a full set of kitchen cabinets, either. And there's no shame in that -- they just need to spend time learning. Or they can do the "google -> stack overflow -> copy/paste" thing by going down to their local home goods store and buying some prefab particle board units and watching a YouTube video on how to hang them. (And again, no shame -- online video can be an excellent source of craft information.)
Even while todays tools can do so more, I remember my first 16k microcomputer with nostalgia.
It booted immediately and into a simple known state.
If you got onto trouble you could switch it on and off again.
It booted into a REPL, a ROM-based BASIC.
The language was simple, immediate, and with accompanying manuals discoverable.
It could immediately let you program things that seemed to matter to you; text, simple sounds and graphics where all easy.
The first way to use it, and the first entry point it gave was programming it.
You could load programs from disk, but it was obvious that they were things that could be made - and taken sometimes taken apart (although some where understandable, some weren't. And that was a prompt to learn more).
The hardware was easy to get to, even if it wasn't easy to understand, some of it was visible (like the memory mapped display).
I help juniors without a lot of technical background today and there seems to be books of lore to digest before getting to something tangible.
VB made trivial projects trivially trivial. But whenever you tried to apply it to any real-world scenario, you'd get stuck trying to infer all of the "hidden state" that the too-simple interface was trying to shield you from.
I had the misfortune of working with the original no-code too, Salesforce, for a couple of years - in spite of the name, it's not all that "sales" focused; it's actually more a "VB for web-based enterprise applications" with a sales instantiation implemented in it. It had the same problems as VB, too - it was too simple for any actual problems. Simplicity was obtained by hiding details... that turned out to be crucial for basic business functionality (and don't even think about performance).
You know, this is the first time anybody has ever been able to explain to me what Salesforce actually does.
As far as I know, VBA, VBScript, and VB.Net are "regular" Turing complete programming languages that can access anything on a Windows machine and not some sort of visual programming as such. The VBA editor is not up to modern standards, but it's pretty nice from the perspective of someone who started out in the 1980s with various MS Basics. The various forms of the language are not simpler than old fashioned Basic, but have a fair amount added.
What fits your description more, in my experience, is Microsoft Power Automate, which is a sort of low/no code environment that is only slightly better that Malbolge IMO. It makes it incredibly difficult bordering on impossible to reuse logic.
I never got a chance to use Delphi in any serious way,so that might have been an alternative contender,but certainly VB was orders of magnitude easier than building Windows apps in C++ and Microsoft Foundation Classes, which was the other main alternative offering at the time VB3 appeared.
Non-programmers could use it to put together something that looked reasonably good and would work reasonably well without having to fill up their heads with a hideous morass of technological complications,and if you did have past development experience then it took away immense amounts of the pain and frustration which had previously been an inherent part of programming for Windows.
Having worked for two separate companies which managed to create serious long-lived applications and make quite satisfactory amounts of money using VB5 and 6, I'd also reject the idea that the language was inherently incapable of giving you the kind of control needed to do serious real-world work.
The default solutions which the UI toolkit pointed you towards often ended up as dead ends (the data control bound to an ADO or RDO database was a particularly terrible way of managing business processes and yet it was the one which Microsoft seemed obsessed with pushing people towards) but the language offered plenty of ways to do things which weren't terrible if you took the time to work out how to do so.
Yes, if you pushed things far enough the limitations of the environment's abstractions, the fundamental sloppiness of its language design,and the choices which it decided to make for you would start to really hurt in terms of performance or ongoing maintenance. And version control was a joke, and testing and release integration were worse,and DLL hell was something which bit you on an all-too-regular basis.But you could get a pretty long way before that hurt became acute,and in the meantime you could do much that was useful and productive with much less up-front effort than you'd need to do the same thing in any current .net language,or even in something as supposedly friendly and accessible as Python.
"REPL":
What it actually looked like:
(Not my videos, just pulled of the internet)
In programming, though, turning what you want to happen into statements the language can compile is purely a problem of that translation phase. There is a lot we can do in the language and environment to make that easier - consider all the overhead of a map operation in Java (with `.stream()` and `.collect()` and restrictions like "lambdas can't throw checked exceptions") vs a list comprehension in Python. A newcomer is going to be able to pick up the latter much more quickly.
I don't think that looks like "0 experience -> complex app in one day" but I think it could be a lot easier than it is today. It's already a lot easier than it was 20 years ago.
In programming you have to practice mental skills. That is, abstract problem solving, logic, bigger-picture-how-things-fit-together. There's a reason many beginners struggle with concepts like pointers or recursion/recursive data types. These things become second nature with practice, just like the physical skills do, but to a beginner who has not practiced such things, they're equally difficult.
Introducing them to the end user who just wants a way to track project status is a great way to bar them from actively participating in developing their own solutions. Forcing them to be beholden to the IT department, rather than empowering them to accomplish their goals.
These skills are not unique to programming. It’s true that building sophisticated applications requires skills that need to be developed over time. But there are many many useful programs short of that that can be written with a beginner’s limited knowledge. We see already with python widespread use by non computer scientists in certain fields. I think going forward this will become more and more common across more fields and beyond academia.
To be fair, though, a lot of apps are just a database with a CRUD UI
https://www.airtable.com/product/views https://www.airtable.com/product/automations https://www.airtable.com/integrations
It's getting to the point where it can handle most of the internal software needs of a small-medium company and also has a ton of javascript hooks for covering that last 20%.
What would make programming easier is hardcore standardisation of everything, so wheels are always round, engines have standard bolt patterns and car frames have standard size room for an engine and wheels. What makes such standardisation difficult is the complexity of what needs to be standardized: nobody has enough mental capacity to fully grasp the software equivalent of the car engine and make a sound standard for it. This is why most standards are a mess of exceptions on hundreds of pages.
I think there's an invaluable starting place here, & that we should all spend a lot of time writing down & identifying this.
A huge amount of programming & it's difficulty lies in having your bearings. Knowing what you have, & having some sense of direction forward or destination. Being able to see & comprehend what is about us, what we have can be a challenge. Or one could be lacking a sense of what to do to progress forward. Or perhaps one doesn't really know where the code needs to have, doesn't have a good picture in mind of the object.
The human mind wants to have the full model, of where we are, where to go, and where to end up: a view of the current structure, the operation to advance, which yields us a new structure.
Programming is ultimately about consciousness, an understanding of the pieces of this allagmatic flow. Having good tools & environments that tell us what is about us, that show us the objects around, the processes/operations that are occuring, to let us know/predict where the state is going to end up, is a kind of meta-causal comprehension skill that programming rests upon. Trying to think of what is hard is good, but we also ought be trying to turbo-charge our exploration of what new capabilities instruments, tools & environments can do to augment our views & vantages of code, state, & their execution.
https://en.wikipedia.org/wiki/System_context_diagram
OK, that bubble in the middle is your program. How does it fit into the world?
While drawing the context diagram, we should keep in mind two questions (at least):
- is the bubble at the center of it necessary at all? Can we remove it, such the other pieces around it function just fine without it? Is it just a "middleman" that can be "cut out"?
- if the bubble is necessary, does it have to be a computer program, or can it exist just fine as some non-computerized process? Can some of it be computerized, and some of it not?
- if the computer program is necessary, does it have one that we make, or can we find an existing one?
- if the program has to be one we make, or can we modify or extend another program we already made?
Today, writing actual code is the programming of last resort. Software like Airtable and other no-code tools would handle these examples without the need for some poor inexperienced programmer to write code from scratch using a bespoke IDE.
I'd add that in 2014 there was another super-relevant Ko & Myers paper literally about what makes programming hard for users: https://faculty.washington.edu/ajko/papers/Ko2004LearningBar...
That paper is worth a read for everyone who wants to be helping novice programmers with new tools!
The core of programming is truly figuring out the problem you're solving. Everything else is management of complexity.
The second point is equally important, as you already said in "structuring and compressing that description".
The core of programming is try figuring out the problem (in your mind) and then serializing your thoughts in a way that both the computer _and_ other humans (or you yourself a year later) can easily understand.
The latter obviously is irrelevant if you write the code once, run it a few times and then throw it away, but we all know that most problems occur because this does not happen too often.
As a sibling comment notes, part of the challenge with the logic part itself, is that many folks don’t know exactly what they want before they start building. They think they do, and on some level they actually do, but it is not the detailed level at which software systems operate. That’s a major reason why all software is built in iterative process, there’s exploration that happens, not just of the software systems, but also of the whole logical structure and requirements.
A platform that can make that process easier will transform the world!
How did the web environment get botched so badly that creating pages with GUI tools disappeared?
There are other problems, and i wouldn't list this as one of them.
Similar stories still happen with Wix and Squarespace. The web pages they generate are powerful, but also full of dead code that is only useful to the editors, not the end product.
I liked VB back in the day for the ease to being able to throw together a simple GUI quickly though I don't miss the verbosity of Basic. There's a lot of RAD options available these days but few have hit that sweet spot of being relatively powerful while also accessible to first timers and bundled with a good variety of examples and helpers.
Outsystems and Mendix are some of the good ones.
But they cost money, they have a built-in lock-in, and programmers don't like them, because they simplify their jobs too much and are not good for the resume.
Wordpress with Elementor.
Computers have always sucked it doesn't matter what OS you're using they're full of undefined behaviour. No one is employed to design the whole and make sure the development environment is integrated to the point where it's as easy as the writer wants it to be.
Alternatively what you'll get too remedy this is some commercial tool that works in a very specific context and with a specific set of services and most likely won't interoperate with other stuff.
I like to think that making software easier to write will just free up more capital to be spent on other software problems. I haven't seen many software projects where the client doesn't compromise features due to budget or time.
Playing this kind of knowledge gatekeeping can work for a time, but it's a double-edge sword. Yeah you might profit for a while, but eventually someone will come and yank the rug out from under you because you have no competitive or innovative muscle left.
The way I look at it is this: if someone can automate something they should. As a programmer I've never had a shortage of higher order problems to solve. The skills that make you a good programmer allow you to move up the foodchain as lower-level problems are solved. You should embrace this rather than fight against it.
Early in my career I was making websites for $2-5k a pop, now most of that can be done with Shopify or Squarespace for $5/month. Can you imagine if I was still clinging on to that business model today? I'm sure it would be a pretty anxious existence wondering when the clients will dry up, and frankly I'm pretty happy not worrying about SFTPing someones files somewhere and hoping they don't call me when they misplace their password.
So am I scared about no-code tools? Hell no, I welcome these developments. If more smart entrepreneurs can get started building cool things and get traction, it's only a matter of time before they outgrow those tools, and come to me asking how we can take it to the next level. Same goes for big data, ML, etc. All of these are tools, we are nowhere near general AI that will obsolete a smart human technical mind.
The real threat to programmers isn’t going to come from easier tools it’s going to come from the failures of programmers and the ability for large companies to capitalise on it. I work in a non-tech organisation. We (and this is the strategical we) would like nothing more than to sign the keys of our IT empire over to Microsoft, IBM or whomever and simply use standard software because using custom software has been nothing but a three decade long story of failed, delayed and over budget projects. I’m from a programming background myself, and I never actually believed in standard software because it always sucked worse than the specialised software, but that is changing.
Over the past 5 years we’ve replaced more than 25 independent solutions (and enough money that I’ve not had to cut down on staff because of it) by simply using Office365. We used to have a myriad of different project management tools, now they’re all handles by teams and planner which both seamlessly integrate to our ESDH system (public sector documentation and record keeping).
We’ve kept our own programmers on staff, and they are busy, because we still handle quite a bit of internal data or services in Python and Powershell and we do a massive amount of RPA (robot process automation), but guess what’s now part of our Azure license. Because Microsoft recently pitched automation anywhere, which happens to be our branch of RPA software because we did it a little different than E&Y types recommend, but it’s like 5% of the license fee to run a municipality with 10.000 employees suite of RPA with Azure Auromation compared to what it would cost to do so in its competition. Which is just crazy.
That will be the doom of programmers, and the shitty tools that lead to failed projects might be part of the reason.
Maybe the market will move fast enough that it’s not an issue. It wasn’t an issue for web-developers when small businesses started being capable of buying a standard webshop for almost nothing, and as I mentioned we still employ our own developers. But I’d frankly be worried if I was young and not careering into some non-replaceable part of programming and even then, I think you might find that plumbers will earn more money than you in 10 years when the market is also saturated with all the people we are currently herding toward IT degrees because we need a few hundred thousand extra right now.