Menu
Semicolons - Ending relationships since 1958.
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
Custom operators Memes
Posts tagged with Custom operators
Why Can I Overload โ๏ธ As An Operator But Not ๐?
Programming
Golang
C++
Swift
1 year ago
341.1K views
2 shares
Looks like the compiler is playing favorites with our emojis! ๐ The sword emoji โ๏ธ gets to slice through code as an operator, but the heart emoji ๐ is friendzoned as an "identifier." Even in programming languages, love gets complicated! Guess we can fight in code but can't make love work... typical programmer problems! Next time I'll try to overload ๐ and see if the compiler is hungry enough to accept it!
Today's picks
Japanese Git Bumper Sticker Window Vinyl Decal 5"
Affiliate
$4.95
GearScouts.com
Sponsored
Power stations
I Still Can't C#
Programming
361.4K views
8 months ago