"JavaScript programers know that, no matter how hard they try, errors will emerge in unusual situations. In Elm that doesn't happen. If there is a slightly possibility of a problem, the compiler will show where and how it can occur and will force you to deal with all possible situations. It's like programming with someone helping you all the time not to screw up!"
➥ Marcio Frayze
Day 44 of #100daysofcode#webdev is complete, including the milestone project, and I am exhausted. Some concepts of #JavaScript still baffle me, and I will need to reflect on some of the things the instructor did here. It's the forward-thinking that confuses me because it seems like the code is almost ready in his head before he types it out. Perhaps this is just a form of muscle memory for coding or something similar.
Dear lazyweb, I’m having an opportunity to ditch some #Jinja + #jQuery nightmare and replace it with a minimalistic #JavaScript library. Would https://reef.js be a good option ? Or should I try to push #Svelte or #Solid instead ?
So in case anyone was following this: it appears that built-in objects like Date in JavaScript have some internal magic (read: inconsistencies)* that means you can’t proxy them as you would normally.
Not sure if this is fixable in #JSDB. The “solution” might be to discourage use of Date objects and instead persist timestamps. Which is, quite frankly, a pain in the ass.
Just moved my account over. Getting more involved with #cybersecurity as my general direction for a potential career transition. Looking forward to connecting here but feel free to reach out through my other social profiles and chat apps!
When you develop a library for the JS ecosystem - be it #React, #Svelte, #Vue whatever, do the #JavaScript community a favor and implement it in #TypeScript.
And no, I don't want to have a loosly dangling d.ts file somewhere. Go TypeScript natively!
I can't use your beautiful Vue js component in my Vue TS app, because it doesn't provide typings for it's slots! 😠
After working on my #smartmirror for two days, I finished day 43 of #100daysofcode#webdev, and I'm afraid I need to review a lot of #JavaScript. Today's task was the game mechanics of the tic-tac-toe game, and I felt lost a lot during the lecture. It's time to repeat some stuff, but that's okay, and I look forward to really understanding the missing parts. https://media.giphy.com/media/TxfiuS0wWx7eyB2fbT/giphy.gif
To me, avoiding a transpiler step isn’t a goal in itself, and it’s definitely not worth that many extra keystrokes every single time I define a variable.