all 27 comments

sorted by: hot top controversial new old
[–] 97 points 2 years ago (2 children)

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

  • source
  • hideshow 4 child comments
  • [–] 21 points 2 years ago (3 children)

    Is that pronounced "shitty er" or "shit tier?" 🤔

  • source
  • hideshow 6 child comments
  • [–] 19 points 2 years ago* (2 children)

    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.

  • source
  • hideshow 4 child comments
  • [–] 2 points 2 years ago* (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 2 years 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.

  • source
  • parent
  • [–] 14 points 2 years ago (2 children)
    function is_equal (x, y) {
      if (x == y)
          print("x is equal to y")
          return true;
      return false;
    }
    
  • source
  • hideshow 4 child comments
  • [–] 1 point 2 years ago* (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 14 points 2 years ago (1 child)
  • [–] 10 points 2 years ago (1 child)
  • [–] 10 points 2 years ago

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

  • source
  • [–] 5 points 2 years ago

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

  • source
  • [–] 2 points 2 years ago
    [–] 2 points 2 years ago

    Yamedekudastop

  • source
  • [+] 1 point 2 years ago