jvisick

joined 2 years ago
[–] jvisick 3 points 2 years ago

“Dependency injection” is just a term for providing a function or method with its dependencies rather than making the function go and gather them itself.

It’s (typically) done through parameters, but it’s still more specific than just invoking a function. It describes how that function was written and the reasoning for certain parameters. To the other commenter’s point, you’ll have a hard time communicating about your code with other developers if you refuse to use the term dependency injection just because you don’t like OOP.

[–] jvisick 3 points 2 years ago

In my experience, inheritance is really handy in the right situation. But far more often, inheritance is just a quick way to code yourself into a corner or just a waste of mental energy in the wrong place.

[–] jvisick 16 points 2 years ago (2 children)

I love that song!

[–] jvisick 2 points 2 years ago (15 children)

Any production project, especially with that sort of rigor, should be sticking to the LTS releases. IMO there is no project that should be on 7 with no plans to upgrade to 8 after it’s released.

If a version upgrade is out of scope, then it should’ve been built on 6 to begin with.

[–] jvisick 7 points 2 years ago (1 children)

It feels like it's radiating chaotic energy for the sake of learning and I'm a fan

[–] jvisick 2 points 2 years ago* (last edited 2 years ago) (1 children)

I don't agree - while you could copy it, if an instance gathered a large user base and had some well-implemented quality of life features, there's nothing stopping them from putting ads on it and I'd guess that most users would continue to use that instance. If it has quality content, they already have an account, and it has compelling improvements over other instances, I can't imagine that some unobtrusive ads would bother people enough to go to a clone of that instance and create another account.

Sure, it could be done, and ad blockers are common enough, but I don't think well-placed ads would cause some mass exodus. I'd even be okay with it if it's in the name of paying the server bills for such an instance.

[–] jvisick 1 points 2 years ago (1 children)

You know how some jobs are one year of experience for three years in a row? Just do the opposite of that.

[–] jvisick 1 points 2 years ago

Looks interesting, especially easily switching between branches with uncommitted changes. I’ll be giving it a try!

[–] jvisick 4 points 2 years ago

I highly recommend it! I’ve been really having fun with Blazor recently

view more: ‹ prev next ›