How I see programming languages:
C: You need to manually build a heap to run 1+1
Rust: Copy 1 15 times, add a copy of 1 and return a copy
Java: OnePlusOneStrategyBuilder is auto-injected
JavaScript: npm install OnePlusOne
Python: 1+1 -> Hey C, how much is 1+1?
Ruby: 1.plus(1) unless session_expired
SQL: Select from fake table with 1+1
Kotlin: Open Android Studio, Alt+Space, Enter.
Swift: (1+1) in a blue bubble or 11 in a green bubble
PHP: <html><?php echo 1+1 ?></html>
Go: if err != nil { return nil } 1+1 if err != nil { return nil }
Login to reply
Replies (20)
is Ruby the most beautiful language
Yes, unless the others exist.
Awe that's unfair you don't need a heap to do 1+1 in C XD
(+ 1 1)
( ,( ,@( `( ( + 1 1) ) ) ) )
Everyone complains about Go's error handling until they discover how convenient is for debugging 🤣
I got a segfault just reading this.
Programming jokes are the BEST !
This is... Accurate 🤣
Scala be like: Pure monads and invent a type system so that you can sum two numbers.
Perl:
my $str = "11";
say() =()= $str =~ /1/g;
there are no jokes on lisps. It's joke-resistant language
Look at PHP. Perfect. 🤌🏻
(ftw ‘(‘Lisp ‘dialects))
Lua: 1+1 = table
Haskell: 1+1
Golang LOL 😂
No, ruby is the most beautiful language, no exception.
I'm not a programmer but i was shocked when DHH gave some examples of Ruby on Lex Friedman podcast
But I like heaps
Big fan of heaps and arenas myself.

GitHub
VNLib.Core/lib/Utils.Memory at develop · VnUgE/VNLib.Core
High performance server application utility libraries - VnUgE/VNLib.Core
But my favorite part, is that stack memory is enough to do a lot of work very fast.