50 likes | 220 Views
Fast Code Craft. Dmitri Nesteruk Developer Evangelist dn@jetbrains.com. Taganrog BORSCH • 29.09.2012. The Principle. The amount of effort required to write obvious code should be minimal Obvious = not requiring any additional analysis Any routine code should be Generated or
E N D
Fast Code Craft Dmitri Nesteruk Developer Evangelist dn@jetbrains.com Taganrog BORSCH • 29.09.2012
The Principle • The amount of effort required to write obvious code should be minimal • Obvious = not requiring any additional analysis • Any routine code should be • Generated or • Created with computer assistance • Code creation should (ideally) happen at the speed of thought
Some FCC Mechanisms • Expansion shortcuts • HTML Zen • Mnemonics (works across all languages) • Static code generation • ReSharper’s Generate features • D-style mixins • Domain Transformations • Math (MathML, Excel) Code
Resources • HTML Zen • Built into IntelliJ IDEA product line • Available as source in the ReSharper SDK: http://www.jetbrains.com/resharper/download/index.html • Mnemonics for ReSharper • Live template XML: https://dl.dropbox.com/u/6374633/CommonLiveTemplates.xml • D-style mixin support in ReSharper • Blog post with full source: http://blogs.jetbrains.com/dotnet/2012/08/resharper-sdk-adventures-part-5-%E2%80%94-d-style-mixins-in-c/ • Domain transformers • MathML to Code: http://activemesa.com/mathsharp • Excel to Code: http://activemesa.com/x2c
Thanks! Questions are welcome! http://jetbrains.com