r/learnprogramming • • Mar 07 '23

Is it normal as a junior programmer..

To spend hours looking over the same block of code, trying to sort out ‘why the f*ck isn’t this working!?’, only to realize the error you made is so monumentally, and stupidly obvious that it leaves you feeling like a completely useless moron? Lol

1.6k Upvotes

297 comments sorted by

View all comments

Show parent comments

3

u/mandradon Mar 08 '23

Anyone not using an IDE for R deserves what they get! Rstudio is great for what it does. It smoothed the learning process out for me when I was in grad school that I never through of R as a language and just thought of it as a stats package with really poor UI tools.

I've seen people recommend using just the python terminal to learn, or IDLE, but I think those people are insane. I get doing things simple from the start, but text editors and ides exist for a reason.

Also, with Python, it's error messages can be less than helpful for novices, though. A missed closing parenthesis will often throw an error on the wrong line, depending on the version or LSP/linter that's being used. Tab mistakes can take a long time to track down if you don't know what you're looking for, too.

2

u/patternboy Mar 08 '23

I agree with everything you said about R and IDEs. I don't think I'll ever understand why anyone prefers to "start simple" when it opens the door for so many more problems, never mind monotone code with no formatting.

Also I'm so glad you said it - the biggest thing I've found with python is the errors are often really cryptic! And sometimes even if they reference the correct line, it's unclear which part of the line is the issue. I'm just now getting to the point where I can half reliably work out what an error actually means.