Remix.run Logo
phplovesong 4 days ago

Damn this hit me in a weird spot. The game looks fun, but the fact that you said "i cannot code" and managed to pull this off with sloppy ai is really scary.

I know this is just fun and games, but i cant even start to imagine what the code is like.

0xEF 4 days ago | parent | next [-]

I'm not here to defend generative AI (in fact, I'd say do not use it unless you already know the language/framework well enough to clean up the output) but we have got to stop arguing from a place that assumes humans don't produce sloppy code in equally alarming volumes.

About half of my week is spend troubleshooting old legacy code for this or that industrial automation devices and PLCs, the latter being their own animal driven by ladder logic. Regardless if it's some firmware in C, some proprietary app pounded out in some ancient .NET version or just plane old PLC programming, the amount of times I have puzzled over what the heck the original programmer was thinking is mind blowing. Prior to moving into this position, I had no idea what the crufty greybeards meant when they were griping about spaghetti code. Now I do. Stepping back through someone else's work, often done with some kind of set-it-forget-it mindset because, for some reason, people create things and ignore that the environment will eventually change, is the biggest, dumbest headache. So dumb, that about a year ago, I start practicing things like writing firmware from scratch because just starting from zero turned out to be easier than trying to fix someone's old, convoluted mess.

Most humans code crap. Some humans code very, very well and write beautiful, eloquent software as a result. Congrats to those in that crowd, but understand they are the minority. So, when we started feeding a stochastic parrot some code to teach it to do our work for use, we fed it garbage. And what happens when garbage goes in?

DoughnutHole 4 days ago | parent [-]

> Most humans code crap.

My biggest frustration with AI coding tools is that bad engineers are no better at judging the quality of AI code than they are at writing code themselves. So, their output has shot through the roof without an improvement in quality.

The productivity of good engineers has gone up as well but good engineers tend to actually think about what their tools are doing, which slows them down. Bad engineers are now able to output more shit code than ever before.

I feel like I’m watching my company building a house of cards in real time.

w4yai 4 days ago | parent | prev [-]

Spoiler : the code is not so bad