Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I actually kind of like this, not cause it looks good, but it would get people to stop over nesting their code. Force some real Fred George agile style small classes and methods.
-
@c3r38r170 If you count the spaces from the last indent (and not absolute) it's right. 😉
Starts with 0, then 1 from last indent, then 1 from last indent, then 2, then 3, ...
What's wrong is that Fibonacci has two 'c', not two 'b'... -
Looks cool there, but once you have some space between indents it's gonna look fucked.
-
@aquacash5 that's what I meant! Your gonna break your space key if you want to tap so much on it!
-
@CyclingMatt Sorry, I can't see what you mean. You are absolutely right about Fibonacci though, don't people trust the spelling checker?
-
@c3r38r170 I mean that the first three are 0, 1, 1, so the sequence is right. The first line has 0 spaces, the second 1, the third also 1 (but from the first indent), the fourth 2 (from last indent), etc.
Related Rants
What a monster... but it also looks oddly satisfying 🤔
joke/meme
fibonacci
indent