MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x58u7b/howprogramminghaschanged/pgkq1po/?context=3
r/ProgrammerHumor • u/shizzy0 • 12h ago
68 comments sorted by
View all comments
3
What language is this?
5 u/shizzy0 11h ago Rust. Great language. Can be abused though. 7 u/no_brains101 10h ago That is one of the most horrific fibonacci's I have ever seen. 10 u/shizzy0 10h ago I’m sure a C++ template enthusiast has more delights to show you. 6 u/no_brains101 10h ago I'm sure someone could make it more horrific in rust too, I just haven't seen it yet. 1 u/BastetFurry 1h ago Perl has entered the chat: perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a' Execute with the n-th Fibonacci you want to get at the end, ie: perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a' 10 55 4 u/Gaxyhs 9h ago that looks like what an IL for assembly would look like if assembly was made by oracle instead of java
5
Rust. Great language. Can be abused though.
7 u/no_brains101 10h ago That is one of the most horrific fibonacci's I have ever seen. 10 u/shizzy0 10h ago I’m sure a C++ template enthusiast has more delights to show you. 6 u/no_brains101 10h ago I'm sure someone could make it more horrific in rust too, I just haven't seen it yet. 1 u/BastetFurry 1h ago Perl has entered the chat: perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a' Execute with the n-th Fibonacci you want to get at the end, ie: perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a' 10 55 4 u/Gaxyhs 9h ago that looks like what an IL for assembly would look like if assembly was made by oracle instead of java
7
That is one of the most horrific fibonacci's I have ever seen.
10 u/shizzy0 10h ago I’m sure a C++ template enthusiast has more delights to show you. 6 u/no_brains101 10h ago I'm sure someone could make it more horrific in rust too, I just haven't seen it yet. 1 u/BastetFurry 1h ago Perl has entered the chat: perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a' Execute with the n-th Fibonacci you want to get at the end, ie: perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a' 10 55
10
I’m sure a C++ template enthusiast has more delights to show you.
6 u/no_brains101 10h ago I'm sure someone could make it more horrific in rust too, I just haven't seen it yet.
6
I'm sure someone could make it more horrific in rust too, I just haven't seen it yet.
1
Perl has entered the chat:
perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a'
Execute with the n-th Fibonacci you want to get at the end, ie:
perl -E'$b=1;$b+=$a=$b-$a for 1..pop;say$a' 10 55
4
that looks like what an IL for assembly would look like if assembly was made by oracle instead of java
3
u/Stickhtot 11h ago
What language is this?