Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186344
| From | Erik Christiansen <dvalin@internode.on.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Recommended editor for novice programmers? |
| Date | 2017-09-03 08:20 +0200 |
| Message-ID | <ulwqd-4Q7-1@gated-at.bofh.it> (permalink) |
| References | <ulll8-6lO-19@gated-at.bofh.it> <ullXP-6Pl-7@gated-at.bofh.it> <ulpf3-e3-3@gated-at.bofh.it> <ulrgR-1pj-3@gated-at.bofh.it> <ulrJT-1Ol-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 03.09.17 03:17, Dejan Jocic wrote: > On 02-09-17, rhkramer@gmail.com wrote: > > On Saturday, September 02, 2017 06:46:33 PM davidson@freevolt.org wrote: > > > > > > When, many years later, I developed a greater interest in computers, I > > > was happy to discover that > > > > > > 1. I hadn't been taught only how to ride a tricycle, but had been > > > riding a full-fledged bicycle all along, and > > > > > > 2. I would never need to learn to use another text-editor again, if > > > I didn't want to do so. ... If the proposed users are dilettante programmers, then it matters little what they use. If they intend to become professional, then it is definitely worth trading up to a 17-gear bicycle, from the one-foot-on-the ground scooter that anything less than vim, emacs, and maybe nano is¹. All those gears do provide a useful productivity improvement, as I've found in over 30 years of programming. Vim has useful configurable support for consistent 'C' indenting, and emacs doubtless does too. Abbreviations and key mappings allow custom shortcuts, to reduce fatigue in long coding sessions. Run ctags (preferably exuberant ctags) first, and a double keystroke will take you to the definition of the function name under the cursor. That's gold when you're herding a hundred functions to get the job done. GUI mavens speak of GUI IDEs, but there is no need for a constraining Point_n_Grunt menu maze when "*nix is the IDE" once you have vim or emacs and ctags. The programming task is not complete without documentation. The 420+ page document which summarises some of the programming & sysadmin stuff I've mucked with over the decades, and serves as wetware backup, became a little hard to navigate and keep ordered as it grew. But multi-level folding fixed that. It is worth its weight in chocolate bars - I kid you not. But consider also the simple stuff. To find 20 occurrences of e.g. a function name, and change it in some cases but not others, involves only an alternation of 'n' and '.' (repeat last action) after the initial find and cw (change-word) in vim. Emacs uses more keyboard chords, but but can doubtless do it too. Whatever editor is used, it should let you make the 20 edits in less than 15 seconds, without sweat, or going mouse hunting. > Best downside of Vim I've found would be this: > > "Once you're used to it, you won't like other editors > > When your fingers have learned Vim's keyboard commands, you'll find > yourself reaching for them even when using other text editors. You'll > get frustrated every time you have to reach for the mouse or move your > cursor letter by letter with the arrow keys. You'll notice every time a > Vim feature would save you time and tedium, and you'll wish the editor > you're actually using had it. You'll wish the editor was Vim. You'll > wish everything was Vim. You'll wish this imperfect world we live in > could somehow become just a little bit more graceful, a little bit more > elegant, by adopting modal text editing as a common paradigm. You'll > wish desperately that this world was that better one. But it isn't. It > isn't. And it never will be.:wq" There is no exaggeration in that. But the bicycle analogy is apt. It takes a period of consistent use to gain sufficient proficiency for the cheat-sheet training wheels to be able to be put aside. But it's worth it. Promise. And I do use vim almost everywhere. This post is being composed in vim, invoked within mutt as its editor. I have English, Danish, and German spell checking set up, invoking it only after the initial compose pass. There's word completion, but I've never cottoned on to that. In short, pick a good one, so you only ever need to learn the one. ¹ What do other programmers use? Here's a reddit survey (nano did well): https://www.reddit.com/r/linux/comments/6ihxua/officially_settled_vim_5x_more_popular_than_emacs/ Erik
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Recommended editor for novice programmers? Tom Browder <tom.browder@gmail.com> - 2017-09-02 20:30 +0200
Re: Recommended editor for novice programmers? Dejan Jocic <jodejka@gmail.com> - 2017-09-02 20:40 +0200
Re: Recommended editor for novice programmers? Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-09-02 21:10 +0200
Re: Recommended editor for novice programmers? Gene Heskett <gheskett@shentel.net> - 2017-09-02 22:20 +0200
Re: Recommended editor for novice programmers? Dejan Jocic <jodejka@gmail.com> - 2017-09-02 22:20 +0200
Re: Recommended editor for novice programmers? John Hasler <jhasler@newsguy.com> - 2017-09-02 23:10 +0200
Re: Recommended editor for novice programmers? Fred <fred@blakemfg.com> - 2017-09-03 03:00 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-02 22:40 +0200
Re: Recommended editor for novice programmers? Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-09-03 03:20 +0200
Re: Recommended editor for novice programmers? davidson@freevolt.org - 2017-09-03 00:40 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-03 02:50 +0200
Re: Recommended editor for novice programmers? John Hasler <jhasler@newsguy.com> - 2017-09-03 03:00 +0200
Re: Recommended editor for novice programmers? Dejan Jocic <jodejka@gmail.com> - 2017-09-03 03:20 +0200
Re: Recommended editor for novice programmers? Erik Christiansen <dvalin@internode.on.net> - 2017-09-03 08:20 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-03 16:00 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-03 13:40 +0200
Re: Recommended editor for novice programmers? Larry Dighera <LDighera@att.net> - 2017-09-03 17:40 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-03 17:50 +0200
Re: Recommended editor for novice programmers? Jude DaShiell <jdashiel@panix.com> - 2017-09-03 18:10 +0200
Re: Recommended editor for novice programmers? Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-09-03 03:40 +0200
Re: Recommended editor for novice programmers? Larry Dighera <LDighera@att.net> - 2017-09-03 18:10 +0200
Re: Recommended editor for novice programmers? Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-09-02 20:50 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-02 22:30 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-02 22:40 +0200
Re: Recommended editor for novice programmers? The Wanderer <wanderer@fastmail.fm> - 2017-09-02 21:10 +0200
Re: Recommended editor for novice programmers? solitone <solitone@mail.com> - 2017-09-03 20:50 +0200
Re: Recommended editor for novice programmers? <tomas@tuxteam.de> - 2017-09-03 21:10 +0200
Re: Recommended editor for novice programmers? Dejan Jocic <jodejka@gmail.com> - 2017-09-03 21:40 +0200
Re: Recommended editor for novice programmers? John Hasler <jhasler@newsguy.com> - 2017-09-03 21:50 +0200
Re: Recommended editor for novice programmers? solitone <solitone@mail.com> - 2017-09-04 15:50 +0200
Re: Recommended editor for novice programmers? Joe <joe@jretrading.com> - 2017-09-02 21:30 +0200
Re: Recommended editor for novice programmers? davidson@freevolt.org - 2017-09-03 00:00 +0200
Re: Recommended editor for novice programmers? Doug <dmcgarrett@optonline.net> - 2017-09-03 04:30 +0200
Re: Recommended editor for novice programmers? "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-04 17:50 +0200
Re: Recommended editor for novice programmers? rhkramer@gmail.com - 2017-09-04 23:30 +0200
Re: Recommended editor for novice programmers? The Wanderer <wanderer@fastmail.fm> - 2017-09-04 23:40 +0200
Re: Recommended editor for novice programmers? soyeomul@doraji.xyz (Byung-Hee HWANG (황병희, 黃炳熙)) - 2017-09-03 12:10 +0200
Re: Recommended editor for novice programmers? Tom Browder <tom.browder@gmail.com> - 2017-09-03 13:00 +0200
Re: Recommended editor for novice programmers? Tom Dial <tddial@comcast.net> - 2017-09-03 20:50 +0200
Re: Recommended editor for novice programmers? Ben Caradoc-Davies <ben@transient.nz> - 2017-09-03 23:50 +0200
Re: Recommended editor for novice programmers? Zenaan Harkness <zenaan@freedbms.net> - 2017-09-04 01:30 +0200
Re: Recommended editor for novice programmers? Morten Bo Johansen <mbj@spamcop.net> - 2017-09-04 18:00 +0200
Re: Recommended editor for novice programmers? kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-09-06 06:00 +0200
Re: Recommended editor for novice programmers? Nick Boyce <nick@steelyglint.org> - 2017-09-06 07:00 +0200
Editor survival [Was: Recommended editor for novice programmers?] Erik Christiansen <dvalin@internode.on.net> - 2017-09-06 08:10 +0200
Re: Editor survival [Was: Recommended editor for novice programmers?] Nick Boyce <nick@steelyglint.org> - 2017-09-08 04:20 +0200
Re: Editor survival [Was: Recommended editor for novice programmers?] Jude DaShiell <jdashiel@panix.com> - 2017-09-08 09:40 +0200
Re: Editor survival [Was: Recommended editor for novice programmers?] David Wright <deblis@lionunicorn.co.uk> - 2017-09-08 23:20 +0200
Re: Editor survival [Was: Recommended editor for novice programmers?] Zenaan Harkness <zenaan@freedbms.net> - 2017-09-10 06:00 +0200
Re: Recommended editor for novice programmers? Ben Finney <bignose@debian.org> - 2017-09-06 08:20 +0200
Re: Recommended editor for novice programmers? <tomas@tuxteam.de> - 2017-09-06 10:20 +0200
Re: Recommended editor for novice programmers? Gene Heskett <gheskett@shentel.net> - 2017-09-06 15:10 +0200
Re: Recommended editor for novice programmers? "Gian Uberto Lauri" <saint@eng.it> - 2017-09-06 15:10 +0200
Re: Recommended editor for novice programmers? Richard Owlett <rowlett@cloud85.net> - 2017-09-06 17:30 +0200
Re: Recommended editor for novice programmers? Nick Boyce <nick@steelyglint.org> - 2017-09-08 04:30 +0200
Re: Recommended editor for novice programmers? David Wright <deblis@lionunicorn.co.uk> - 2017-09-08 23:20 +0200
top that shows "Web Content" (was Re: Recommended editor for novice programmers?) rhkramer@gmail.com - 2017-09-08 23:50 +0200
Re: top that shows "Web Content" (was Re: Recommended editor for novice programmers?) David Wright <deblis@lionunicorn.co.uk> - 2017-09-09 02:10 +0200
Re: top that shows "Web Content" (was Re: Recommended editor for novice programmers?) rhkramer@gmail.com - 2017-09-09 13:50 +0200
Re: top that shows "Web Content" (was Re: Recommended editor for novice programmers?) Nick Boyce <nick@steelyglint.org> - 2017-09-10 05:00 +0200
Re: top that shows "Web Content" (was Re: Recommended editor for novice programmers?) rhkramer@gmail.com - 2017-09-10 14:00 +0200
Re: Recommended editor for novice programmers? Zenaan Harkness <zenaan@freedbms.net> - 2017-09-10 05:50 +0200
Re: Recommended editor for novice programmers? "Gian Uberto Lauri" <saint@eng.it> - 2017-09-06 11:00 +0200
Re: Recommended editor for novice programmers? Johann Spies <johann.spies@gmail.com> - 2017-09-06 11:20 +0200
Re: Recommended editor for novice programmers? Ben Finney <bignose@debian.org> - 2017-09-06 20:20 +0200
Re: Recommended editor for novice programmers? Gary Roach <gary719_list1@verizon.net> - 2017-09-07 01:10 +0200
Re: Recommended editor for novice programmers? Joel Roth <joelz@pobox.com> - 2017-09-09 02:40 +0200
Re: Recommended editor for novice programmers? Curt <curty@free.fr> - 2017-09-09 18:30 +0200
csiph-web