|
|
|
|
|
by ketralnis
2871 days ago
|
|
I do this while learning a new language, and something else that helps is to make little changes as well. Rename some variables, store x+y in an intermediate variable before printing it, print to stderr instead of stdout, annotate a type that could be inferred. It accelerates learning by quite a bit for me |
|
It also helps me enormously to rename ALL variables and function names from examples. Yeah, it's a total pain and can even get confusing. But it keeps me actively engaged with the examples and makes a much clearer separation between USER-chosen names and actual LANGUAGE keywords!