Programming IQ Bell Curve
Write a program to output the following: * *** ***** ******* ********* *********** ********* ******* ***** *** * fun main() { ((1..6) + (5 downTo 1)) .map { it * 2 - 1 } .map { " ".repeat((6 * 2 - 1 - it) / 2) + "*".repeat(it) } .forEach(::println) } fun main() { println(""" * *** ***** ******* ********* *********** ********* ******* ***** *** * """.trimIndent()) } fun main() { println(""" * *** ***** ******* ********* *********** ********* ******* ***** *** * """.trimIndent()) } Junior Middle Senior 34% 14% 2% IQ score 55 70 85 100 115 130 145
A meme shows a bell curve of programming approaches. At the center, the Junior programmer writes a compact Kotlin functional pipeline, while the Middle and Senior programmers use long hard-coded multiline strings to print the same star pyramid. The joke is that supposedly more experienced programmers may solve a simple task in increasingly elaborate or old-fashioned ways. EN: A meme shows a bell curve of programming approaches. At the center, the Junior programmer writes a compact Kotlin functional pipeline, while the Middle and Senior programmers use long hard-coded multiline strings to print the same star pyramid. The joke is that supposedly more experienced programmers may solve a simple task in increasingly elaborate or old-fashioned ways.
- @ithueti / 12083 2024-03-06
- Template
- Bell Curve / IQ Distribution meme
- Type
- image
- Size
- 800×496 · 36.6 KiB
- Mood
- саркастичный, абсурдный
- Language
- en
- Added