重新学习编程语言

野路子学习编程这么些年,至今也学习过不少语言,Python,PHP,C, Golang,Rust,Objective-C,Javascript, Lua等等,但是总觉得学习的不扎实,知道编程的路子,更多时候像是在做一个代码的搬运工。

最近在家里思考自己到底想要什么,感觉这个问题可能很长时间都不会有答案,索性想干脆重新学习一下编程语言,忘掉之前的种种。

回顾了之前学习各种语言的点滴,总结了一下学习语言的几个大的方面,想从以下几个顺序重新学习编程语言。

参考链接使用Python及Golang作为示例

1. 学习语法和语义-语言入门

1. Tutorial/GettingStarted

Python: https://docs.python.org/3/tutorial/index.html

Golang: https://tour.golang.org/list

2. References/Specification

Python: https://docs.python.org/3/reference/index.html

Golang: https://golang.org/ref/spec

3. Books

Python: https://learnpythonthehardway.org/

Golang: http://www.gopl.io/

4. Source Code: 源码

Python: https://github.com/python/cpython

Golang: https://github.com/golang/go

不多解释,不强求,可在出现问题时按需阅读。

2. 学习语言的惯用方法-语言进阶

Effective系列

Python: https://effectivepython.com/

Golang: https://golang.org/doc/effective%5Fgo.html

寻找最佳实践

3. 学习语言常用的库-语言实战

官方库

Python: https://docs.python.org/3/library/index.html

Golang: https://golang.org/pkg/

Awesome系列

Python: https://awesome-python.com/

Golang: https://awesome-go.com/

4. 学习语言常用的开发工具-提升效率

强烈推荐Jetbrains家的IDE

IDEs/Editor plugins

Python: https://wiki.python.org/moin/PythonEditors

Golang: https://golang.org/doc/editors.html

5. Coding! Testing! Debugging!-终极奥义

不用过多解释了,疯狂的编码,测试,debug。

use-package教程