~/talk

"Little Snippets"

Talkat RubyC 2017 · 2017-06-03..06-04· [ruby]
slides:none on file

Presents concrete rules: use max instead of sorting then taking last (avoids O(n log n) work), prefer File.write over open/write blocks for whole-file writes, use require_relative or __dir__ instead of File.dirname(__FILE__) juggling, prefer String#include over index/regex when checking substrings, pass a string to send (it accepts both), use %r{} to avoid backslashes in regex, use tap to return a mutated object, and run RuboCop to enforce consistent style and catch these patterns.

AI-written summary · about

  1. 0:00Introduction to code quality
  2. 1:19Opinions and subjectivity
  3. 6:18Conciseness and API design
  4. 17:10Redundancy and conventions
  5. 20:25Cognitive load and readability
  6. 22:32Practical code improvements
  7. 26:36Natural code flow
  8. 31:10Advanced Ruby idioms
  9. 35:05Mastering regular expressions
  10. 40:57Consistency and tooling
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.