thenextguy

joined 2 years ago
[–] thenextguy@lemmy.world 2 points 3 days ago
[–] thenextguy@lemmy.world 2 points 3 days ago (1 children)
[–] thenextguy@lemmy.world 3 points 4 days ago (1 children)

The last time I had a creak while pedalling, and I was sure it was coming from the drivetrain, it turned out to be the saddle.

[–] thenextguy@lemmy.world 0 points 4 days ago (1 children)

I disagree that parsing is validating. For example, you could give me a valid ISO date time string, but I want a shipping date and you gave me something in the past. It parses, but is not valid.

I disagree that validating early is bad because some other part of the code might also validate later and possibly do it differently. Yes, that's bad, but not a reason to not validate early.

[–] thenextguy@lemmy.world 2 points 5 days ago (1 children)

Prisoner zero has escaped

[–] thenextguy@lemmy.world 13 points 5 days ago (4 children)

A SWAT team ready to mobilize, street level maps covering all of Florida, a pot of coffee, 12 Jammy Dodgers and a fez.

[–] thenextguy@lemmy.world 73 points 5 days ago (9 children)

Direct Rendering Manager, not Digital Rights Management

[–] thenextguy@lemmy.world -2 points 5 days ago (3 children)

I understand the concept. I just disagree that it's a good idea.

[–] thenextguy@lemmy.world 5 points 6 days ago (5 children)

I don't see it. I would much prefer to validate early rather than late. The example of 'other code might validate it differently or not at all' seems specious. I don't want invalid information "deep within the bowels of the system".

[–] thenextguy@lemmy.world 36 points 6 days ago

"Welcome. You will experience a tingling sensation and then death."

 

There's a toilet paper ad where they claim they were voted number one product of the year.

Shouldn't they prefer to be number two?

 
view more: next ›