9. Code has context
1 use strict;!
2 use warnings;!
3 use List::MoreUtils qw/pairwise/;!
4 use v5.18;!
5 !
6 my @foo, @bar;!
7 my %h = pairwise(@foo, @bar);
you’ll probably want @foo or @bar here
10. Code can be repetitive
1 my $mail = {!
2 john => 'john@gmail.com',!
3 bob => 'bob@walla.co.il',!
4 barbara => 'bar@gmail.com',!
5 george => 'g@george.com',!
6 };!
7 !
1 my $mail = {!
2 john => 'john@gmail.com',!
3 bob => 'bob@walla.co.il',!
4 barbara => 'bar@gmail.com',!
5 george => 'g@george.com',!
6 };!
7 !
11. The more you type…
• you’ll waste more time
• you’ll make more mistakes
• you’ll be less happy
12. A text editor can be a friend
• In writing:
• Code snippets
• File templates
• Context aware auto complete
• Verify syntax and find errors early
13. A text editor can be a friend
• While working on a project:
• File navigation
• Documentation
• Quickly find what you need
14. A text editor can be a friend
• While running and testing:
• Reminds you to run unit tests
• Helps you run complex flows