Sujet : Re: Python (was Re: I did not inhale)
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 29. Aug 2024, 14:30:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vappl3$3v4l8$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
On 29/08/2024 09:28,
Muttley@dastardlyhq.com wrote:
On Wed, 28 Aug 2024 20:48:08 +0200
David Brown <david.brown@hesbynett.no> wrote:
On 28/08/2024 19:43, Muttley@dastardlyhq.com wrote:
Writing editor editor macros in order to work around fundamentally bad
language design is not something a programmer should have to waste time on.
>
>
>
I don't know about Emacs, but in most editors the way you indent a block of code is to select the lines, then press "Tab". Unindenting is "shift-Tab". Changing tabs to spaces or spaces to tabs is done by selecting "Tabs to spaces" from the Edit menu, or something equally simple and obvious. Many editor can be set to convert tabs to spaces (or vice versa) when saving files, perhaps specific to the file type (so you don't muck up your makefiles).
>
It takes a special kind of genius to be able to program, and yet still have trouble with this kind of thing.
Don't be a patronising prick, it doesn't help your argument. Personally I
have better things to do that figure out some obscure functionality of vim
to achieve something I shouldn't have to do in the first place if the language was designed properly. Thankfully I don't have to use Python much.
Then don't use vim - use an editor that suits your needs.
If you are trying to claim that you do software development, and that the editor(s) you use regularly do not have easily available functions for indenting and un-indenting sections of code, then you are either lying, or you /are/ an aforementioned special kind of genius.
Presumably you are /not/ trying to claim that - you are just trolling.