The O(1) Fibonacci implementation

5 years ago by AgreeableLandscape to c/programmerhumor

MontyVirus 8 points 3 years ago

This has no business looking this satisfying

path: 0 1307159, hotness: undefined, score: 8, children: 0
cloudy1999 4 points 3 years ago

Goofy but aesthetically pleasing impl

path: 0 1303179, hotness: undefined, score: 4, children: 1
nychtelios 1 point 3 years ago

This isn't goofy, this is an extremely diffused "pattern" when you need to use non dynamic number sequences.

path: 0 1303179 1558607, hotness: undefined, score: 1, children: 0
exapsy 3 points 3 years ago

Dynamic programming /s

path: 0 1320500, hotness: undefined, score: 3, children: 0
programmerhumor
programmerhumor

@lemmy.ml

login for more options
43760
1628
1552

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

go to feed...