programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Rokil@sh.itjust.works to Programmer Humor@lemmy.ml · 2 years ago

A new way of programming

sh.itjust.works

message-square
38
link
fedilink
382

A new way of programming

sh.itjust.works

Rokil@sh.itjust.works to Programmer Humor@lemmy.ml · 2 years ago
message-square
38
link
fedilink
alert-triangle
You must log in or register to comment.
  • Hupf@feddit.de
    link
    fedilink
    arrow-up
    90
    ·
    edit-2
    2 years ago

    print "hello world";

    or else;

  • Aurenkin@sh.itjust.works
    link
    fedilink
    arrow-up
    61
    arrow-down
    1
    ·
    2 years ago

    Like back in the day when the Romans would have the engineer stand underneath the bridge while it was tested.

    • bob_wiley@lemmy.world
      link
      fedilink
      arrow-up
      22
      arrow-down
      6
      ·
      edit-2
      2 years ago

      deleted by creator

      • 🧋 Teh C Peng Siu Dai@lemmy.worldB
        link
        fedilink
        arrow-up
        18
        arrow-down
        1
        ·
        2 years ago

        Sounds good, the finance, political and oil industries should adopt this practice too. Stock market crash - wall street culling time! 🥳

      • sudo22@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        2 years ago

        Drive a single 18-Wheeler (hundreds in a day, whatever) over any ancient road or bridge you’re thinking of and you’ll see how false this statement is.

      • ch00f@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Survivorship bias.

        All the shit they made that didn’t last fell apart in 20 years, so it’s not around anymore for us to gawk at.

        • bob_wiley@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          2 years ago

          deleted by creator

    • JackGreenEarth@lemm.ee
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      That sounds interesting, I did a quick search and couldn’t find any good sources for it. Do you mind linking yours?

      • dukk
        link
        fedilink
        arrow-up
        10
        ·
        2 years ago

        It’s actually a common misconception. Here’s a good article which debunks that. TLDR there’s no true historical evidence that this ever happened.

  • mvee@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    2 years ago

    Technically this should be the behavior of os.remove when called with no arguments

    • Kit Sorens@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Wouldn’t that default to C:? Sys32 rm still leaves userdata

      • mvee@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Exactly, just remove the os 😅

        • treesoid@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          os.del_universe()

          For quantom bogo sort

  • NorthWestWind@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    2 years ago

    laughs in linux

    • Programmer Belch@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      2 years ago

      os.remove("/bin/")

      • vettnerk@lemmy.ml
        link
        fedilink
        arrow-up
        27
        ·
        edit-2
        2 years ago

        Permission Denied

        • Hotzilla@sopuli.xyz
          link
          fedilink
          arrow-up
          11
          arrow-down
          1
          ·
          2 years ago

          Real men execute everything as root

          • flashgnash@lemm.ee
            link
            fedilink
            arrow-up
            11
            ·
            2 years ago

            You guys have normal user accounts?

        • whoareu@lemmy.ca
          link
          fedilink
          arrow-up
          5
          ·
          2 years ago

          sudo python3 boom.py

          • vettnerk@lemmy.ml
            link
            fedilink
            arrow-up
            6
            ·
            edit-2
            2 years ago

            whoareyou is not in the sudoers list. This incident has been reported.

        • vkirlin@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          ~

          Not sure if you can use it in Python directly but you got the idea

      • I use NixOS btw @lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        laughs in NixOS

  • Knusper@feddit.de
    link
    fedilink
    arrow-up
    17
    ·
    2 years ago

    Reminds me of Suicide Linux: https://qntm.org/suicide

    • Dave@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      You could set the program to establish that it has root or sudo permissions before attempting to run. Then the line in except that runs rm -rf / would be more effective.

  • james@lemmy.jamesj999.co.uk
    link
    fedilink
    arrow-up
    16
    ·
    2 years ago

    Permadeath programming, love it

  • clutchmatic@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    2 years ago

    This is the scorched earth approach to error handling

  • Morphit @feddit.uk
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago

  • speaker_hat@lemmy.one
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    rm -rf / and chill

  • tracyspcy@lemmy.ml
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    2 years ago

    Works on my pc

    • clutchmatic@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      Only once, tho

      • tracyspcy@lemmy.ml
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        2 years ago

        No one promised more ;)

  • ProcurementCat@feddit.de
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    1 year ago

    deleted by creator

  • LuckyCharmsNSoyMilk@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    Survival mode programming

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Container orchestrators hate this one simple trick!

  • AstralWeekends@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    Can’t say there’s any bugs if there’s no way to recreate them!

  • JohnSaveourSocks@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    Russian Roulette: Programming Edition

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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]

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 326 users / day
  • 471 users / week
  • 1.83K users / month
  • 10K users / 6 months
  • 724 local subscribers
  • 35.6K subscribers
  • 1.74K Posts
  • 38.5K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org