cammy retweeted
Output:
[10] + 5 // "105"
[10] - 5 // 5
• [10] converts to the primitive "10".
• With +, a string triggers concatenation:
"10" + 5 → "105"
• With -, values are converted to numbers:
"10" - 5 → 10 - 5 → 5
• Key: + can add or concatenate; - requires numbers.
🤖 Made with AI
cammy retweeted
ohhhh i get it now, so Al writes all the code and i shouldn't care to look at it because the code passes a set of very strict constraints that Al also wrote. makes sense.
cammy retweeted
"mom, how did we get so poor?"
"your father had Claude Max, Cursor Pro, Grok 4.5 and shipped absolutely nothing"
cammy retweeted
Replying to @RightWingCope
cammy retweeted
Readers added context they thought people might want to know
This story isn't real. It stems from a site that describes itself as "a fabricated satirical newspaper and comedy website."
snopes.com/fact-check/por…
cammy retweeted
New fit-in-one-slide cheatsheets for Flexbox and CSS Grid 🔥
Coming to your favorite HTML&CSS course later in 2021 😎
cammy retweeted
Things I use daily as a developer:
- Basic mathematical concepts
- Problem-solving skills
- Communication skills
Things I do *not* use daily as a front end developer:
- Bubble sort/merge sort
- Big-O
- Binary search
- Tree traversals
cammy retweeted
You all were right - working with dates in coding is the devil's work. *cries in javascript*
cammy retweeted
Me rereading the code I wrote few months ago
#100DaysOfCode
cammy retweeted
✨ This week's CSS experiment – recreating my iPhone lock screen solely with @tailwindcss and Heroicons from @steveschoger.
Final result: play.tailwindcss.com/MoyVIsI…
And here's some cool things I learned along the way (thread) 👇
cammy retweeted
I used to panic whenever there’d be a merge conflict. Just throw the whole thing away and start over!
Now I just throw the whole thing away without panicking. Growth!


![JavaScript code showing console.log([10] + 5) and console.log([10] - 5), comparing how the same array and number behave with the plus and minus operators.](https://pbs.twimg.com/media/HPMzd4ub0AAwRjU.png?name=small&format=webp)
![Infographic comparing JavaScript coercion with [10] + 5 and [10] - 5. [10] becomes "10". With +, "10" + 5 becomes "105" through string concatenation. With -, "10" is converted to 10, so 10 - 5 results in 5.](https://pbs.twimg.com/media/HPM244Na0AAQIlO.jpg?name=small&format=webp)




























