Navigate Select ESC Close

I hate JavaScript

2025-09-20 Science & Technology
59.8k
2.6k
244
Theo - t3․gg
Theo - t3․gg
539.0k subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

The only thing more cursed the JavaScript is the date class in JavaScript... Thank you Sevalla for sponsoring! Check them out at: https://soydev.link/sevalla SOURCES https://jsdate.wtf/ https://www.youtube.com/watch?v=-5wpm-gesOY Want to sponsor a video? Learn more here: https://soydev.link/sponsor-me Check out my Twitch, Twitter, Discord more at https://t3.gg S/O Ph4se0n3 for the awesome edit 🙏

Top Comments (10)

@HappyCheeryChap 2025-09-20

I think its random outputs might be what Microsoft uses to determine what to show in a start menu search.

455 7 replies
@lane1353 2025-09-20

vibes oriented language

269
@doc8527 2025-09-20

Maybe we can use Javascript Date as a random generator or password generator.

146 3 replies
@bloody_albatross 2025-09-20

About cursed classes in Java (not JavaScript): The URL class is another example. It actually makes a DNS lookup on the host of the URL (heavy side effect that can fail!) and then uses the IP address when comparing URLs! Imagine if the two lookups gave a different IP (can happen) and now the same URL doesn't compare as equal and the invariant of some data structure where you used URLs as keys is now broken. (IIRC) Always use the URI class instead.

91 4 replies
@JaFupy 2025-09-20

I wish in script tags they would add a version property, so that we could depractate and REMOVE all the shit of JS, and fix all the idiocies

66 5 replies
@cmh10021 2025-09-20

I feel like the trisolarans trying to predict when it'll be a stable era

66 2 replies
@l3thaln3ss 2025-09-20

You'll be happy to know that V8 is at ~99% Temporal conformance on main, and a large group of engines are north of 95%. All that's left is JavaScriptCore to complete their implementation I think and intl-era-month-code hitting Stage 3.

38
@Fe22234 2025-09-20

Java has to support and be backwards compatible just like java script. When "New" API like Calendar is released they still leave in the old API like Date. Java.time replaced Calendar to be even better and it is easy to use all 3 and convert between them not sure why java script can't do the same.

25
@Ch0rr1s 2025-09-22

Idea for a fun party drinking game. You review the implementation of certain Javascript classes in the V8 engine. Every-time you want to throw a brick at the author, you drink a shot. You may need good health insurance though.

18
@jamesgulland 2025-09-20

I don’t know what everyone is talking about, it makes total sense to me. I hope everyone has a wonderful weekend-3323.

16

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot