How to learn a programming language (any) tủ tài liệu bách khoa

3 102 0
How to learn a programming language (any) tủ tài liệu bách khoa

Đang tải... (xem toàn văn)

Thông tin tài liệu

How to Learn a Programming Language (any)    Learn language basics  a Variable Types  b Operators  c Basic input and output   d Print something on STDOUT  e Basic program structure  Learning out basic data structures / containers  a Dictionary  b Set  c List  d Array  e That’s about it!  Learn basic file I/O  a How to read a file in  b How to write a file out  c Crazy mileage ( simple ­> complicated )  d This goes from simple reading of a text file to….  DATABASE. Postgres, or mongodb (extremely  complicated)  Learn networking basics  a Making HTTP requests with your language  i Learn how to GET, POST, DELETE, etc.  requests.   ii How to set your requests properly, how to  handle responses and status codes  b Learn some basic socket programming your  language.   c Overall, there are LIBRARIES out there to help  you to do this.  How to build your project and language  a E.g. C++ you’ll have to learn how to build static  libraries, shared libraries, how to link your  applications properly.   b E.g. Python developer. You’ll have to figure out  how to separate out your modules well.   i Execution vs import style  ii How does this is all fit into your project?  Learn OO / functional programming paradigm tools  a E.g. for OO you need to learn how to use  classes, how to use inheritance, how to use  polymorphism, etc.   b E.g. functional. You’ll have to learn how your  language uses blocks or lambdas, how function  pointers or callbacks work.   EXTRA Goodies in any language  a Bag of trickies  b You can come back to here and learn the  subtleties and nice stuff of any language  c E.g. Ruby has a lot of cool methods on  enumerable types.                 ... E.g. for OO you need to learn how to use  classes, how to use inheritance, how to use  polymorphism, etc.   b E.g. functional. You’ll have to learn how your  language uses blocks or lambdas, how function ... pointers or callbacks work.   EXTRA Goodies in any language a Bag of trickies  b You can come back to here and learn the  subtleties and nice stuff of any language c E.g. Ruby has a lot of cool methods on ... Overall, there are LIBRARIES out there to help  you to do this.  How to build your project and language a E.g. C++ you’ll have to learn how to build static  libraries, shared libraries, how to link your  applications properly.   b E.g. Python developer. You’ll have to figure out 

Ngày đăng: 07/11/2019, 20:37

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan