Menu
IPv6: Enough addresses for every atom on Earth.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Strict typing Memes
Posts tagged with Strict typing
True Crime: Type Safety Edition
Typescript
Javascript
Programming
Debugging
Frontend
8 months ago
379.3K views
0 shares
The real criminal here is declaring a variable that can be both boolean and null . That's like giving your function three possible states of existence when two would suffice! The triple equals comparison cascade is just the accomplice to this type-safety felony. TypeScript developers are screaming internally right now. The proper way? An enum or a proper nullable boolean with explicit handling. This code is basically begging for a runtime exception to break into your production environment at 2 AM.
Please Be The First Guy While Using TypeScript
Typescript
Webdev
Javascript
Programming
Debugging
9 months ago
277.0K views
0 shares
The duality of TypeScript developers in their natural habitat: Top panel: The type-safety zealot who clutches their pearls at the mere sight of any . "ANY TYPE?? In MY interface definition?? How QUEER!! I shall report this abomination to management immediately!" Bottom panel: The pragmatist who's just trying to ship code before the deadline. "I guess we doin' JavaScript now" *casually drops blue ball of type-safety on the floor* The red triangles represent the bugs waiting to strike either way. Choose your fighter.
The Dramatic Birth Of TypeScript
Typescript
Webdev
Javascript
Programming
Debugging
11 months ago
238.4K views
0 shares
Oh. My. God. The TRAUMA of JavaScript's type coercion bringing a grown developer to tears! 😭 The absolute HORROR of "10"-1 = 9 because JavaScript just decides strings with numbers should be numbers when it feels like it! The AUDACITY! And then TypeScript swoops in like the helicopter parent we never knew we needed, wrapping us in a warm blanket of strict typing and whispering "there, there, I won't let the bad implicit conversions hurt you anymore." DRAMATIC RESCUE COMPLETE! 💅
The TypeScript Knight's Fatal Weakness
Typescript
Javascript
Programming
Debugging
Testing
11 months ago
255.8K views
1 shares
The knight was ready for battle with his mighty sword of TypeScript code, prepared to slay dragons with strict typing and interfaces... until an arrow labeled "as any" pierced right through his helmet. That type assertion just bypassed all his carefully crafted armor of type safety! Nothing defeats a noble TypeScript warrior faster than a teammate who decides type checking is more of a suggestion than a rule.
Logitech Brio 4K Webcam, Video Calling, Noise-Cancelling mic, HD Auto Light Correction, Wide Field of View, Windows Hello Works with Microsoft Teams, Zoom, Google Meet, PC/Mac/Laptop/MacBook/Tablet
Affiliate
Webcams
Logitech
Spectacular video quality: superb resolution, frame rate, color, and detail, featuring autofocus and 5x digital zoom; this Ultra HD webcam supports up to 4K at 30 fps · Look great in any light: Right…
The Type Safety Shortcut
Typescript
Javascript
Programming
Debugging
1 year ago
256.0K views
0 shares
When TypeScript sees an untyped variable, it throws a fit like your strict high school teacher. But the second you slap type:any on it? Suddenly TS is your best friend who "doesn't see a problem here." It's the programming equivalent of telling your compiler "just trust me bro" while silently sacrificing all the type safety you installed TypeScript for in the first place. The digital walk of shame every developer knows but won't admit to doing.
Today's picks
It's AI Fault
Programming
2.0M views
9 days ago
Chivao 12 Pcs Rubber Ducks with 12 Sunglasses/ Hats/ Headwear Small Mini Carnival Cruise Birthday Rubber Duckies Bathtub Toys in Bulk(Duck with Sunglasses,Yellow)
Affiliate
$9.99
Stolen from 2meirl4meirl
Programming
65.0K views
3 years ago