博文

目前显示的是 八月 21, 2024的博文

Scripting News: Wednesday, August 21, 2024

图片
Wednesday, August 21, 2024 Thinking about what Michelle Obama said last night in her fantastic DNC speech. "We don't get to change the rules so we always win." She was talking about Trump, but it also applies to Google . There should be opportunities for independent developers to create for the web without having big tech companies be our gatekeepers. The web is a public resource. Of course big companies will take whatever isn't nailed down. It's way past time to protect the open web. # Speaking of Michelle Obama, she made the most powerful political statement I've ever heard. "Who's going to tell Trump the job he's currently seeking might just be one of those black jobs." The way she said it made you think. Here we are, and one way or another, we have changed. America in 2024 is vastly different from the American of 2008. America is moving both toward self-acceptance and away from it at the same time. But here in the half

🔥 (#179) Testing components is a waste of time

图片
Hey! I hope you're having a great week. I tried something new recently, jumping into the world of low-code/no-code tools. I've always been a bit skeptical of them, but I had a lot fun playing around with Directus: Quickly Build Fullstack Vue Apps with Directus This newsletter I'm also trying something new — writing a short thing that will only appear in this email. These are ideas that aren't long enough to be a full article, but they aren't short tips either. Let me know what you think! And enjoy your tips. — Michael 📝 Testing components is a waste of time We all know that testing is a Good Thing. It gives us confidence that our code works, makes refactoring safer and easier, and gives us early warnings if we've broken something before it hits production. But testing Vue components can feel like a complete waste of time. You write a test that makes sure a prop gets to the right spot, or that the right event handler is called — but