RecluseRamble

joined 8 months ago
[–] RecluseRamble@lemmy.dbzer0.com 2 points 3 weeks ago* (last edited 3 weeks ago)

If you go back to my example, you’ll notice there is a UserUniqueValidator, which is meant to check for existence of a user.

Oops, right, I just glanced over the code and obviously missed the text and code had different class names. Another smell in my opinion, choosing class names that only differ in the middle. Easily missed and confusion caused.

I don't think our opinions are too far off though. You're just scaling the validation logic to realistic levels and I warn that in practice coders extrapolate too quickly and too often, which results in too much generic code which is naturally harder to understand and maintain than specific code.

[–] RecluseRamble@lemmy.dbzer0.com 8 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

I would argue that the validate routines be their own classes; ie UserInputValidator, UserPasswordValidator, etc.

I wouldn't. Not from this example anyway. YAGNI is an important paradigm and introducing plenty of classes upfront to implement trivial checks is overengineering typical for Java and the reason I don't like it.

Edit: Your naming convention isn't the best either. I'd expect UserInputValidator to validate user input, maybe sanitize it for a database query, but not necessarily an existence check as in the example.

[–] RecluseRamble@lemmy.dbzer0.com 33 points 4 weeks ago* (last edited 4 weeks ago) (2 children)

As a sexual person sex scenes do nothing to me either and feel like time lost for the actual plot.

government emails stored in Microsoft’s cloud

Missing isn't really the issue but the splash is pretty unavoidable when you piss from height.

After 10 years of marriage you haven't been comfortable to pee with the other still in the bathroom?

[–] RecluseRamble@lemmy.dbzer0.com 6 points 1 month ago (3 children)

Firefox needs to work on ensuring seamless compatibility with more websites, web apps and so on

Care to share some examples Firefox has trouble with? The only issues I have with websites is due to my aggressive use of Noscript.

[–] RecluseRamble@lemmy.dbzer0.com 47 points 1 month ago* (last edited 1 month ago) (2 children)

Millennials grew up alongside modern computing (meaning the two matured together). We dealt with everything from BASIC on a C64 to DOS and then through Windows 3 through current. We also grew up alongside Linux

Only the oldest millenials did. When the youngest were born, the internet and Windows 95 were readily available and they were in middle school when the iPhone came out.

[–] RecluseRamble@lemmy.dbzer0.com 14 points 1 month ago (3 children)

My farts in a sealed bucket are extremely limited and yet I haven't found a single buyer.

[–] RecluseRamble@lemmy.dbzer0.com 24 points 1 month ago (2 children)

4% of gross revenue is not a negligible amount. For no company.

[–] RecluseRamble@lemmy.dbzer0.com 3 points 1 month ago* (last edited 1 month ago)

How people will accept having their entire lives scanned, categorised and sold off to the highest bidder is beyond me

Me too. It was painfully obvious what Google will do once they launched Gmail and I never used it because of that.

[–] RecluseRamble@lemmy.dbzer0.com 7 points 1 month ago (4 children)

"qt3.14" seems pretty authentic though.

view more: ‹ prev next ›