In c/unpopularopinion, people just upvote the opinions the like, making them popular. There are barely any unpopular opinions there.


Person in the video - Kangna Ranaut - Wikipedia

Song - Chiggy Wiggy from Blue - YouTube

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

Eeeeh. I disagree. Disclosure: I’m a developer.

Can AI write code? Yes. In fact I’ll sometimes give it obtuse code I wrote and ask if there’s a way to simplify it, then use that as a jumping board on where I might want to head.

You know what else it does? Not understand context, or situations it hasn’t been made explicitly aware of.

I’ve given it plenty of things that it spit back just plainly incorrect or fundamentally altered code. Sometimes it’s just ignoring best security practices, sometimes it’s trying to use a string as an int, sometimes it just makes up “standard” functions that don’t actually exist because someone one said “wouldn’t it be nice is int.ThisFunctionName existed and did specific thing?”

Anyone shitting on AI for spitting out code is missing the point. Vibe coding is fine for personal projects that never get released to the world, but the moment you’re trying to build a business on top, or want to release it? Vibe coding is downright dangerous. There have been a number of vibe coded websites that were just sitting open for anyone to look at the personal information, because no one who knew what they were doing was involved.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 2 months ago* (3 children)

    There have been a number of vibe coded php websites that were just sitting open for anyone to look at the personal information, because no one who knew what they were doing was involved.

    Re-wrote this for you for 2016.

    Just saying, the web has been like this forever. The only thing AI is changing about people building insecure websites with shit code that that they look like someone talked to a designer for 10 seconds before it went up.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 2 months ago (2 children)

    No, that’s quite different. PHP is a language, any language can be made secure so long as it isn’t running client side.

    This is like saying PHP and a script kiddy are equivalent.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 months ago (1 child)

    I am using PHP as a metaphor. Like, even a script kiddie could get up a working PHP site and it doesn't matter how spaghetti the code is - it will still run.

    Even a vibe coded site can be secured, the language doesn't matter. Shitty sites with terrible security have always and will always exist on the web. AI didn't start this trend and we should not pretend like web development has been like this for years.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 2 months ago

    AI didn’t start the trend but it has pushed that change to an extreme. A user who has no concept of security can sling up a nice, polished-looking application and publish it to the web. That was always “possible” but the bar needed to get to the point of publishing was higher, so the chances of pushing insecure code was lower.

    The number of “developers” who literally don’t know how their application works is staggering. I have seen people literally say “I don’t know how it works” of their own project, and that should be terrifying for published code.

    Again, for small diy things it’s whatever. But as a project released into the wild it is, at least currently, irresponsible.

  • source
  • parent