Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

this is classic “mistaking the map for the territory”.

whether the code is in python or matlab matters little. the code is just a supplement to the main material which is still math. trying to understand that math by reading code is actively counterproductive and actually quite foolish. my professor gave a symposium talk on this topic, so i will use one of his examples -

At 0 minutes you have 0 dollars. suppose each minute you toss a coin. if it’s heads you make a dollar. if it’s tails you pay a dollar out of your pocket. What are the chances you’ll have $30 in an hour ?

This is the sort of classic problem that can be coded up in python or matlab under 5 minutes. it’s just a for loop & an if statement. It won’t tell you much about the actual probability because that number is so small your code will have to run for a long time to get a meaningful answer. Whereas it’s trivial if you just do the math by hand.



it just happens that i dont want to download and install matlab on my computer (which is company provided) and i'd rather work on python if there is an equally good course.

not what you thought though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: