MajorHavoc

joined 8 months ago
[–] [email protected] 8 points 7 hours ago

Lol. Two things can both be bad.

[–] [email protected] 2 points 7 hours ago

Great movie.

I loved realizing that no child in the entire village lacks red hair.

[–] [email protected] 2 points 20 hours ago

I shall henceforth always call "The Proposal" by it's corrected title "The HR Nightmare One". That's so perfect. Thank you for that.

[–] [email protected] 1 points 23 hours ago

If YAML and JSON were gripping my hands for dear life, dangling off of a cliff...

I would let both drop into the abyss so I could spend more time with INI.

[–] [email protected] 14 points 23 hours ago* (last edited 23 hours ago)

would Python really be better if it switched to braces?

Yes. A thousand times, yes.

[–] [email protected] 15 points 23 hours ago

That is amazing.

I don't know what I just read.

If my website ever gets married, I'm going to invite this website to stand next to it as a bridesmaid - because it makes my website look pretty by comparison.

[–] [email protected] 36 points 23 hours ago (1 children)

I am 90% sure I have never taken any mind-altering drugs.

Before I read this comic, I was 99% sure.

[–] [email protected] 8 points 1 day ago* (last edited 1 day ago) (1 children)

Don't worry! Mullets never went away.

The public lost faith, but the truly committed have kept the tradition/style/lifestyle alive.

But I do hope it's true about the 80s coming back. I'm gonna buy a Trapper Keeper and start saving up for a fresh Pog collection.

[–] [email protected] 0 points 1 day ago

With Google's reputation for Easter eggs. I don't know if this is edited, or real.

[–] [email protected] 4 points 1 day ago

C# is only good as a scripting language in my usecase, and sometimes you want "hard-code" new features, not script them.

My recent experience with C# suggests you might have a much better time with it, than you think.

C#'s compile phases are nuanced and achieve surprisingly quick results, now.

If it's been awhile since you used C#, you could be happily surprised.

[–] [email protected] 4 points 1 day ago* (last edited 1 day ago) (1 children)

Well said.

Here I am trying to wind people up and you're responding with thoughtful nuanced consideration.

You make some great points.

I'll add - for folks reading along - I do think a class is still almost always an anti-pattern, even with all the OOP class function and factory pattern stuff removed.

I also feel (as you referenced):

  • Functions being forced to reside inside objects is just stupid.
  • Factory patterns are horrible, because they mix config into program code, maximizing uncertainty when debugging

And also:

  • Inheritance is almost always a worse idea than an interface.
  • classes tend to have additional fancy tooling to make it easier to carry state data around - which is usually a bad idea

State data is a necessary evil in most programs.

I've found that most advanced class object implementations treat program state data more like a pet than a threat.

Sorry for the long response - I know you don't need it - you know what kind of tool you're looking for.

I figure they extra detail above might provide food for thought for folks reading along who are surprised there's even contrasting opinions on classes.

(And I feel a little bad for not really posting anything very useful earlier in the thread.)

[–] [email protected] 5 points 1 day ago (5 children)

It amuses me that someone downvoted classes suck.

It's an objectively true fact.

1
PSA - MineTest on SteamDeck (blog.rubenwardy.com)
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

MineTest on a SteamDeck is so fun, y'all.

(Edit: MineTest is a free and open source game engine that started as a clone of Minecraft, and has grown to be that, and much more.)

I would have tried it sooner, if someone had mentioned it to me, so I'm mentioning it to you.

Edit: Disclaimer, I'm not the author of this blog. It's the walkthrough I followed to start playing.

view more: next ›