by endisneigh · 5y ago · 0 comments
That aside - what I'd actually prefer is something that does the opposite of this. Rather than write code, I'd rather it actually help decide what I should be doing, not give me how it's implemented.
Example:
> "Make twitter"
- "OK. Do you mean a short message sending service like "Twitter.com" when you say 'twitter'?
> "Yes"
- "OK"
- "How many users are you thinking this will have?"
> "20 million"
- "Alright, where are these users located?"
> "All over the world?"
- "Will they all be on simultaneously?"
> "Yes"
- "OK, what are your latency requirements?"
> ...
The end of this discussion could be a fully architected design in the abstract, with recommendations on specific technologies to use, the tradeoffs and the costs, if applicable.
A plus if said architecture could be specified in a way that makes it easy to deploy. This logic could be used for high level implementation designs, and even UI/UX.
aicoder< What is a User?
nocoder> a User registers with a unique email and a password of more than 16 characters, but not the weird ones just the normal ones. Oh, and on registration give the user a unique id.
aicoder< So, email the user their unique id?
nocoder> No, no, it's our little secret.
aicoder< Would you like to design the registration form now?
nocoder> God no, just make a standard form. With client-side validation. And server-side validation too, just to be safe. And give it some flair, we're a cool company after all.
aicoder< (I don't get paid enough for this shit.)
nocoder> Wait, what?
aicoder< Would you like to add the flair now?https://boingboing.net/2019/01/16/slacks-new-logo-is-a-playd...
How Slack’s New Logo Became a Lightning Rod For Everything Bad On The Internet
https://www.buzzfeednews.com/article/nicolenguyen/slack-new-...
The Penis Swastika Mistake
https://www.urbandictionary.com/define.php?term=The%20Penis%...
>The rookie mistake of trying too hard when designing a logo and you end up making one that has either a penis, a swastika, or both, included in your design.
...Or one swastika and four penises.
Well, my curiosity quickly led to the discovery that penises and swastikas have a large overlap with furries, by the way of the Rule34 site. Which finally made me realize that furries are probably the catch-all category on Rule34: making another ‘rule 34’ pic? well just slap furries on it, and you got that audience covered at almost no additional cost. The same way as incest titles are everywhere in porn, since it costs nothing to phrase every single title that way regardless of actual content.
Not yet, but give it a couple years.
You will join the taxi drivers, and so will I.
-IBM Press Release 1954 regarding the 701 translator
Predicting the problem will be solved in a few short years is the easy part. Execution to realize those predictions is much harder.
[1] https://www.ibm.com/ibm/history/exhibits/701/701_translator....
Other than that all you need is a camera, a computer and a dictionary.
At this point, language isn't a barrier. I read and write Russian without knowing how to read or write Russian. I regularly talk to my Russian friends in Russian thanks to Google Translate.
It may have taken a bit longer than the 1954 prediction said, but it did happen.
For one I still call a Taxi when I need one. Happy to pay a bit of extra to get a professional driver. I don't want to bash on people using other services or people providing those, but it's not for me.
Similarly my clients call me and my colleagues because they have a problem that needs solving, we solve it partly with programming because that is how we can solve it exactly, reliably and freely. We don't typically use low-code tools because they can trap us and they don't scale with our ability and understanding, and the productivity they promise is true for narrow uses. Our clients don't use them because it will and has taken them too much time to learn and use them with mediocre to (really) bad results, they want the problem to be taken care of and are willing to make a trade.
The second point is that I simply refuse to stop adapting and learning. I'm happily adopting technology into my repertoire when the tradeoff is worth it. Analyzing and understanding those tradeoffs is part of the job. Expanding knowledge is part of the job. And this was always true for anyone who works in software related fields, our community always has had to adapt, adopt and evolve, balancing pragmatism and curiosity.
Then they came for the taxi drivers, and I did not speak out— Because I was not a taxi driver.
Then they came for the frontend programmers, and I did not speak out— Because I was not a frontend programmer.
Then they came for me—and there was no one left to speak for me.
Part of me is pessimistic about AI programming tools, part of me thinks they’ll only enhance the agency of existing programmers.
Either way taxi driving is probably easier to automate and only requires modifications to Tesla’s self driving tech.
I suspect that these tools (if they do anything at all, anyway) will just make it harder to learn programming as a newcomer - just as all the advances in programming that have come about in my lifetime have. IDE's are great, until they do something you didn't expect, and then you have to understand what it is they're automating in order to figure out how to get them to do what it is you really want. Try explaining a Java classpath or dependency problem to somebody who's never opened a command-line terminal before. Docker is great - until it expects to find something that you happen to not have installed. What will probably happen here is that you and I will be fine, because we'll be able to effortlessly wield these new tools as they're just doing quickly what we used to do slowly, but new students to programming will have an even steeper hill to climb than we did.
At some point of time you will need to extrapolate. Twitter was an extrapolation, Google was an extrapolation as well.
Can a system trained to provide you with system design of a Twitter clone let you help with the design of, say, Medium?
Were they?
Twitter: "an absolutely minimal MySpace clone. Let users write posts to feed using SMS."
Google: "Like AltaVista, but without all the bullshit - just the search box. For weighting, have it use this funny algorithm we figured out the other day."
I'm not denying both were innovative - I just think the innovation, the "extrapolation", didn't happen at the technical/tactical level we're discussing here. All the pieces were already there, and used for similar things. The innovation was in figuring out that this particular shape of service is something people might want to use, and that it could make money.
That "just the search box" thing would not go anywhere without that algorithm. I guess the "search box only" design decision was a kind of thing that happened to ARM: its' founder said that ARM was able to give its' chip developers the thing that neither Intel nor IBM was able to give - the absence of money.
I disagree. "Limit on the post size" was not arbitrary, it was a technical limitation - Twitter was created as "a social network, but for SMS". SMS was a well-known technology back then. As for "this funny algorithm", in context of the dialogue 'endisneigh posted, the algorithm is just an input. "Hey, AI, use that thing as a ranking function". The "extrapolative" work would be the invention of the algorithm itself.
And maintenance is 90% of the work.
There is such a huge code case, because writing the code was easy to do.
You can move it to a higher level, and there are usually tradeoffs there, and perhaps AI can help mitigate some of those. But in the end, you need a way to specify the system behaviour in explicit detail. Which is where software developers come in.
That's not going to go away because AI comes along, AFAICT, though it may (as it already has many times) change form or grammar here and there.
That interactive prompt system is going to get boring fast, so we'll script it. And then build on that and ...
You might argue, "well then generating the code is still a win" and it might be, but its a micro-optimization. If the AI can do the easy part but not the hard part, its akin to shaving seconds from an operation that takes hours. Its focusing on the wrong thing. If the AI could instead do the hard part, you would save a lot lot more effort and therefore money. Once that's done, by all means, automate the easy part too, but until then, the priorities are off.
You might still say that this is worth it, saving those seconds still means you don't have to pay for them, even if the majority of the cost is still there. This is possibly true and all well and good. I don't really care, because I'll still have a job doing the hard part. The issue is that when these AI's are mentioned, the "hard part" is always glossed over, the AI is sold as this thing that will automate all development, where it really should be sold as a thing that shaves a little off the total cost of development, but that the hard and therefore expensive parts are still there.
Sure, there are some development tasks that are fairly trivial and some companies that do mainly these might go out of business, but you still have the stories of oracle selling a website to the government agency for $100 million, because it has to interact with a slew of legacy systems, deal with ambiguous tax codes/regulations/requirements. There's a lot of tech out there that has these complexities and that's not going to be automated by these AI's for now, until they tackle "the hard part".
A note on "all the details": if you truly have all the details (refined unambiguous requirements, detailed architecture with all the use cases and edge cases outlined and documented, technology tradeoffs investigated and documented etc etc) then great, it would be quick, easy and cheap to implement then. Unfortunately, what is more common, is that a non-developer will say this and "all the details" really isn't all the details at all and just the tip of the iceberg.
The hard part is still running the service, dealing with scalability problems, security, bugs, customer support, new features, content moderation at scale, legal compliance, meeting service level agreements, supporting multiple platforms, etc…
If only architecting the platform and writing the code was all we needed to do… every developer would be doing it.
Would this violate something in computer science theory?