$30 off During Our Annual Pro Sale. View Details »

Level-Up Your Code-Fu With Chuck Norris (and ReSharper, VsVim and NCrunch)

September 25, 2014

Level-Up Your Code-Fu With Chuck Norris (and ReSharper, VsVim and NCrunch)

Our minds possess an unlimited potential and are, without a doubt, the best tool we have in our software development arsenal. However, the interface between our minds and the computer - hands, keyboard, editors... - is imperfect and inefficient, and prevents us from expressing our thoughts in code freely.

But worry not! Chuck Norris is here to kick some ass and help you improve how well and how fast you express yourself in code. Master tools like ReSharper, VsVim and NCrunch and breach the gap between mind and matter.


September 25, 2014

More Decks by Jaime

Other Decks in Programming



  2. Enthusiastic Software developer! Works at Medius R&D building a SPA...

    ... but also started jaimegonzalezgarcia.com Blogs at barbarianmeetscoding.com likes... fantasy sci-fi drawing Malin ??? @vintharas
  3. for a Software Developer? Which is the most important tool

  4. None
  5. None
  6. it’s the BRAIN!!!!

  7. None
  8. None
  9. None
  10. How is this talk gonna work?

  11. None
  12. CREATE If Chuck Norris hits himself, he'll create an infinite

    loop by countering each blow, a paradox no one can solve. Except Chuck Norris. - Chuck Norris Fact
  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. DEMO

  20. None
  21. None
  22. None
  23. CTRL+T to find stuff CTRL+- to go back CTRL++ to

    go forward - Alexander Tuttle
  24. EXPLORE Chuck Norris can find gold in a silver mine.

    - Chuck Norris Fact
  25. None
  26. None
  27. None
  28. None
  29. DEMO

  30. None
  31. None
  32. None
  33. Go To Word ReSharper Plugin (CTRL+T x 3 free text

    search) Mnemonics Plugin (1000 live templates) - Roland Wallin
  34. IMPROVE Chuck Norris uses Green-Refactor. The unit tests don’t dare

    fail on him. - Chuck Norris Fact
  35. None
  36. None
  37. None
  38. None
  39. None
  40. DEMO

  41. None
  42. None
  43. None
  44. Don’t Don’t use ReSharper - Pierre Fransson

  45. INTERLUDE ReSharper Basics

  46. ReSharper means MORE CONTROL to express yourself in code

  47. ReSharper means MORE AGILITY to express yourself in code

  48. ReSharper means MORE SPEED to express yourself in code

  49. ReSharper means MORE AWESOME

  50. ReSharper IN mouse OUT

  51. An there’s a ton of more stuff

  52. TEXT-EDITING LIKE A JEDI Chuck Norris was in all 6

    star wars films as THE FORCE - Chuck Norris Fact
  53. …In the remotest galaxy… There’s Known as… planet a EARTH…

  54. Jaime ponders… True story

  55. None
  56. None
  57. Edit text at the speed of light Precise like a

    surgeon 100% keyboard driven It’s on every platform Highly configurable Very extensible via plugins Great documentation It’s free Worthwhile long-term investment (since 1991/1976)
  58. Maximize what you can do with as few keystrokes as

    possible It’s all about editing text efficiently VIM Modes By using different modes you avoid the need to use weird combinations
  59. “You spend more time editing and manipulating text than writing

    it in the first place” That’s why the initial mode is the NORMAL mode
  60. The most important things are at the tip of your

    fingers You can move around right from the home row
  61. Vim commands build upon each other with logic and amazing

  62. dw delete a word d2w delete two words di” delete

    inside “ d delete
  63. d2wword delete two (operator, count, motion)

  64. i -> insert mode, ESC back to normal mode dd

    -> delete current line (and copy) y -> copy character (yank) p -> paste yy -> copy current line hjkl -> mode around (←↓↑→) u -> undo last change (undo) cw -> change word
  65. a -> insert after character (append) w -> go to

    the beginning of next word (word) b -> go to the beginning of last work (back) e -> go to the end of next word (end) dt) -> delete until the parenthesis di” -> delete inside quotes da” -> delete inside quotes and quotes d2/hello -> delete until second occurrence of hello
  66. Vim is design to tackle repetition Use the . command

    to repeat the last change You can use <counter>.
  67. I -> insert at the beginning of the line A

    -> append at the end of the line D -> delete until the end of the line C -> change until the end of the line O -> new line before the current line G -> go to the end of the file J -> append previous line
  68. None
  69. DEMO

  70. None
  71. None
  72. None
  73. CTRL+DELETE delete from cursor to the end of the word

    CTR:+BACKSPACE delete from cursor to the beginning of the word - Roland Wallin
  74. INTERLUDE ReSharper + VsVim

  75. INTERLUDE ReSharper + VsVim ReSharper + VsVim Create Explore Improve

    Macro Changes Precision Micro changes
  76. PROGRAMMING YOUR IDE Mortal Kombat is not difficult enough for

    Chuck Norris, so he got Immortal Kombat. - Chuck Norris Fact
  77. None
  78. DEMO

  79. None
  80. None
  81. None
  82. Use EditBox in Visual Studio ALT+hold mouse to create a

    box and edit a bunch of stuff - Jimmy Esbjörsson
  83. INTERLUDE ReSharper + VsVim + Metaprogramming

  84. INTERLUDE ReSharper + VsVim ReSharper + VsVim + Meta Create

    Explore Improve Macro Changes Precision Micro changes Extend Adapt Customize
  85. SPECIALIST FLOWs Chuck Norris special orders his pencils without erasers

    because Chuck Norris doesn't make mistakes. - Chuck Norris Fact
  86. None
  87. DEMO

  88. None
  89. None
  90. None
  91. Gated Check-ins to avoid breaking the build or committing broken

    tests. - Roland Wallin
  92. FINALE

  93. are not the point Gulp

  94. the point is

  95. code•think•improve find what works for you

  96. code•think•improve That’s my secret sauce for awesomeness. - Chuck Norris

  97. None
  98. Thank you!! Any questions?

  99. And T-SHIRTis... the winner of the amazing