Alice52 / tutorials

tutorial list with diff language
MIT License
0 stars 0 forks source link

[language] learning #1

Open Alice52 opened 1 year ago

Alice52 commented 1 year ago

language

  1. keyword
    • static
    • private
  2. data type: basic/complex/referenced
    • string
    • list/array
    • map/set
    • struct
    • enum
  3. flow control
    • if
    • switch..case
    • for..continue
    • while..break
  4. built-in func
  5. function/method
  6. interface/class: oop
  7. generic
  8. pointer
  9. memory
    • jvm
    • allocate
    • gc
  10. multi-thread
    • routine/juc
  11. others
    • operator
    • io: channel
    • reflect
    • annotation

cons & pros

  1. ecology

practice

  1. env setup
  2. hello world
  3. crud
    • rest api
    • db connection
    • rpc
  4. open-source framework
Alice52 commented 7 months ago

dimensions

  1. compiler
  2. generic
  3. reflect
  4. gc
  5. oop thinking or impl-adaptor
  6. cpu & memory & io
  7. sugar
  8. call language lib
  9. dp & dpp
  10. struct module: 解耦开发迭代协作
    • library
    • executable(including container)
  11. agent
Alice52 commented 7 months ago

keyword

  1. 声明各种代码元素
  2. 组合类型的字面表示
  3. 基本流程控制语法
  4. 协程和延迟函数调用