Global Feed Post Login
Replying to Avatar Vitor Pamplona

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:

Go: if err != nil { return nil } 1+1 if err != nil { return nil }

Avatar
xiangcai 4mo ago

is Ruby the most beautiful language

Reply to this note

Please Login to reply.

Discussion

Avatar
Vitor Pamplona 4mo ago

Yes, unless the others exist.

Avatar
Anhern Sarsalor [IQ: 102] 4mo ago

No, ruby is the most beautiful language, no exception.

Avatar
xiangcai 4mo ago

I'm not a programmer but i was shocked when DHH gave some examples of Ruby on Lex Friedman podcast

Thread collapsed
Thread collapsed
Thread collapsed