Menu
404: Tagline not found
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
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
9 months ago
396.8K 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
Javascript
Programming
Debugging
Webdev
10 months ago
287.6K 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
Javascript
Frontend
Webdev
Programming
1 year ago
253.6K 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
1 year ago
272.7K 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.
AFOOYO Large Dual Monitor Stand For Desk,43 Inch Desktop Computer Riser with Metal Drawer Desk Shelf Organizer For Computer/Laptop/PC/Printer/TV
Affiliate
Monitor Stands
AFOOYO
【43" Large Monitor Stand】Dual monitor riser is 43.5"L x 8.6"Wx 4.7"H, this laptop riser is big enough to support two monitors.Left 2 small iron drawers and a large right iron drawer classify and stor…
The Type Safety Shortcut
Typescript
Javascript
Programming
Debugging
1 year ago
270.1K 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
CanaKit Raspberry Pi 3 B+ (B Plus) with Premium Clear Case and 2.5A Power Supply
Affiliate
$89.99
Microsoft: Oh, sorry, you wanted to not be inconvenienced?
Programming
107.2K views
4 years ago
There's No Escape! Brew Another Cup!
Linux
252.8K views
10 months ago