Fibonacci Indentation in Java
Personally, I prefer to increase the spacing for each successive indent according to the Fibonacci sequence: for { bar { baz { quz { quux { corge { grault { garply { // waldo } } } } } } } } }
A programming tweet shows increasingly deep Java-style nested code with indentation expanding according to the Fibonacci sequence. The joke exaggerates obsessive formatting preferences until the final comment is pushed far to the right, making it a reaction to absurdly overcomplicated coding style. EN: A programming tweet shows increasingly deep Java-style nested code with indentation expanding according to the Fibonacci sequence. The joke exaggerates obsessive formatting preferences until the final comment is pushed far to the right, making it a reaction to absurdly overcomplicated coding style.
smartphone screenshot / скриншот смартфонаtweet interface / интерфейс твитаprogramming code / программный кодnested braces / вложенные фигурные скобкиtext editor / текстовый редакторdark background / тёмный фонindentation spaces / пробелы отступаJava code / код Javacomment marker / маркер комментарияstatus bar / строка состояния
- @dev_meme / 598 2019-08-20
- Type
- image
- Size
- 450×800 · 49.5 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added