@vinaldsouza.bsky.social
5 followers 6 following 13 posts
Posts Media Videos Starter Packs
vinaldsouza.bsky.social
For @johnguerra.bsky.social's @northeasternu.bsky.social #ProgramDesignParadigms class I built an @observablehq reactive widget that lets users upload labeled photos and preview them! 📸 Great for family trees or user profiles.
👉 See demo: observablehq.com/@vinal-dsouz...
vinaldsouza.bsky.social
Using transformer.js is like having a full AI library in your pocket. You don’t need to call a server — it's all in your browser, like carrying a mini AI lab wherever you go!
#ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Observable notebooks feel like magic—just built a live weather dashboard that pulls real-time data and updates visuals instantly. No page reloads, no deploys, just tweak and see. Feels like prototyping at the speed of thought.
#ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Test-Driven Development (TDD) is like building a safety net for your code!
✅ Banking apps: Prevents transaction errors.
✅ E-commerce: Ensures smooth checkout.
✅ Self-driving cars: Validates decision logic.
Catch bugs before they bite!
#TDD #ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Used crypto exchanges with real-time charts & instant trades? Parallel programming powers order matching engines executing thousands of trades in microseconds. Web Workers process live updates without freezing the UI. Fast data, smooth experience.

#ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Ever wondered how code editors lint in real-time or maps update live without lag?

Web Workers process heavy tasks off the main thread, keeping web apps smooth. From data processing to AI-powered suggestions, they do the heavy lifting.

#WebWorkers #ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
JavaScript's Event Loop: The unsung hero of async magic!

It constantly checks:
✅ Is the Call Stack empty?
✅ Any callbacks waiting in the Queue?

If yes, it moves tasks to execution—keeping JS non-blocking & smooth!
#ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Asynchronous programming is like texting a friend while baking a cake. You don’t wait for the oven to finish—you prep the frosting, clean up, or check your phone. Your program, like you, keeps doing useful work while waiting!
#ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Immutable data in functional programming is like a whiteboard that you can write on, but never erase or overwrite—only add new notes 📝. This keeps everything predictable and avoids unexpected changes! #ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Think of JSDoc like a roadmap for your code. Just as a map helps travellers navigate, JSDoc comments guide developers through the complexity of the codebase. #ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Designing flexible software? 🤔 Use interface polymorphism!

Instead of tying your code to a single implementation, use an interface to easily swap in new versions.

💡 Program by interface, not implementation!
#ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
PerspectiveCamera in threejs is like looking through a window. The field of view adjusts how much you can see, the aspect ratio keeps things proportionate, and the near/far clipping planes act like your focus range—everything outside is out of sight. #ProgrammingParadigms @northeasternu.bsky.social
vinaldsouza.bsky.social
Parents (superclasses) pass down traits (properties & methods) to their children (subclasses), but kids can still develop their own unique quirks (overrides). #ProgrammingParadigms @northeastern.bsky.social