Mark

126 posts

Mark

Mark

@software_mark_

Everything software engineering

Bergabung Kasım 2025
79 Mengikuti14 Pengikut
Tweet Disematkan
Mark
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.
English
0
1
5
95
Mark
Mark@software_mark_·
A class in JavaScript is just a blueprint. It becomes real only when you instantiate it with new. The blueprint is nothing. The instance is everything. 🏗️ #JavaScript #YDKJS #365DaysOfYDKJS
English
0
0
0
2
Mark
Mark@software_mark_·
Most JS devs avoid == because of coercion. But < and > are also coercive , and nobody talks about that. You can't escape coercion in JS. You can only understand it. 💡 #JavaScript #YDKJS #365DaysOfYDKJS
English
0
0
0
4
Mark
Mark@software_mark_·
3. A class on its own is not concrete , it's just a blueprint. It only becomes useful when instantiated using the new keyword: jslet greetingInstance = new Greeting("hello") Only after instantiation can you access its behaviour. 🧠 #YDKJS #365DaysOfYDKJS #JavaScript
English
1
0
1
9
Mark
Mark@software_mark_·
5. The recommendation isn't to avoid ==. It's to understand it deeply , know when coercion works for you and when it doesn't. Fear of a tool is never the answer. Knowledge is. 💡 Thread 2 coming up next ,Classes & Organisation 👇 #365DaysOfYDKJS #YDKJS #JavaScript #LearnInPublic
English
0
0
1
4
Mark
Mark@software_mark_·
4. But when both values are strings, JS does lexicographic (alphabetical) comparison instead: js"71" < "70" // false → "1" ranks higher than "0" alphabetically Not numeric. Not what you'd expect. Know the difference. ✅ #YDKJS #365DaysOfYDKJS #JavaScript
English
1
0
1
5
Mark
Mark@software_mark_·
[1,2,3] === [1,2,3] // false This confuses so many JS developers. === doesn't compare contents ,it compares memory identity. Two separate arrays will never be strictly equal. Ever. 🧠
English
0
0
2
29
Mark
Mark@software_mark_·
Quick JS quiz — What does this return? NaN === NaN Drop your answer below 👇
English
0
0
1
22
Mark
Mark@software_mark_·
In JavaScript, functions are values. You can pass them around, store them in variables, assign them properties. Most languages don't allow this. JS does. That's powerful. 💡 #JavaScript #YDKJS #365DaysOfYDKJS
English
0
0
1
11
Mark
Mark@software_mark_·
@PythonPr This highlights integer division, the Correct answer is 3 ,
English
0
0
4
360
Python Programming
Python Programming@PythonPr·
Looks simple, right? That’s what every coder said before getting it wrong 🫣 What’s your answer?
Python Programming tweet media
English
34
7
102
9K
Mark
Mark@software_mark_·
@darasoba I didn’t expect to see a post like this today 😂.
English
0
0
2
443
dára sobaloju
dára sobaloju@darasoba·
Talking to ChatGPT feels like talking Penny, talking to Claude feels like talking to Sheldon. I prefer talking to Penny.
English
47
70
678
32.5K