Keep

2023 第 33 周

8/20/2023, 1:18:00 AM 2 min read

  1. Having more than one way to do the same thing - Ruby

  2. Ruby 的关键字, 语法结构, global; ps: “operator” 在不同 context 下意义不同. 同一个 “operator” 会在不同 class 下单独定义. “operator” 相当于 method; 另外:=== 在 JavaScript 里表示两个操作符是否类型相同以及值相等,在 Ruby 里表示 instanceof: String === 'a'
  3. 约定大于配置 约定大于配置
  4. Receiver::method - 文档 Receiver
  5. ruby class
  6. What is the difference between include and require in Ruby?
  7. Ruby#Set
  8. Ruby operator
  9. 你见过哪些令你瞠目结舌的 Ruby 代码技巧? ps: Ruby 把 composition 作为方法内置
  10. You have a faulty keyboard. Whenever you type a vowel on it (a,e,i,o,u,y), it reverses the string that you have written, instead of typing the character. Typing other characters works as expected. Given a string, return what will be on the screen after typing with your faulty keyboard. Ref. answer#code

  11. 没有学术的民主和思想的自由,科学就不能繁荣。

  12. aka: also known as; successor
  13. 长时间慢跑,会有效且直接地消耗内脏脂肪,是非常好的方法

  14. TTFB
  15. RailsConf 2023 - Functional Patterns in Ruby by John Crepezzi code: 1, 2, 3
    // 动态语言
    function use(Klass, args) {
      const C = function() {}
      C.prototype = new Klass(args)
      return C
    }
    
  16. 具备执行力是少数人才有的能力
  17. 🏃
  18. 拉黑
Tag:
2023

@read2025, 生活在北京(北漂),程序员,宅,喜欢动漫。"年轻骑士骑马出城,不曾见过绝望堡下森森骸骨,就以为自己可以快意屠龙拯救公主。"