for-coder
486 subscribers
474 photos
106 videos
29 files
286 links
Chat for yapping the latest topics and some project show case

@FORCODERR πŸ‘₯

@firaflash πŸ‘¨β€πŸ’» curious dev
Download Telegram
Some bad code just broke a billion Windows machines

< PLAY >
🚨 JAVASCRIPT HAS A REAL BUG! 🚨


Open your console and type:
typeof null


You'll get:
'object'


That's wrongβ€”null is not an object!

πŸ” How did this happen?

When JavaScript was first implemented, values were stored in a tagged format, where the lower bits determined the type:
- Objects had a type tag of 0.
- null was stored as 0 in memory.

Since null had 0 in its type tag, typeof mistakenly classified it as an "object".

πŸ”§ Why isn't it fixed?
One word: Backward compatibility.
Fixing it would break too many apps, so it's here to stay!

πŸ’¬ Share this with JavaScript haters new (Lovers)... Lmao

#JavaScript #Bug #Programming
πŸ‘¨β€πŸ’»1
Forwarded from Snek talk
πŸš€ We’re back!
It’s been a while since I posted here because my old PC couldn’t keep up with the projects I was working on.
But I finally got a new setup πŸ’»πŸ”₯
So we’re continuing exactly where we left off:
🐍 Building a Telegram Bot with Python β€” from scratch
So far, we’ve:
βœ… Set up Python + VS Code
βœ… Created our Telegram bot
βœ… Connected it to Python
βœ… Added commands like /start, /help, and /about
And now we’re going deeper.
🎯 The goal: build a Telegram bot that actually teaches Python basics β€” while learning Python by building it.
Next up: Variables β†’ Conditions β†’ Loops β†’ Functions β†’ OOP β†’ Quizzes β†’ User progress
Back to coding. πŸπŸ’»
#Python #PythonLearning #TelegramBot #Programming #BuildInPublicA
❀3πŸ”₯3