Help! It didn't change my code at all it's just the same!
97 0 ReplyCan't Improve Upon Perfection
37 0 ReplyCongrats then...
14 0 Reply
Is that pronounced "shitty er" or "shit tier?" 🤔
21 0 Reply"Shitty-er" to rhyme with "prettier", I would guess.
15 0 Reply"pret tier"?
3 0 Reply
Yes
8 1 ReplySuperb-owl
4 0 Reply
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.
26 7 ReplySounds like you're using a shittier prettier
30 1 ReplySame. 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.
5 3 ReplyIf 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.
9 0 Reply
Okay where's the link
14 0 Reply10 0 ReplyIt looks like it targets JavaScript, the language that least needs it. What is the job security advantage of this tool over a minifier?
4 0 Reply
function is_equal (x, y) { if (x == y) print("x is equal to y") return true; return false; }
14 0 ReplyWouldn’t this fail to compile due to the missing semicolon, and if that is corrected only ever return true?
1 0 ReplyCompile? This is JavaScript! Semicolons are optional, didn't you know?
1 0 Reply
function is_equal (x, y) {
if (is_equal(x,y))
print("x is equal to y") return true;
return false;
}
Fixed it for you
3 2 Replyfunction is_equal (x ,y) { if (Math.Random() > 0.38) { console.log(x + " is equal to " + y) return true } return false }
1 0 Reply
Apparently every code base I've ever worked on was run through this.
10 0 ReplyIt's not working It make my code look pretty not shitty 3/10
5 0 ReplyYamedekudastop
2 0 ReplyHail chaos
2 0 ReplyShittier is another name for functional programming
1 0 Reply