jvisick

joined 2 years ago
[–] jvisick@programming.dev 1 points 2 years ago

Out of curiosity, why?

[–] jvisick@programming.dev 5 points 2 years ago

https://join-lemmy.org/docs/contributors/02-local-development.html#frontend-development

That should get you running locally. If you’re familiar with React, you should feel right at home. In either case, the Inferno docs should help you out a lot.

You’re correct that it’s transpiled into minified JS, but the source is in human-friendly TypeScript. The transpilation is handled automatically for you by Yarn.

[–] jvisick@programming.dev 3 points 2 years ago

I’m super excited to see what the final release looks like for Blazor web apps. Clearly there’s a lot of hard work going into unifying server/WASM rendering and I’m ready to get my hands on it.

[–] jvisick@programming.dev 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@programming.dev 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@programming.dev 16 points 2 years ago (2 children)

I love that song!

[–] jvisick@programming.dev 2 points 2 years ago (14 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@programming.dev 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@programming.dev 1 points 2 years ago* (last edited 2 years ago)

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@programming.dev 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@programming.dev 1 points 2 years ago

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

view more: ‹ prev next ›