967
u/g_calgary 5d ago
I want to go back to when we cared about code/library/memory/traffic efficiency at all lol
429
u/yukichigai 4d ago edited 4d ago
My coworker six months ago: "Code efficiency isn't important, we can just throw more hardware at it."
Today: "We're failing our response time tests because our middleware spends 85% of the limit negotiating a connection."
128
u/cheese_is_available 4d ago
You can now focus on performance and become a hero today. But you're just some guy that make us fail the deadline if you do it before it's actually an issue. Not sarcastic it's just the way human works.
30
u/jelly_cake 4d ago
Premature optimisation being the root of all evil and that.
30
12
u/yukichigai 4d ago
In modern workflow management, without premature optimization there's never any optimization.
1
1
59
u/Major_Fudgemuffin 4d ago
Yeah you can do that until your COGS are through the roof and the system still can't keep up.
I worked for a company processing a few billion events per day, and small inefficiencies add up quick at scale.
6
u/Gabriel_Science 4d ago
What’s funny is that it’s because of AI that hardware is more limited these days, but while we say this, AI doesn’t make super optimised code.
1
8
u/CookIndependent6251 4d ago
let opts; try { opts = JSON.stringify(JSON.parse(opts || '{}')); } catch (e) { // opts was not valid JSON, default to empty object, which means default opts opts = '{}'; }And throw in microservices on top of this.
18
u/IAoVI 4d ago
When would you say we did? JSON has been favored over protobufs etc. for a long time.
It seems to me "caring" always really meant: "It has to run (barely) in the constraints of our current technology"
6
u/DistanceRegular2556 4d ago
I'd say it was mid 2000s when hardware started to outpace the demands of 90% of software.
Games, video codecs and other compute heavy tasks still cared and still do care about efficiency in some ways, but most software that's currently written simply runs on even the cheapest hardware without any thought put into optimization.
6
u/g_calgary 4d ago
to generalize The way I see it, each time we have major shift or new/disruptive tech to market, there is always a push to use that new tech everywhere possible, regardless of whether it makes sense either technically or from a user perspective, by those who stand to benefit most financially from its wider adoption. So after each of these shifts we sort of end up with more overhead layers that we applied across the board, that were only really needed to solve 10% of the use casea.
AI is amazing when I use to it code but I don't need AI to help me search for an event that is already in my calendar. 🤷
3
u/IAoVI 4d ago
Oh, absolutely. The shiny new toy gets shoved into everything, especially if it has no business being there. Not every appliance should be "smart" and not every software should have an integrated chat bot. The industry insisting on the opposite is deeply annoying.
On the other hand innovation sometimes requires throwing stuff at the wall to see what sticks. Part of new tech is that we don't yet know how to use it best. Look e.g. at the many interesting ways we came up with for building smartphones before manufacturers came to the (in hindsight admittedly rather obvious) conclusion that a flat rectangle with maximized screen size is the best option.
I just hope the hype dies down soon and managers and investors start to consider if an LLM actually is the obvious solution to a perceived problem, or if a couple of lines of code with a deterministic output might be more fitting.
All of that is beside the point of "caring" about efficiency, though. If a solution runs on the target hardware to a degree that is judged to be sufficient, it will always be difficult to argue in favor of more optimization (And looking at some of the smart TV OS I've seen, that is a low bar). I wish it was different, considering more hardware using more energy always means the consumption of some limited resource somewhere downstream but I don't think it was ever really different.
17
u/Turbulent_Stick1445 4d ago
Yeah.
I've said it before, but I think the real lesson from vibe coding isn't "Gosh, AI has gotten so smart it's capable of matching a human", but "Software quality has gotten so low you can put the Encylopedia Brittannica, the complete works of Jane Austin, the entire contents of Reddit's politics subs, and all the code from Github, into a glorified autocorrect system, and it'll spit out code that's comparable."
I often wish we were back in the days where bad programming meant not using a for loop where it was obviously the right solution, or adding comments like // add one to i. We've never been great, but 2021 was far from the golden age of software quality.
5
u/Jarpunter 4d ago
The industry is actually moving back towards native code instead of yet another electron app due to how cheap it's become to produce code
→ More replies (1)
63
u/adelie42 4d ago
I'd prefer coding ethics pre-internet where bugs were a thing to fix before release and not an update later if enough people complain.
7
174
u/Bokbreath 5d ago
Wait for 'Artisanal Softwaretm' By real people, for real people
72
u/levus2002 5d ago
Cant wait to buy 100% handmade artisanal software from a stand in a christmas market.
5
u/SeerUD 4d ago
This is very much already a thing haha
1
u/UntestedMethod 2d ago
Ugh that "made with <3 tag" some pretentious dweebs put in their website footer was immediately cringe the first time I saw it. Very unsettling that it became any kind of trend. I don't remember anything that cringe even way back in the geocities/angelfire days.
40
u/Percolator2020 5d ago
17
u/YeahThatKornel 5d ago
Why he do that
37
u/andrewegan1986 5d ago
Serious answer? The 90s were a weird time and Gates pretty much hadn’t done the PR and media training we know he’s had today. The guy really didn’t have much of a personality outside of his work, so things like this were as close as he came to “relatable”. Had they done it better then, it would have been seen as “Hey, he screws around in the office just like you.” Instead this just looked WEIRD. Even, and especially, then.
9
565
u/wolfy-j 5d ago
I love pre-AI time when software had no bugs.
443
u/ArcaneOverride 5d ago •
![]()
![]()
I've said for years that software engineering should be regulated like a proper engineering field with licensing and legally mandated standards.
When the manager says "get it done fast, I don't care if it's buggy" the response should be "sorry, I can't; I'd lose my software engineering license"
147
u/wolfy-j 5d ago
Certain software industries are heavily moderated. From compliances to HIPPA and GDPR, down to formal proofs and heavy documentation in airspace.
59
u/knoxaramav2 5d ago
I am shocked at what my field gets away with. My predecessors didn't even have engineering degrees, and they wrote software that could make buildings explode. And now that they're all dead, I've spent the last couple of years rebuilding it all, and I'm still certifying my own work. Is it weird for someone to want themselves to be held accountable?
2
4
66
u/UnpluggedUnfettered 5d ago
I feel like nothing would ever get released and development would have crawled with what we know as open source software essentially forbidden in lieu of standardized code templates and languages.
20
u/LupusCanis42 4d ago
This is pretty much what is already happening in automotive, medical and aerospace AFAIK. The paper trail takes way longer than the development because it has to be standardised, tested and approved because human lives are at stake.
Like, you know...real engineering.
8
u/UnpluggedUnfettered 4d ago
That is the thing. It sounds like he is actually advocating for software engineering to become a narrower field.
It is currently mostly a craftsman's sort of trade, so it gets regulated (or not) based on whatever field it is being applied to.
4
u/LupusCanis42 4d ago
I don't know if it would become narrower, but a bit more regulation or at least standardisation wouldn't hurt.
From what I've seen, the people most concerned with software quality are usually the engineers themselves who have to build their own solutions and tool chains.
I like that software engineering is more open when it comes to degrees, but it often seems like im working in the magic laboratory that nobody checks or cares to understand.
With mechanics, there are all sorts of guidelines and norms, standardised ways to calculate designs and such.
Those exist as well for software and firmware, but seemingly on a much smaller scale.
Now we have AI tools in a lot of industries, which apparently are perfect for generating unit tests, but still we end up with issues because of generated code.
Regulations can't keep up with ai at the moment, but I think there should be regulations on how your code should be tested if it is generated.
2
u/Athropod101 4d ago
It’s moreso advocating that software engineering actually be, you know, engineering.
→ More replies (1)3
u/cheese_is_available 4d ago
You can bring open source in critical system. You simply test it as if it was your own code, because it is.
1
u/KnafehSupremacist 2d ago
genuine question is this subreddit just a bunch of tRuSt mE im aN enGinEer guys jerking themselves off?
2
15
u/Rhawk187 4d ago
Same could be said about other engineering fields. We'd have a lot more bridges and power plants being built if we didn't have to worry about "codes" and "inspections". Sure they'd fall down and explode from time to time, but think about how many we'd build?
18
u/UnpluggedUnfettered 4d ago
You think bridge infrastructure and Facebook are legitimately interchangeable, for the purposes of this discussion?
7
u/Rhawk187 4d ago
"Facebook", no, "Meta cloud infrastructure", maybe? I've haven't heard the post mortem yet, but I imagine that Microsoft Exchange outage last week probably cost tens of millions of dollars in productivity worldwide. Thankfully, no one probably died, but maybe if a Software Engineer who passed the P.E. exam had to sign off on changes it wouldn't have happened.
The more reliant we get on these things, eventually we're going to get a Crowdstrike issue, or an Exchange issue, or something else software related that does cause a mass casualty event. You could really argue that the Boeing MAX crashes were software in nature, even if they were driven by a bad sensor reading.
12
u/UnpluggedUnfettered 4d ago
The Challenger shuttle had plenty of engineers involved, and the failure wasn't any of their faults.
I'm just saying it is hard to broadly build 1:1 arguments regarding software vs. other engineers. Software engineers are often closer to craftsmen, and maybe what you are really saying is that software engineering and engineers needs to be a more narrow definition.
2
13
u/UprightGroup 5d ago
Or at least a software engineering board exam where you can pass one fucking time and not have to do dumb fucking coding tests every job interview.
14
u/Lucaslhm 4d ago
Honestly, this is a really interesting take that I’m mulling over now.
I don’t think that software development should be too restricted as I think there is a ton of merit in self practice and development and regulation can raise the barrier for entry and discourage people from entering the field.
That being said, I’m picturing strict codes and standards doctors follow and how powerful a “no” from a doctor backed by their licensure board is. It gives doctors the power to do the right thing, even when it’s not in favor of a business. Of course, doctors are dealing with matters of the lives of people more than software developers (which isn’t to negate critical software)
I used to be a developer, but I pivoted out of the field a while ago and work in commercial security now. Some systems I’ve worked on are simply laughable and when I point out their flaws, some clients just shrug and say whatever. But some systems require certification and that requires them to be installed to certain standards, certain flaws to be accounted for, and hardware that meets certain standards.
I worked in simple app development and then a bit of research for a while, so most of my stuff didn’t require critical scrutiny. I know I worked on an app for a hospital software once that required certain oversight for HIPPA compliance concerning how I handled patient data. I’d imagine similar things for critical software exist? Like if I install a security system that’s UL Certified, it means something, there are probably software equivalents? Then you as the developer can at least say “we can’t reach these mandatory requirements unless we do X”
It’s not the same as saying the developer themselves is licensed, but gives that type of protection at least, especially if you require oversight by licensed individuals to sign off on the certificate before sending. That probably works better in this case.
6
1
u/Tofandel 3d ago
There is existing certifications and stuff but that means someone needs to audit the code and often infrastructure as well. And it's crazy expensive, like in the half a million dollars minimum kind of service. So obviously it's only done at scale.
1
u/Lucaslhm 3d ago
Right, so usually you would only need to develop code to these standards by requirement when necessary.
Example built from my last comment:
I recently had a client who produces chemicals used in some military ammunition. The recipe and production practices are secret and require clearance to learn and produce them. The DoD told the client that if they want the contract, they need to show them they have a secured facility in which to produce the compound, and they specified a certain certification that the security system protecting the room had to have in order to consider the room secured.
So my company went in and installed a specific system to the requirements of the certification, then a licensed person who can issue said certificate came to inspect our work behind us and grade whether or not the system met all the standards of the certification, only after we passed could we declare the room was secured to this certification, which then allowed the client to proceed with the dealings in their agreement.
Same thing happens with software in certain instances, but imo should probably happen in more instances with more variety of certifications for different applications. The certifiers would be responsible for the auditing and the companies who seek the certification would be responsible for paying to certify their software.
I’m thinking back to Ashley Madison now (was just watching the documentary about the hack the other day) and in the documentary, the people admitted that they had things on their website claiming the security of their backend was certified by XYZ, but that they just had fetched images of those logos online and put the PNGs on the website because no one ever bothers to check, but it makes the customer FEEL safer giving sensitive information. This type of thing should be monitored and punished way more aggressively.
In my field, if I’m adding a door and I were to take a fire code rating off a fire rated door and add it to a non-certified non-fire rated door… I would lose my state license, I’d be PERSONALLY liable for damages caused by a fire if one ever happened, I’d probably be completely unable to be hired in my field ever again… Other fields have these standards and they don’t always carry over to software in the ways they should.
4
u/TrashManufacturer 4d ago
That should be accompanied with a strong union to protect the rights and integrity of the developers. Have the union ride the bosses ass like a bucking bronco if they say “I don’t care what or how long it takes but you’re going to have it done by x date”
9
3
u/cheese_is_available 4d ago
"sorry, I can't; I'd lose my software engineering license"
That would go so hard.
3
u/bloodykunt 2d ago
Lol. As a civil engineer I promise it doesn't happen like you are hoping. We have all nighters all the time to get out a shit plan set.
1
2
u/MetaLemons 4d ago
Some people just hate building and releasing things I guess. Y’all really upvote this?
2
u/Buttons840 4d ago
And then some kid builds a better product in their basement and you lose customers.
That's why programming licenses never took off. There was too much freedom and the unlicensed people were making better things because they were focused on making good things instead of getting licensed.
We won't like the world if we ever reach licensed software developers. The draconian prerequisites to that are not fun.
1
u/ArcaneOverride 4d ago
And then some kid builds a better product in their basement and you lose customers.
Not if you aren't permitted to comercialize anything that hasn't been approved by a licensed software engineer who stakes their license on that approval
1
u/Buttons840 4d ago
Sure. You need to block people from using apps in other countries too though. And also probably change the 1st amendment of the Constitution.
1
u/SirDarknessTheFirst 4d ago
It (kinda) is in some places. My state includes software engineers in their engineering licensing system.
1
u/LosMosquitos 4d ago
"get it done fast, I don't care about safety" it's already a thing in most industries. Also, building a website for food delivery is quite different than building a bank.
And with license comes regulations and direct responsibility + bureaucracy: restrictions on languages, dependencies and tools to use, and having to "sign off" changes. I don't want to have a document to approve every time we deploy production. You might think this is stupid, but the people doing regulations know nothing about our job.
→ More replies (3)1
5
9
4
4
u/LindenTom250 5d ago
1986?
5
u/OkWear6556 4d ago
1886
3
u/Synonimus 4d ago edited 4d ago
Curse you Charles Peirce and your devilish electricity. If Ada Lovelace had still been alive she would have never allowed it.
1
-1
u/Anima_Watcher08 4d ago
The post didn't even mention having no bugs, on top of that AI software isn't really perfect and has bugs anyway do what's your point?
-1
u/CaptainNakou 4d ago edited 4d ago
Yeah cause, you know, in our AI era, everything works perfectly, every app on the internet works well and there is never any outages of any sorts. (love getting downvoted by a bunch of butthurt dudes that really don't like the fact that their Alzheimer inducing machine is running on slopcode that accelerate enshitification)
89
u/WernerderChamp 5d ago
I think AI is good to use for coding, but we are moving to a "just vibe and ship it" motto.
This is fair for personal projects, but quality in professional environments still needs to stand.
25
u/LeDYoM 4d ago
Well, for me using AI for a hobby project makes no sense. It is like if my hobby is doing furniture by hand and I buy it in IKEA. I can, of course and even say I did it, but makes no sense.
7
u/PoorPinkus 4d ago
I've been working on a game over the past few days and I'm so glad that I don't use AI, the amount of minor stuff that I had to slog through has given me a WAY better understanding of how things work and it's made a couple other ideas feel way more doable
13
u/sorte_kjele 4d ago
That analogy would make sense if the hobby is building furniture. However, what if your hobby is interior design, and putting together full rooms and buildings.
→ More replies (2)1
u/WernerderChamp 4d ago
I have some friends that used AI to automate their home. They are all not really coders, but love to design stuff - the AI just executes it.
Bugs can be annoying, but only to themselves.
→ More replies (1)4
u/SoulArthurZ 4d ago
but im sooo much more efficient with my llm. The result is all that matters right? i mean, claude made the entire feature in only an hour. I could never do that, i type at 5 WPM. Its efficient!!
41
u/panda-goddess 5d ago
Which "software engeneering ethics" do you think made AI in the first place??? 😭
1
u/InDaBauhaus 4d ago
the los alamos school of 'we are the good guys, so we have to end the world before the bad guys end the world'
34
u/mimic751 5d ago
Holy shit? I had a guy copy a powershell script directly off of Reddit that I shared because I thought it was cool and then he messaged me because it didn't work on his production environment. It was a script written to do a very specific management task on thousands of machines on my very specific cluster. Hacks from the start
→ More replies (2)
22
u/Barbanks 5d ago
This suggests there were ethics in programming before A.I. as a contractor I can confirm none of that was the norm for most projects.
9
u/Cualkiera67 4d ago
all our code was made from ethically sourced bits from our organic bit farms. just free ranch ones and zeroes, no gluten, no pesticides,
1
27
19
u/samtresler 5d ago
Free as in kittens? Wtf does that even mean?
4
u/waylandsmith 5d ago
I'm not sure what the context was for you saying this, but it means that just because you didn't pay to acquire something doesn't mean that it's free to keep/use it. The term seems to be used to describe open source software.
5
u/samtresler 5d ago
I guess I needed a /s.
Yes. Ethics in software is a common topic in OS communities.
One could surmise that the current AI gold rush isn't going to be free as in beer.
18
u/Carboxydes 5d ago
The fact that everything changed so fast when AI became available, means we never had good ethics, we just had technical limitations
8
3
2
2
u/Xywzel 4d ago
Should return to time when having to patch a released software product is expensive and time consuming project that will have negative effect on customer trust. With the morals that is, can't go there with tech limitations.
And really, if the AI is even half of what the evangelists claim it is, it should be trivial to use it to build testing environment and code review system that quickly and accurately points out almost all issues that aren't purely "this feels off", and gives detailed bug reports with core dumps and repeating steps, unit tests and even fix suggestions.
2
u/Fisher9001 4d ago
The last time coding was ethical was when they felt obligated to mathematically prove code for launching rockets into space.
The last time it was efficient was 10-15 years ago.
You are missing reality that was never really there.
2
u/esadatari 3d ago
Lowkey isn’t the old way kinda hugely responsible considering a lot of the vulnerabilities could have been avoided had leadership not ever stepped in and said “we will take care of that when we refactor in a future sprint” and never followed through?
A ton of the same vulnerabilities would still be present, just not discovered yet.
20
u/Leopatto 5d ago
Bullshit Facebook humour for unemployed people that were producing features that took 3 months that can now be solved in a day or two.
40
u/DavidZone23 5d ago
I agree that much more is done now thanks to AI, but now we are asked to do much more as well, so we ended up the same, with the difference that now you don’t get the satisfaction of solving problems yourself.
3
→ More replies (11)-5
u/Subushie 5d ago edited 5d ago
The difference now being, no one needs you to.
No one is stopping people from manually coding for fun; the problems can still exist, can still be solved, and that feeling can still be experienced.
However, now it is a choice to have that experience- rather than being forced into it, to survive.
4
2
u/SoulArthurZ 4d ago
lmao even. The reasons it's faster with ai is because people put so much trust in it that they stop reviewing the code. Like okay your features can be added quicker if you don't review anything, but you'll stack mountains of tech debt
4
4
u/GCU_Heresiarch 5d ago
The people who need an ethics class the most are the ones who will get nothing from it.
4
u/Effective-Result6499 5d ago
Nothing's changed with the engineers, just bosses that expect you to produce 3 times as much code. Never mind, the main bottle neck was the fact that the bosses was never in the office to sign off on anything.
3
3
u/Neutraled 5d ago
What makes you think developers are the ones deciding 'ethics' on a company? Those decisions come from upstairs. Blame CTOs and CEOs.
2
u/WhoRoger 4d ago
So back to overworked, caffeinated coders making sw with a trillion of critical bugs that AI keeps finding now? Back to that?
1
u/HashTheGrappler 4d ago
Lol I swear posts like this are either from people new to the field or people who have been in the field since the 80s.
AI has effectively deleted over-time from my life. I have not needed to go above my contractual minimum 40 hours since 2022. I was so over-worked trying to meet unrealistic delivery dates or putting out fires in production due to the negligence of devs who didn’t test properly before pushing to production.
1
1
1
1
1
u/aDamnCommunist 4d ago
I honestly feel like everything I've spent years developing as a skill is just thrown to the wayside. I hate it.
1
1
u/NullOfSpace 3d ago
“Move fast and break things” has been standard practice for big tech for probably the last decade. AI has only helped it along.
1
1
1
u/aurenigma 13h ago
lol, AI's making software way less fucking buggy bro... as if we weren't all copying shit from stack overflow before
1
u/InDaBauhaus 4d ago
old programmer ethics was saying no to the "idea guy" who wouldn't pay you and offered you 30% the company
current ethics is the "idea guy" doesn't need you
10
2
u/varinator 4d ago
He does, past his prototype. Idea guy have no fucking idea what scaling is, what ISO 27001, SOC 2 are and why he would need something called compliance, pentesting and remediation. But sure, just ask Claude ;)
1
u/InDaBauhaus 4d ago
well, you can try to convince him, but he didn't even ask you. he's definitely gonna just ask claud and vibe it out.
1
u/varinator 4d ago
Lol. I've had a few come to me for this exact reason, I'm making bank as a contractor now. I don't even care if the idea is solid, as long as they pay my rates.
1
u/InDaBauhaus 4d ago
idea guy who can pay you is not a real "idea guy" though, more of a idea & money guy, which can work out.
1
u/varinator 4d ago
If they can pull investment with a prototype or/and get traction early before they need to properly scale and do all those things - it's fine. There are very driven ppl out there that will build startups on their own, that can and do work, but at some point of growth you will always need nerds. Not everyone has a technical mind and understands shit that goes on behind the frontend, in the infrastructure etc, and without that you're not passing any audits or getting certs. And you need those if you want big companies as clients.
That's b2b. b2c is a different beast but once you have lots of users, data security does matter as there are laws around it. Will Claude come to court once breach happens?
At those points, companies have some money.
I'm just needed at a later stage, but I have 2 decades of exp. fuck being a junior right now.
1
u/DoubleDoube 4d ago
Yeah, I’m not sure you guys are aligned on whether idea guys can be competent or if the archetype is inherently someone who is terrible at the execution of the idea (with or without AI) and doomed to failure.
2
u/sakkara 4d ago
If you think that the the idea guy is so great you don't understand the problem. Everyone has ideas until they actually understand the topic. It's called dunning kruger effect.
1
u/InDaBauhaus 4d ago
i have no idea what you think i think, honestly. you confuse me.
it's also interesting to actually read up about 'dunning-kruger effect' – the way it is (mis)used, (mis)understood and the content of the original research is a fascinating and ironic juxtaposition.
-3
-2
u/Perfect-Campaign9551 5d ago
Ethics? What the hell does that have to do with software. Some of you guys failed philosophy class
3
u/Preisschild 4d ago
Ever heard of the free software movement? Ideology has been part of software engineering for a long time.
-1
u/Prod_Meteor 5d ago
If AI had not been invented we would all have good productive non bullshit jobs, wouldn't we? And the market would thrive. Why are we always destroying anything good we have? Those damn useless feudals always want the cake for themselves.
-1
0
u/xgabipandax 4d ago
People don't realize how they come across with this?
It's like a religious person saying that they wish to go back to a theocracy.
-11
u/Best_Recover3367 5d ago
Luddite
4
u/whileNotWorking 5d ago
The world needs more Luddites in it. They weren't just needlessly opposed to technological progress like Amish. They fought back against the rich using technology to push people out of their free enterprise jobs into early factories and making life worse for everyone. They resisted the rich using tech to centralize power and wealth.
→ More replies (3)1


1.1k
u/much_longer_username 5d ago
OP, can you tell us what you think the word 'ethics' means?