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 #JavaScript #Bug #Programming
π¨βπ»1
Chapi Dev Talks
GPT is 5 https://openai.com/gpt-5/
I was just watching fireship's review on YouTube about the new gpt 5 and
It's just another model with different name with a new hype
>>>>Vid <<<<<
It seems mid tbh based on the video explanation
It's just another model with different name with a new hype
>>>>Vid <<<<<
YouTube
GPT-5 is here... Can it win back programmers?
Build cross-platform apps in your browser for free - https://dreamflow.app
Sama and the boys say that GPT-5 has "PhD-level" intelligence, but the benchmarks aren't adding up. So is this a major step towards AGI or just another incremental upgrade? Let'sβ¦
Sama and the boys say that GPT-5 has "PhD-level" intelligence, but the benchmarks aren't adding up. So is this a major step towards AGI or just another incremental upgrade? Let'sβ¦
π2
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
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
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 /aboutAnd 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