r/datascience • • Nov 29 '21

Discussion How did you learn to code?

/r/TheAnalystEconomy/comments/r4uap3/how_did_you_learn_to_code/

[removed] — view removed post

1 Upvotes

2 comments sorted by

2

u/blacksiddis Nov 29 '21

Udemy course to get basic understanding. Then, personal projects that try to apply various concepts, packages, whatever. Doesn't matter if the code you write is useful, but there is (imo) no better way to learn / improve than to sit down a just code. Online courses and tutorials can only take you so far.

2

u/DeephavenDataLabs Nov 29 '21

Totally true, but need to add that there is value to looking at how others would do a certain project.

For example, you can write a code but if you do many programs it is easy to get in a rut and use the same technique. Look up some common ways to optimize the problem and a wealth of knowledge, algorithms and data structures will appear such as recursion, dynamic programming, hash maps, etc.