On Sat, 03 Jun 2017 02:14:12 +0000, flymail wrote:
> Tsu’s comments are, as always, very helpful and informative. So are
> Jim’s, but I have a couple of suggestions in response to his comments.
>
> On 2017-06-02, Jim Henderson <hendersj@no-mx.forums.microfocus.com>
> wrote:
>> A lot depends on what I’m doing, honestly - if I’m doing a
>> search/replace operation, I’ll default to vim regardless of the size.
>
> I wouldn’t use Vim for search-and-replace because it’s a bit unwieldy
> for single operations on multiple files. Try sed for such operations -
> it’s much more efficient.
Indeed, I do. Or I use awk.
>> But I find the syntax highlighting in Komodo Edit better in a lot of
>> ways,
>
> I admit I’m not familiar with Komodo Edit, but syntax highlighting in
> Vim can be made to be exquisitely language-sensitive using plugins (the
> same is of course true for Emacs). However the chosen formatting and
> colour scheme is dictated by your ~/.vimrc configuration. Indeed my
> feeling is looking at the ~/.vimrc file of a Vim user is like looking
> into his/her soul.
Yeah, for me, it’s largely the defaults that I go with for each - I could
spend a lot of time tweaking my environment, but if I wanted to do that,
I’d use KDE rather than GNOME. 
>> and particularly when I’m working on a long Python script (which is a
>> language I code in but wouldn’t say I’m exactly fluent in), it helps a
>> lot particularly in noting formatting issues that affect the program
>> (which I don’t know that vim will do as well).
>
> Yes it does. By default Vim handles F/C/C++ and AT&T-style assembler
> files perfectly (although by default it doesn’t recognise more exotic
> extensions such as *.txx etc…). But Python requires a combination of a
> vim-python plugin and several changes to ~/.vimrc (indeed Guido has
> provided a prototype).
Yeah, I thought I remembered reading something like that. There again,
it depends on what I’m doing. One of the nice features of Komodo Edit is
that it’s not just syntax highlighting, but word completion and language
reference all wrapped together - if I start typing out a method, it’ll
give me tips on the parameters that need to go in, and it learns about
variables that are created and will suggest them if I start typing them.
That sort of thing really helps with me not fat-fingering a varname, or
having to keep a language reference nearby to remember the parameters I’m
passing in.
It interestingly also understands many python modules, so if I include
the requests module, it also knows about those functions and objects.
Komodo Edit is the free version of the Komodo IDE. For the size of
project I work with, I generally don’t need a full IDE.
> On the IDE side, for those who find Eclipse to be unwieldy, I’ve heard
> good things about Geany. However I can’t really advise here because I
> loathe IDEs. They hide everything and certainly therefore provide a
> poor environment for newcomers to learn coding. However, I can see why
> some people might find them convenient for debugging; although I
> personally find them no more helpful than gdb/pdb/etc although Vim has a
> new swanky plugin for gdb debugging which I’m almost tempted to try…
I generally agree about IDEs - the first C compiler I used was on a
Commodore 64, and there wasn’t room for an IDE in that environment. But
Eclipse and some of the other Java IDEs are pretty good - I know pro
developers who work with them and do very good work. Ideally, an IDE
isn’t going to hide things from you, but it’s going to make them more
accessible as you’re coding and help you follow dev standards and styles
(for example) to make your code more maintainable.
Jim
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C