Programming Language Theory, Pratice
There are many programming language paradigms. every language has its advantages and disadvantages on different scenarios.
In order to expand our version and learn different ways of thinking, we had better learn at least one language for each paradigm.
- Process-Oriented: C
- Object-Oritented: C++, Java, C#
- Functional: Schema, Common Lisp
- Dynamic lanauges: Perl, Python, Ruby
It's best, actually, to learn all five of Python, C/C++, Java, Perl, and LISP. Besides being the most important hacking languages, they represent very different approaches to programming, and each will educate you in valuable ways. - How To Become A Hacker by Eric Steven Raymond
Note: Learning the basic grammar of one language maybe just need one day or two days, but learning related framework and libraries might take a long time.
- Decide/choose what to learn?(solve one specific problem or learn something from that language)
- Choose resources(Offical ducuments, tutorials, books)
- Define a learning path. An example:
- Basic syntax, such as data types, operations, and print funcitons
- String manupulation, search, replace, and truncate etc. Regex processing(regex and parser)
- Other data structures like Arrays, Collections(Generics)
- Basic object-oriented or functional features, such as inheritance, polymophism and lambda function
- Exception, error handling, assertions, logging, degbugging, and Unit Test etc.
- Input and output, Serilization and Deserilization
- Event-driveing programming model. How callback method calls?
- Thread, concurrent, asynchronous invocation mechanism
- Dynamic Programming, Reflection and meta programming, Compile and runtime mechanism
- Futures in this programming language, language idoms and patterns
- Leran in practice(exercises or projects)
- Learn X in Y minutes
- Become a Programmer, Motherfucker
- Conceptes of Programming Language by RObert W. Sebesta
- Programming Language Pragmatics by Micheal L. Scott
- Concepts, Techniques, and Models of Computer Programming
- Seven Languages in Seven Weeks by Bruce A. Tate
- Awesome Programming by hardikvasa
- Free Programming Books by vhf