Well, that as well, but it’s an also bit tricky to safely check if a number is even because JavaScript uses floats for numbers.
magic_lobster_party
The popularity of these two packages shows that something is very wrong with JavaScript.
I’ve already done my part. Waiting for the rest of us
Unacceptable! Sweden is supposed to be first!
Nokia. They were at the top before iPhone. They couldn’t catch up with smart phones at all.
I believe Intel will be another potential example, but we’ll see about that.
Connections Puzzle #424 🟪🟩🟨🟦 🟩🟩🟩🟩 🟦🟦🟦🟦 🟪🟪🟪🟪 🟨🟨🟨🟨
I’m happy I managed to pick one in each group for my first guess
It depends on what type of programming you’re doing.
But for OOP, my favorite patterns are composition over inheritance and dependency injection (with constructor injection). Once you know these two the rest will follow naturally, and your programs will turn more modular and easier to maintain.
One common misconception about dependency injection is that you need a framework for it. That’s not the case. Frameworks only make some stuff more convenient, but you can do without it.
Otherwise, I think the best way to learn is by doing. It’s easier to see why a pattern is important when you have first hand experience of how painful it is without it.
Edit: Avoid the book “Clean Code”. That book has just done more harm than good in the world.
Connections Puzzle #422 🟨🟨🟪🟨 🟦🟦🟦🟦 🟩🟪🟩🟩 🟩🟩🟩🟩 🟨🟨🟨🟨 🟪🟪🟪🟪
Red carton is chosen because that’s how it’s commonly depicted in cartoon images.
https://duckduckgo.com/?q=french+fries+cartoon&t=h_&iar=images&iax=images&ia=images
Most programming doesn’t need math or algorithms. Sometimes it’s needed. For example, 3D programming involves lots of mathematical geometry. It’s difficult to solve these problems without mathematical knowledge.
Maths and algorithms are useful tools to make certain problems easier to make sense of.
Decipher #52 deciphered in ⏱️ 1m 20s ⭐⭐⭐⭐⭐ https://decipher.wtf