this post was submitted on 17 Dec 2024
181 points (100.0% liked)

Programming

17666 readers
346 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

It was merged after they where rightfully ridiculed by the community.

The awful response to the backlash by matwojo really takes the cake:

I've learned today that you are sensitive to ensuring human readability over any concerns in regard to AI consumption

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 76 points 4 days ago (2 children)

Fuck AI code generation. I gave it a fair shot and it's a waste of time that actively makes my job harder.

[–] [email protected] 30 points 4 days ago

My employer hired a consultancy company to implement some terraform and ansible code for some cloud infra and we got in return hundreds of machine generated code lines that do not work and now are suing the consultant.

Worst part, is that the guy who reviewed this ended up writing everything himself

[–] [email protected] 16 points 3 days ago

I use AI as a rubber duck or to get general ideas all the time. For example, I wanted to make a "hand" of cards splayed out using css, so I asked AI and it gave me a nice starting point I could tweak without having to fuss with figuring the formula to tilt which element at which angle. It's also quite good at guessing what boring boilerplate code I need to type next.

Another example: I was trying to figure out an architecture that adhered to OOP/SOLID principles for a specific task, and asked for an example implementation. I was able to test and think through a ton of permutations before landing on what I was taking to prod.

I think it's a nice tool for the toolbelt, but it isn't replacing a programmer anytime soon. You have to know what to ask and be able to intelligently analyze what it spits out to you