DonjonMaister
6
23
DonjonMaister

@programming.dev

TTRPG fan and programmer.

DonjonMaister 29 points 3 years ago

Stage 4.5: console.log() everything.

path: 0 454494, hotness: undefined, score: 29, children: 6
DonjonMaister 27 points 3 years ago

Yes. Spiders are the superior web developers. They're especially good at eliminating bugs.

path: 0 662797, hotness: undefined, score: 27, children: 2
DonjonMaister 24 points 3 years ago

Even if you DO escape, there is no guarantee that you'd leave with your sanity intact.

path: 0 453560, hotness: undefined, score: 24, children: 4
DonjonMaister 16 points 3 years ago

You would think that being named Null would probably cause a problem. But Jeffrey? lol

path: 0 382211, hotness: undefined, score: 16, children: 0
DonjonMaister 15 points 3 years ago

Two years later...

path: 0 460668, hotness: undefined, score: 15, children: 1
DonjonMaister 11 points 3 years ago

I Imagine the merge conflict hell that these programmers have to go through...

path: 0 582036, hotness: undefined, score: 11, children: 0
DonjonMaister 10 points 3 years ago

I quit after I got that...

path: 0 585290 585359 585784 587402, hotness: undefined, score: 10, children: 2
DonjonMaister 8 points 3 years ago

I'm starting to learn full-stack development. This meme scares me, ngl.

path: 0 361521, hotness: undefined, score: 8, children: 1
DonjonMaister 7 points 3 years ago

I have no problem with either. But I do have a problem with people who use the space bar instead of the tab key.

path: 0 422457, hotness: undefined, score: 7, children: 0
DonjonMaister 5 points 3 years ago

The guy sitting on the chair is exactly how I felt when one of my friends explained what microservices they use for their company web application lol

path: 0 361380, hotness: undefined, score: 5, children: 0
DonjonMaister 5 points 3 years ago

Never heard of Lemoa, but I will definitely try. Thanks! 👍

path: 0 663177, hotness: undefined, score: 5, children: 0
DonjonMaister 4 points 3 years ago

TypeScript is next on my list. The loose typing of JavaScript drives me a little nuts sometimes 😅.

path: 0 642029 659760, hotness: undefined, score: 4, children: 1
DonjonMaister 3 points 3 years ago

I think you should do what’s comfortable to you

Good advice, but I would like to expand outside of my comfort zone to learn different styles of programming.

but also try to adapt to the common language in each of the code bases you will be working on, so that everyone is on the same page.

Absolutely agree with you there.

Good luck in your journey!

Thank you! ❤️

path: 0 645079 659860, hotness: undefined, score: 3, children: 0
DonjonMaister 2 points 3 years ago

As long as you’re opting for composition over inheritance, it’s probably fine.

Totally agree with you there.

Probably on the “sparingly” end.

I'm on the same train of thought as you. I feel that relying too much on class ignores the better features that JavaScript has to offer. However, I'm sure that its application is useful on the occasion where inheritance IS (but very rarely) necessary.

path: 0 641720 659662, hotness: undefined, score: 2, children: 0
DonjonMaister 2 points 3 years ago

I've never felt so identified by a meme.

path: 0 582191, hotness: undefined, score: 2, children: 0
DonjonMaister 2 points 3 years ago

Applying the (DRY) Do Repeat Yourself principle.

path: 0 454280, hotness: undefined, score: 2, children: 0
DonjonMaister 2 points 3 years ago

Yeah, I don't fully understand it either 😅.

path: 0 650506 659934, hotness: undefined, score: 2, children: 0
DonjonMaister 1 point 3 years ago

Hey, this looks pretty good. Thanks! 👍

path: 0 662305, hotness: undefined, score: 1, children: 0
DonjonMaister 1 point 3 years ago

This is an excellent take! 👏

That said you should strive to use both functions and classes. If you can simplify your functions to allow mostly any primitive input, that’s great. It can be reused many times throughout your code. But if you have certain operations that only work with one type, then don’t be afraid to use a class

This advice looks sound. I'll definitely take it into consideration.

path: 0 738221 742974, hotness: undefined, score: 1, children: 0
DonjonMaister 1 point 3 years ago

I don’t like/use the class keyword in JS, because I quite like the paradigm with prototypes & stuff, and that keyword tries to make it fit into a totally different paradigm, which doesn’t really work IMHO.

I've read somewhere that Javascript is more of a prototype-oriented language rather than an object-oriented one. Do you agree with this?

BTW, I’ve developed a few strats to have my own style in TS that I like quite a lot. I can tell more if you’re interested.

Thank you! But maybe not right now; I'm still learning the basics. Have you considered write an article about it? 😮

path: 0 699725 701693, hotness: undefined, score: 1, children: 1

thanks for using Leebra!

go to feed...