#ProgrammingParadigms
JavaScript shines with its flexible object literals and powerful async tools, enabling smooth handling of API calls, file uploads, and more without blocking execution. This offers a more dynamic approach compared to Java’s rigid OOP structure.🚀
#ProgrammingParadigms @northeasternu.bsky.social
January 15, 2025 at 10:36 PM
#ProgrammingParadigms @northeasternu.bsky.social
Jest ensures your JavaScript code doesn’t misbehave because nothing’s worse than finding a bug in production after users already have. Write your tests now or debug in panic mode later.
March 19, 2025 at 10:53 PM
🚀 WebSockets in JS: Real-Time Magic!

Ditch slow HTTP requests! WebSockets enable instant, bidirectional communication. Perfect for chats, live updates, & games! Support binary data too! Ready to build? Start with `ws` in Node.js!

#ProgrammingParadigms
@northeasternu.bsky.social
March 12, 2025 at 10:10 PM
JavaScript handles OOP inheritance with prototype chain, which is conceptually like a linked list. Using a property? It’s like asking each person in a line from the beginning, 'Hi, are you X?🙋' until you find one, or hit the end of the line.
#ProgrammingParadigms @northeasternu.bsky.social
January 15, 2025 at 10:36 PM
Following the Google JavaScript Style Guide is like laying a foundation to ensure code structure while using JSDoc is like adding clear labels to a building, making it easy to find functions. Code and documentation make team collaboration efficient.
#ProgrammingParadigms
@northeasternu.bsky.social
February 3, 2025 at 3:05 AM
Ever noticed how OOP mirrors real life? 🤔 Objects = people. Classes = professions. Inheritance = family traits. Polymorphism? Acting differently depending on the situation. OOP is humanity in code form. #ProgrammingParadigms @northeastern.bsky.social
January 15, 2025 at 5:51 PM
TDD in JavaScript starts with writing a failing test! Red → Green → Refactor: fail first, pass next, then improve. Perfect for large projects—catch bugs early, and ensure cleaner, scalable code!
#ProgrammingParadigms
@northeasternu.bsky.social
February 26, 2025 at 11:02 PM
Jest is a powerful JavaScript testing framework for efficient unit testing like hw3. Paired with React Testing, it simulates user interactions, ensuring components work as expected without relying on internal logic, making React apps maintainable.
#ProgrammingParadigms
@northeasternu.bsky.social
March 18, 2025 at 6:58 PM
Inheritance is like running your parents' company, directly inheriting the existing structure but with limited changes. Composition is like using your parents' resources to build your company, freely combining elements to suit your style.
#ProgrammingParadigms
@northeasternu.bsky.social
January 20, 2025 at 2:47 AM
Hmm…🤔 Wonder why calling private instance methods outside the class doesn’t throw SyntaxError as stated on MSDN. I’m on the latest version of Chrome (132). Works as expected on Safari and Firefox tho.

#ProgrammingParadigms @northeasternu.bsky.social
January 15, 2025 at 11:41 PM
A fun one to present back in Sept. A link to my No Time To Wait 8 recording and slide-deck and some thoughts about #DeclarativeProgramming and how you might embrace today.

exponentialdecay.co.uk/blog/declara...

