Actually fixing warnings is for noobs
13 0 Replyif they mattered they'd be errors I'm sure
15 0 ReplyThat's when you do CTRL+C, CTRL+V
1 0 Reply
If it wanted to get my attention it should have been an error
37 0 ReplyMeanwhile in another universe one of my biggest win was to introduce this line in our PR validation pipeline.
eslint . --max-warnings 0
17 0 ReplyEh it's Javascript. Anything goes
26 0 Replythis is fucking gold
3 0 Reply
Yeah, array.length is mutable in javascript. I'm surprised it caught on.
2 0 ReplyIf i can just suppress the warnings which need to be fixed till morning in my buggy code, anything goes!
2 0 Reply
42 0 ReplyWarnings? We’ll come back and address those later. Maybe once we’re feature complete. Or maybe shortly after that.
27 0 ReplyDon't worry. We'll totally fix all of them soon. Promise. Hand to God. They definitely will not be here five years from now.
4 0 Reply
if (error) { continue; }
86 0 ReplyOn Error Resume Next
Visual Basic is a beautiful language
12 0 ReplyOn error goto 0
Was always syntacticly confusing for me.
3 0 Reply
try { operation(); } catch { // nice weather, eh? }
56 1 Replywith contextlib.suppress(BaseException): do_thing()
1 0 Reply☑️ PR Approved
6 0 ReplyStarting with Java 21 (I think), they've introduced ignored variables, so you can now actually do this:
try { operation(); } catch (Exception _) { // nice weather, eh? }
Edit: forgot that this is about JS lel
11 0 ReplyThanks. I hate it.
3 0 Reply
Warnings are for ignorings :3
32 0 ReplyIf I can't see it, is it really there?
56 0 ReplyIf it works, it works
42 1 ReplyThis is why:
"It ain't stupid if it works."
is fundamentally incorrect.
19 0 ReplyI would add: until it doesn't.
22 0 ReplySometimes it’s better to hope while closing eyes
7 0 Reply
-ErrorActionPreference SilentlyContinue
6 0 Reply--yolo
2 0 Reply