TheTrueRepublican
Council Member
Of course, it all depends on your type of work.I like how forgiving Python is about “duck typing” and it has good standard libraries for statistics and data visualization. I would definitely use it for data extraction and predictive modeling stuff. But MATLAB just seems a little cleaner and less susceptible to introducing subtle unseen errors. If I’m just coding a number-crunching algorithm I think MATLAB would be my preference. For data analysis that doesn’t involve numerical analysis R is really good because it is made for that. You can get good visualizations with R too but the core language isn’t great for that. What I like about Python is how well you can integrate PANDAS data frames and (again) the standard libraries which is why I would be more likely to use it for a long-term project when I might use R or MATLAB for a one-off that doesn’t involve a lot of collaboration.
I tend to solve Leetcode better using Python for interviews and such.
But for work we are hardcore Golang for most of our projects.