Mark (@software_mark_) profile picture

Everything software engineering

Joined November 2025
Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)Photo by Mark (@software_mark_)
365 days. 1 book series. Daily JS lessons. I’m committing to reading “You Don’t Know JS Yet” by Kyle Simpson , all 6 books , every day for a year and tweeting everything I learn. If you’re on the same journey, follow along, let’s do this together. 🤝. #365DaysOfYDKJS #YDKJS.
1
5
121
Scopes are determined at compile time in JavaScript. Not at runtime. Not when the function runs. At compile time. That one sentence changes how you read and write JS forever. 🧩 #365DaysOfYDKJS #YDKJS #JavaScript #LearnInPublic
1
10
Every variable in JavaScript does one of two things: 🔹 Receives a value → Target (LHS) 🔹 Provides a value → Source (RHS) Understanding this is the foundation of how scope resolution works in JS. 💡 #JavaScript #YDKJS #365DaysOfYDKJS
2
17
The Temporal Dead Zone is one of the most misunderstood concepts in JS. let and const are hoisted — but not initialized. Access them before initialization and JS throws an error. Not undefined. An actual error. 👀 console.log(x) // ❌ TDZ Error let x = "hello" #JavaScript #YDKJS #365DaysOfYDKJS
1
48
Most people think JavaScript executes line by line. But if it did — a syntax error on line 10 wouldn't stop line 1 from running. It does. And that proves JS is compiled before execution. 🧠 #JavaScript #YDKJS #365DaysOfYDKJS
1
13
Day 14 of 365 — #365DaysOfYDKJS 🧵 Yesterday I said there are 3 things that prove JavaScript is compiled before execution. Today we go through all three. Let's get into it 👇 #YDKJS #JavaScript #LearnInPublic
1
1
79
1/ Proof #1 — Syntax Errors The console.log never runs — even though it appears before the error. If JS executed line by line, it would have logged first. It didn't. Parsing happened before execution. 🧠 #YDKJS #365DaysOfYDKJS #JavaScript
1
2
39
Day 13 of 365 — #365DaysOfYDKJS 🧵 Starting Book 2 — Scopes & Closures today. First up — revisiting why JavaScript is more compiled than most people think. Let's get into it 👇 #YDKJS #JavaScript #LearnInPublic
1
1
3
71
1/ JS is not officially regarded as a compiled language — even in its own specification. But in the way it actually works? It's more compiled than it isn't. And understanding this is the foundation for truly understanding Scopes & Closures. 🧠 #YDKJS #365DaysOfYDKJS #JavaScript
1
1
2
22
Starting Book 2 of the YDKJ series.
1
3
29
Day 12 of 365 — #365DaysOfYDKJS 🧵Today I learned about Prototypes — JavaScript's natural way of linking objects together.This one is foundational. Let's get into it 👇#YDKJS #JavaScript #LearnInPublic
2
2
60
1/ Prototypes are to objects what closures are to functions — they're native to them. A prototype is a linkage between objects — created automatically at the point an object is made. It's JS's built in way of making properties available without directly defining them. 💡 #YDKJS #365DaysOfYDKJS #JavaScript
1
1
13
Day 11 of 365 — #365DaysOfYDKJS 🧵 Today I learned about the this keyword — and why almost everything you think you know about it is probably wrong. Let's get into it 👇 #YDKJS #JavaScript #LearnInPublic
1
1
14
1/ Common misconception , this refers to the function itself or its instance. That's not true. this is about execution context , and that's a completely different thing. 🧠 #YDKJS #365DaysOfYDKJS #JavaScript
1
1
4
Without closures, async JavaScript would fall apart. When an ajax call completes long after the outer function has finished , the callback still has access to the variables it needs. That's closures keeping async JS alive. ⚡ #JavaScript #YDKJS #365DaysOfYDKJS
2
46
Closures are not a fancy JS trick. They're as fundamental as loops and variables. Every time a function remembers a variable from outside its scope , that's a closure. You've been using them all along. 💡 #JavaScript #YDKJS #365DaysOfYDKJS
2
9
Day 10 of 365 — #365DaysOfYDKJS 🧵 Today I learned about Closures — one of the most essential concepts in JavaScript. This one changes how you think about functions forever. Let's get into it 👇 #YDKJS #JavaScript #LearnInPublic
1
3
26
1/ Closures are as fundamental to JS as loops and variables. They define how functions keep memory of information from outside their scope — even when executed somewhere else entirely. 🧠 #YDKJS #365DaysOfYDKJS #JavaScript
1
2
10
Day 9 and iterators just reframed how I think about for...of and spread. 😅 I've been using them for years without knowing what was happening under the hood. What JS feature did you use daily before truly understanding it? 👇 #YDKJS #365DaysOfYDKJS #JavaScript
2
13
Quick JS quiz — What does iterating over a Map with for...of return for each entry? Drop your answer below 👇 #JavaScript #YDKJS #365DaysOfYDKJS
2
21
Most JS developers use for...of and spread every day. But very few know they're both built on the iterator protocol under the hood. Understanding why something works is just as important as knowing that it works. 💡 #JavaScript #YDKJS #365DaysOfYDKJS
2
12
Day 9 of 365 — #365DaysOfYDKJS 🧵 Today I learned about Iterators in JavaScript , one of the most powerful and underrated concepts in the language. Let's get into it 👇 #YDKJS #JavaScript #LearnInPublic
1
2
18
1/ Sometimes data is too large to process all at once. Iterators solve this by letting you process data one item at a time , giving you control over how and when each piece is consumed. #YDKJS #365DaysOfYDKJS #JavaScript
1
1
8
If you missed this week's #365DaysOfYDKJS threads — Here are the biggest JS concepts that broke my brain this week. 🧵 #YDKJS #JavaScript #LearnInPublic
1
2
24
=== is supposed to be strict. But: NaN === NaN // false 0 === -0 // true JS is literally programmed to lie in these two cases. Use Number.isNaN() and Object.is() instead. ✅ #YDKJS #365DaysOfYDKJS #JavaScript
1
1
1
Week 1 Summary — #365DaysOfYDKJS 🧵 Here's everything I learned this week from "You Don't Know JS Yet." A lot covered. Let's recap 👇 #YDKJS #JavaScript #LearnInPublic
1
2
39
1/ WebAssembly (WASM) bridges the gap between JS and non-JS developers. Code written in GO, C++, Rust and more can run anywhere a JS engine runs. It's not specific to the web , and it's not meant to be written by hand. Use tooling. 🛠️ #YDKJS #365DaysOfYDKJS #JavaScript
1
2
25
8 days down. 357 to go. 💪 Still showing up. Every single day. #365DaysOfYDKJS #YDKJS #LearnInPublic
2
20