Menu
The @ symbol was chosen for email in 1971.
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
Boolean-methods Memes
Posts tagged with Boolean-methods
AI Cooked Up These Methods
AI
Programming
Csharp
6 hours ago
39.3K views
0 shares
When AI tries to help you write a simple boolean method and gives you two options that are basically the same thing but with extra steps. The first one checks if something is Something.Something (because why use one dot when you can use two?), and the second one adds a completely unnecessary GetType() and typeof() comparison to achieve the exact same result. It's like asking for directions and getting "turn left" or "rotate your body 90 degrees counterclockwise and proceed forward." Thanks, AI overlords, very helpful. Nothing screams "cutting-edge technology" quite like generating code that makes you question if the AI is trolling you or just really committed to overengineering.
Today's picks
Where's The Love
Programming
149.5M views
13 days ago
What I say
Programming
94.7K views
5 years ago
World's Okayest Programmer - Software Developer - 11 oz White Ceramic Coffee Mug - Retro Pixel Art
Affiliate
$21.95