this post was submitted on 15 Feb 2025
395 points (98.8% liked)

Programmer Humor

33529 readers
272 users here now

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

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)
import numpy as np

temp = np.array([22, 21, 25, 23])
sd_temp = np.std(temp, ddof=1)
print(sd_temp)

Vs

temp <- c(22, 21, 25, 23)
sd(temp)

How in the world is R more clunky than python?

Edit: and I didn't even mention how python likes to break unrelated software packages whenever I'm forced to use it.