~/talk

Live Productive Coder

Talkat DEVit 2015 · on Friday, 2015-05-15· [developer-experience]
links:none on file
slides:none on file

Claims that mastering keyboard and IDE IntelliJ shortcuts plus Java 8 lambdas and live templates cuts repetitive code and mistakes: an old copy‑paste codebase shrinks to about one‑fifth after refactoring. Recommends ~20 hours to learn touch‑typing, notes typical coder works ~60 hours, and demos replacing synchronized blocks with a reentrant read/write lock using lambdas, try‑with‑resources and a StampedLock optimistic‑read idiom. Warns checked exceptions clash with lambdas, advises extracting concurrency idioms to single methods rather than repeating boilerplate.

AI-written summary · about

  1. 0:00Start
  2. 3:48Human vs Computer
  3. 6:31Keyboard Skills • Not all coders can touch type - Each keyboard has dimple for index fingers - Finger controls the buttons above and below it Initial investment of about 20 hours
  4. 10:07Keyboard Shortcuts • Memorise as many as possible - Use them frequently • Every IDE is different - Sometimes on purpose it seems - CTRL+D in Inteli & Eclipse • Learn vim - Productive for small jobs - Good discipline in keyboard us
  5. 12:42The Right Kind of Lazy
  6. 18:16Sascha Schafskopf • Coded without thinking - Resulting code was overly complex - Didn't bother learning the Java API
  7. 30:49Coding with Lambda Idioms
  8. 38:18Lambda Idiom Meet Exception • Lambdas do not play nice with checked exceptions
  9. 50:25How do you start? • Ask some basic questions - What code is dead? • Stories of whole teams working on dead code
  10. 54:15Commenting Out Code • Source Control Systems - Have been around for decades • Don't duplicate source control work • If code is dead, delete it, don't comment it out
  11. 55:26"Wonderfully Disgusting Hack" • JDK 1.4: java.awt.Toolkit
  12. 56:10Automatic Refactoring in IDES • IDEs tempt us to refactor code quickly - But result might be incorrect • Be careful, very careful - Inlining is not always correct - Method extraction is not always correct
  13. 56:34Automatic Tools and Reflection • Java tools rely on static compilation of classes • Be careful when using Reflection and Dynamic Proxies
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.