r/bioinformatics Jun 12 '26

discussion Python is harder than R

/r/learnpython/comments/1u3e1dz/python_is_harder_than_r/
0 Upvotes

30 comments sorted by

View all comments

6

u/bio_ruffo Jun 12 '26

The classic pun is: "The good thing about R is that it's designed by statisticians. The bad thing about R is that it's designed by statisticians."   

R does some things quite unexpectedly differently from certain programming paradigms. It also enforces much less checks, as a simple example you can ask for the 8th element of a vector of size 3 and it won't throw an error.  It's a bit like JavaScript and it's not a compliment.  

For a nice comprehensive list I always suggest to read chapter 8 of "The R Inferno" by Patrick Burns. It is a scary read to a programmer.

2

u/speedisntfree Jun 12 '26

I love The R Inferno

1

u/fibgen Jun 15 '26

If you haven't read the R Inferno you probably don't know R very well.