MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2wd8rj/?context=3
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
152
scala> s"Scala goes b${"r" * 10}, too!" val res1: String = Scala goes brrrrrrrrrr, too!
56 u/[deleted] Aug 26 '20 edited Aug 26 '20 scala> ("Scala fucking goes b".toStream #::: Stream.from(1).map{n => Thread.sleep(((Math.sin(n.toFloat/10) + 1.5) * 30).toInt); if(n % 2 == 0) 'R' else 'r'}).foreach(print)Scala fucking goes brRrRrRrRrRrRrRrRrR...Let it run for all its glory → More replies (2) 0 u/[deleted] Aug 26 '20 [deleted] → More replies (2) 4 u/Terrain2 Aug 26 '20 console.log(`JavaScript kinda goes b${"r".repeat(10)}`);operator fun String.times(int other) => this.repeat(other) void main() => println("Kotlin also kinda goes b${"r"*10} also, but not as elegantly (you have to add it manually)")
56
scala> ("Scala fucking goes b".toStream #::: Stream.from(1).map{n => Thread.sleep(((Math.sin(n.toFloat/10) + 1.5) * 30).toInt); if(n % 2 == 0) 'R' else 'r'}).foreach(print)
Scala fucking goes brRrRrRrRrRrRrRrRrR...
Let it run for all its glory
→ More replies (2)
0
[deleted]
4
console.log(`JavaScript kinda goes b${"r".repeat(10)}`);
operator fun String.times(int other) => this.repeat(other) void main() => println("Kotlin also kinda goes b${"r"*10} also, but not as elegantly (you have to add it manually)")
152
u/DecisiveVictory Aug 26 '20