#NTTW #NTTW8 #digipres #Software #DigitalLiteracy #ProgrammingParadigms
Declarative programming for Digital Preservationists @ NTTW8 – ross spencer :: exponentialdecay.digipres :: blog
exponentialdecay.co.uk
May 20, 2025 at 5:31 AM
Although it's almost 20 years old, Ruby on Rails remains impressive. It follows the MVC architecture, which is now mainstream. It enables fast prototyping and features a readable, elegant syntax, much like modern JavaScript frameworks today.
#ProgrammingParadigms
@northeasternu.bsky.social
April 9, 2025 at 9:51 PM
Ruby on Rails: The magic of building a blog in just 15 minutes! DHH's original demo revolutionized web development with convention over configuration. 19 years later, Rails still proves simplicity and elegance are the efficient path to building web.
#ProgrammingParadigms
@northeasternu.bsky.social
April 6, 2025 at 5:16 AM
Exploring @observable notebooks—think of them like spreadsheets, but supercharged with JavaScript. I built a live, interactive budget tracker that updates with sliders and charts. Feels like Excel met a coder and had a beautiful baby.
#ProgrammingParadigms @northeasternu.bsky.social
April 2, 2025 at 11:05 PM
/**
* What I learned about JSDoc (with JSDoc documention)
* @param {string} msg - a note from me
* @return {void}
*/
function learn(msg) {
console.log(`I learn: ${msg}`);
}
learn("Using JSDoc makes JavaScript feel a bit more strongly typed"); #ProgrammingParadigms @northeasternu.bsky.social
February 4, 2025 at 8:28 AM
#ProgrammingParadigms
@northeasternu.bsky.social
Jest is to JavaScript as JUnit is to Java. It is quite a powerful testing tool for examining JavaScript code. I wish I had read about it before I dived deep into the project I just finished.
March 19, 2025 at 10:05 PM
#ProgrammingParadigms @northeasternu.bsky.social Ever felt your web app lagging due to heavy JavaScript tasks? Enter Web Workers! They run scripts in the background, keeping your UI smooth and responsive. Perfect for data processing or complex calculations without freezing the main thread.
March 12, 2025 at 6:28 AM
Rendering large tables can slow a webpage. Web Workers process JSON and compute stats in the background, keeping the main thread focused on rendering for a smooth experience. They also handle real-time logs by analyzing data before updating the page.
#ProgrammingParadigms
@northeasternu.bsky.social
March 7, 2025 at 6:48 AM
The classic Rails demo shows how it uses templates to auto-generate controller, model, and view files - setting up MVC instantly. The framework feels declarative. With little code, one can build a lot of functionality. It still feels like magic today. #ProgrammingParadigms @northeasternu.bsky.social
April 8, 2025 at 3:33 AM
🤯Reactive Observable Inputs (JS/TS) do more than charts. Use inputs to directly control emergent behavior in complex simulations (flocking 🐦, physics ⚙️). See the whole system react instantly.⚡️↔️✨Interactive demo: observablehq.com/@observableh... #ProgrammingParadigms @northeasternu.bsky.social
Synchronized Inputs
Observable Inputs behave similarly to native HTML inputs: they expose a value and emit an input event when the user changes the value. This makes them compatible with Observable’s viewof operator. It ...
observablehq.com
April 16, 2025 at 7:42 PM
#ProgrammingParadigms @northeasternu.bsky.social
Vanilla JS walked, and Svelte could fly. 🚀 Why manually wrangle the DOM when Svelte compiles away the hassle? No runtime, no bloat—just futuristic, reactive magic. It’s time to evolve past the old ways. Embrace the future.
February 12, 2025 at 3:14 AM
Observable turned my data viz headaches into charts in just 10 minutes. People think I spent all night on complex D3 charts, but it's just the magic of a few code cells. Love how changing one parameter instantly updates the entire analysis.
#ProgrammingParadigms
@northeasternu.bsky.social
April 13, 2025 at 7:06 AM
JavaScript: Promises are great for avoiding callback hell and support chaining, but .then() always hands me another Promise. await, on the other hand, feels more like synchronous code and lets me access the actual data directly. Prefer it now! #ProgrammingParadigms @northeasternu.bsky.social
February 26, 2025 at 10:56 PM
OOP, one of the most prevalent #ProgrammingParadigms taught at @northeasternu.bsky.social, organizes code around “objects,” increasing reusability & maintenance by encapsulating data & methods. Check out this great real-time sensor example (#3) in Python🐍: www.quickstart.com/blog/softwar...
10 Applications of Object-Oriented Programming (OOP)
Getting started with object oriented programming? Here are 10 applications of object oriented programming (OOP) that you should know about.
www.quickstart.com
January 14, 2025 at 1:11 PM
PolyTrack - a racing game by #Kodub using #threejs. Curious about their ghost car feature, I looked for source code failing which I asked GPT how it might work—x, y, z coordinates, rotations, and timestamps recreate ghost car replays of your best run! #ProgrammingParadigms @northeastern.bsky.social
January 22, 2025 at 11:02 PM