memesearch
C++ returns two longs

C++ returns two longs

Download Find similar pictures
Text on the meme
Can easily do the same in C++. For example, here's a function that returns two 'long' objects: #cpp long long get_two_longs() { return 1001L, 1501L; } In Go, a function can return MULTIPLE results?! This is mindblowing 🤯
What it means

A programming post jokes that a C++ function returns two long objects, but the code actually uses the comma operator and returns only the second value. A quoted Go reaction marvels at functions returning multiple results, making fun of the contrast between the languages and the original misunderstanding.

Objects
Tags
Sources
Type
image
Size
786×800 · 78.6 KiB
Mood
саркастичный, абсурдный
Language
en
Added

Similar memes