517
I like Python def (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] CannotSleep420@lemmygrad.ml 2 points 1 year ago

I think there's also a good case to use them if your function is just evaluating and returning a single expression.

this post was submitted on 24 Sep 2023
517 points (93.0% liked)

Programmer Humor

32490 readers
530 users here now

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

Rules:

founded 5 years ago
MODERATORS