StuartLemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 1 day ago

I wonder if this was made by AI or a shit programmer

gregtech.eu

message-square
143
fedilink
767

I wonder if this was made by AI or a shit programmer

gregtech.eu

Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 1 day ago
message-square
143
fedilink
  • funkless_eck@sh.itjust.works
    link
    fedilink
    arrow-up
    24
    arrow-down
    7
    ·
    19 hours ago

    while True:

    Jesus Christ

    • mobotsar@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      There’s nothing wrong with manually breaking a loop.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        An infinite loop used to be such a rank code smell back when I was a junior, specifically because I was a noob and made giant loops like 50 lines long and invariably didn’t plan the exit condition right, and then my computer would lock up and I would have to hard power cycle.

        But yeah, now it’s it’s a totally acceptable little pattern imho.

      • funkless_eck@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        4 hours ago

        There’s nothing wrong with eating a banana with a knife and fork, either.

        Except living with the shame.

        • Bane_Killgrind@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          Well these people probably don’t wash their hands so knife fork is the most sanitary way.

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      20
      ·
      19 hours ago

      You know that’s not the Tea code, but the downloader, right?

      • fmstrat@lemmy.nowsci.com
        link
        fedilink
        English
        arrow-up
        17
        arrow-down
        2
        ·
        18 hours ago

        Other reports state the Tea backend was Vibe Coded: https://www.ainvest.com/news/tea-app-data-breach-exposes-72-000-users-ai-generated-code-security-lapse-2507/

        • FooBarrington@lemmy.world
          link
          fedilink
          arrow-up
          19
          ·
          edit-2
          18 hours ago

          Sure, it might be, I’m not saying it isn’t. All I’m saying is: the screenshot shows the code someone wrote to download the images. It’s not part of the Tea codebase.

      • The_Decryptor@aussie.zone
        cake
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        15 hours ago

        They’re also not using requests very efficiently, so who knows.

    • Strawberry@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      12 hours ago

      eh

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.08K users / day
  • 4.06K users / week
  • 8.21K users / month
  • 18.7K users / 6 months
  • 1 local subscriber
  • 25.3K subscribers
  • 951 Posts
  • 18.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org