FWGX Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@devilish666@lemmy.world to Programmer Humor@programming.dev • 1 year ago

I need this....

lemmy.world

message-square
34
fedilink
368

I need this....

lemmy.world

@devilish666@lemmy.world to Programmer Humor@programming.dev • 1 year ago
message-square
34
fedilink
alert-triangle
You must log in or register to comment.
  • @histic@lemmy.dbzer0.com
    link
    fedilink
    English
    97•1 year ago

    Help! It didn’t change my code at all it’s just the same!

    • @InnerScientist@lemmy.world
      link
      fedilink
      37•1 year ago

      Can’t Improve Upon Perfection

    • @devilish666@lemmy.worldOP
      link
      fedilink
      14•1 year ago

      Congrats then…

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆
    link
    fedilink
    English
    21•1 year ago

    Is that pronounced “shitty er” or “shit tier?” 🤔

    • radix
      link
      fedilink
      15•1 year ago

      “Shitty-er” to rhyme with “prettier”, I would guess.

      • @loics2@lemm.ee
        link
        fedilink
        3•1 year ago

        “pret tier”?

    • @hemko@lemmy.dbzer0.com
      link
      fedilink
      English
      7•1 year ago

      Yes

    • geogle
      link
      fedilink
      4•1 year ago

      Superb-owl

  • Admiral Patrick
    link
    fedilink
    English
    19•
    edit-2
    1 year ago

    So…basically a prettier. I’ve never seen them improve the readability of my code. If I want pretty code, I just write pretty code :shrug:

    All the prettiers do is just 'eff up my deliberate indentations and break the editor’s ability to collapse code sections.

    • lazynooblet
      link
      fedilink
      English
      29•1 year ago

      Sounds like you’re using a shittier prettier

    • BombOmOm
      link
      fedilink
      English
      2•
      edit-2
      1 year ago

      Same. There is a logic to all code choices. Even basic things like the placement of empty lines to group code into ‘idea blocks’ massively helps with readability. This idea block touches x, and this next idea block touches y.

      A tool can’t perform perform even basic logic like that.

      • Kogasa
        link
        fedilink
        9•1 year ago

        If you have a lot of semantic breakpoints (like the end of a concept) that don’t line up with syntactic breakpoints (like the end of a method or expression body) your code probably needs to be refactored. If you don’t, then automatic code formatting is probably all you need.

  • The Assman
    link
    fedilink
    14•1 year ago

    Okay where’s the link

    • LoudWaterHombre
      link
      fedilink
      10•1 year ago

      https://github.com/rohitdhas/shittier

      • @CodeMonkey@programming.dev
        link
        fedilink
        4•1 year ago

        It looks like it targets JavaScript, the language that least needs it. What is the job security advantage of this tool over a minifier?

        • @learningduck@programming.dev
          link
          fedilink
          3•1 year ago

          Guess, it’s to make your code look hand crafted and not copied from Chat GPT or SO for some take home assignment.

  • @gandalf_der_12te@feddit.de
    link
    fedilink
    14•1 year ago
    function is_equal (x, y) {
      if (x == y)
          print("x is equal to y")
          return true;
      return false;
    }
    
    • @MTK@lemmy.world
      cake
      link
      fedilink
      1•
      edit-2
      1 year ago

      function is_equal (x, y) {

      if (is_equal(x,y))

        print("x is equal to y")
      
        return true;
      

      return false;

      }

      Fixed it for you

      • @Ironfacebuster@lemmy.world
        link
        fedilink
        1•1 year ago
        function is_equal (x ,y) {
            if (Math.Random() > 0.38) {
                console.log(x + " is equal to " + y)
                return true
            }
            
            return false
        }
        
    • @KairuByte@lemmy.dbzer0.com
      link
      fedilink
      1•
      edit-2
      1 year ago

      Wouldn’t this fail to compile due to the missing semicolon, and if that is corrected only ever return true?

      • Ziglin (it/they)
        link
        fedilink
        1•1 year ago

        Compile? This is JavaScript! Semicolons are optional, didn’t you know?

        • @KairuByte@lemmy.dbzer0.com
          link
          fedilink
          1•1 year ago

          Mmm I don’t think this could be JavaScript. Unless we are always returning true.

  • @asyncrosaurus@programming.dev
    link
    fedilink
    10•1 year ago

    Apparently every code base I’ve ever worked on was run through this.

  • sag
    link
    fedilink
    5•1 year ago

    It’s not working It make my code look pretty not shitty 3/10

  • bruhduh
    link
    fedilink
    2•1 year ago

    Yamedekudastop

  • @HootinNHollerin@lemmy.world
    link
    fedilink
    2•1 year ago

    Hail chaos

  • @brlemworld@lemmy.world
    link
    fedilink
    1•1 year ago

    deleted by creator

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: !programmer_humor@programming.dev

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
  • 1.62K users / day
  • 3.85K users / week
  • 9.63K users / month
  • 19.9K users / 6 months
  • 24.7K subscribers
  • 1.54K Posts
  • 55.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org