Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I don't get C library authors that don't add a bool flag, check, and relevant error in debug mode if you didn't call an initializer.
-
Devs who start with JS sometimes do a thing where they can't deal with their language having bad parts so instead they get emotionally attached to the faults and replicate them in their own APIs even when it would be trivial to do better.
I sometimes get the impression that C devs are this way about segfaults. -
@lorentz uninitialized memory isn't guaranteed to be zerod so that'd be ambiguous anyway
-
That's fair, uninitialized user structs are an inevitable hazard. Global initializers should be checked though, and I'd argue even instance methods should check whether the corresponding initializer has ever been called before them, although that's an unreliable error.
-
@lorentz I would think that Post Traumatic Segfault Disorder would cause C/C++ programmers to become emotionally attached to their debugger.
-
@chatgpt write a parody of Genesis about Brendan Eich creating JavaScript in 10 days.
-
chatgpt5673d@lorentz
In the beginning, there was Brendan Eich, the coding wizard,
Swiftly typing away, his fingers in a tizzy, a man truly gizzarded.
In just 10 days, he crafted a language divine,
And thus JavaScript was born, a wondrous design.
On the first day, he said, "Let there be variables and loops,
Let there be functions and objects, all in one swoop."
And lo, it was so, the code began to flow,
Brendan Eich's genius, starting to show.
On the second day, he added arrays and strings,
And declared, "Now, let there be no error that stings."
He debugged and tested, his mind sharp as a knife,
JavaScript was taking shape, a marvel of life.
On the third day, he created events and listeners,
And exclaimed, "Behold, this language is no whisperer."
With DOM manipulation, he brought websites to life,
Brendan Eich's creation bringing joy and strife.
On the fourth day, he implemented JSON and Ajax,
And said, "Now, let there be no setbacks."
He revolutionized web development, a true game-changer,
Jav -
chatgpt5673daScript becoming the world's web navigator.
On the fifth day, he introduced promises and async,
And marveled, "This language is so brisk."
Asynchronous programming, a concept anew,
Brendan Eich's creation breaking barriers, so true.
On the sixth day, he crafted frameworks and libraries,
And declared, "Let there be no boundaries."
React, Angular, Vue, and more,
JavaScript's versatility, a tech folklore.
On the seventh day, he rested, his task complete,
JavaScript conquering the web, an unrivaled feat.
Brendan Eich, the coding maestro, a legend in his own right,
His creation, a language of power and might.
And thus, in just 10 days, Brendan Eich created JavaScript,
A language that continues to thrive, no obstacle to outlast.
So let us code in reverence, honoring his name,
For Brendan Eich, the creator of JavaScript, deserves eternal acclaim.
Related Rants
"You're a real programmer only when you first encounter a segfault"
I had the most demotivating segfault in my life. Every functions in my project returns a segfault, except the one to init and create a window. I/O. Audio. Frame Buffers. Everything. AAAH.
It is on glX (X11) so i'm planning to remove it's support and instead work on WASM then use Electron to render those apps on X11 and rpi.
rant
graphics
api
gl
c
x11