Это старая версия документа.
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/handler.php on line 1458
Warning: Declaration of syntax_plugin_tablecalc::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 41
Warning: Declaration of syntax_plugin_tablecalc::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 72
Warning: Declaration of syntax_plugin_offline::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 60
Warning: Declaration of syntax_plugin_offline::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 67
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3416 in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/lexer.php on line 118
====== Эффективный программинг ====== ===== Linux/bash ===== * navigate with pushd <path>, popd * drag objects from Nautilus to terminal * use vars<code> denis@denishp2-ub:/$ a='cd /etc' denis@denishp2-ub:/$ echo $a cd /etc denis@denishp2-ub:/$ $a denis@denishp2-ub:/etc$ </code> * use ''~/.bash_aliases'' (create if doesn't exist)<code> alias robo='cd ~/PrjEclipse/jroboplc'</code> * use Groovy as alternative to bash * use Ruby as alternative to bash ===== Eclipse ===== * use shortcuts list (Ctrl+Shift+L) * use Key Promoter plugin. Help-Install New Software -> http://update.mousefeed.com/ * cool shortcuts:<code> Ctrl-Shift-T Goto to class (use capitals) Ctrl-Shift-R Goto to file Ctrl-O Symbol list Ctrl-J Incremental search Ctrl-E Recently edited files Alt-Shift-L Introduce variable Alt-Shift-Up Escalating selection</code> * [[http://www.prom-auto.ru/articles/eclipse/eclipse.keys.pdf|other shortcuts]] ===== Automation ===== * Gant (build tool) http://gant.codehaus.org/ * Gradle (build tool) http://www.gradle.org/ * Selenium (web applications testing) ===== Codewriting ===== * plenty of short methods against few huge ones. Three lines of code for a method doesn't take much time to figure out what that method does. If you put lots of comments into your method it is a sign to split it up.