It's always nice to revisit my old code.

121 points · 7 comments · view on lemmy.world

7 Comments

xmunk@sh.itjust.works · 50 pts · 2y (3 replies)

Use real words in programming. I don't know how a PDF can compute a natural logarithm but I'm excited to learn.

Artyom@lemm.ee · 9 pts · 2y (1 reply)

Oh that's actually the probability density function, must be some quantum mechanics. Not to be confused with a partial differential function, or a portable document format, or whatever the variable is actually referring to.

xmunk@sh.itjust.works · 6 pts · 2y

Darn, I hoped it was a personal dairy fountain and that ln was a way to access my liquor nougat.

lawrence@lemmy.world · 3 pts · 2y

😂

tsonfeir@lemm.ee · 11 pts · 2y

5 per line, obviously. Unless lines start with 0 😳

damium@programming.dev · 10 pts · 2y

As someone who also has produced code that looks like random characters spewed onto a terminal while using fpdf, I feel this one.

renzev@lemmy.world · 1 pts · 2y

it sounds almost poetic