Re: AWK As A Major Systems Programming Language

Liste des GroupesRevenir à c misc 
Sujet : Re: AWK As A Major Systems Programming Language
De : not (at) *nospam* telling.you.invalid (Computer Nerd Kev)
Groupes : comp.misc
Date : 18. Aug 2024, 23:04:11
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <66c26fda@news.ausics.net>
References : 1 2
User-Agent : tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
Stefan Ram <ram@zedat.fu-berlin.de> wrote:
I have worked for several years in Python. For string manipulation
and processing records, you still have to write all the manual stuff:
open the file, read lines in a loop, split them, etc. Awk does all
this stuff for me.
 
 On the flip side, you can peep it like this: Python's got a solid
 set of statement types you can use for everything, making the code
 hella readable. Meanwhile, awk's got its bag of tricks for special
 cases like file and string processing. Just compare [1] with [2].
 
 [1]
[snip]

Weird, as someone who doesn't use much of Python or AWK, I look at
your examples as clearly demonstrating that the AWK version is much
easier to read. I wonder if the Python version is more complicated
than it needs to be actually.

--
__          __
#_ < |\| |< _#

Date Sujet#  Auteur
18 Aug 24 * AWK As A Major Systems Programming Language36Ben Collver
18 Aug 24 +* Re: AWK As A Major Systems Programming Language10Stefan Ram
19 Aug 24 i+* Re: AWK As A Major Systems Programming Language7Computer Nerd Kev
19 Aug 24 ii`* Re: AWK As A Major Systems Programming Language6Richard Kettlewell
19 Aug 24 ii `* Re: AWK As A Major Systems Programming Language5Stefan Ram
19 Aug 24 ii  +* Re: AWK As A Major Systems Programming Language3Stefan Ram
19 Aug 24 ii  i+- Re: AWK As A Major Systems Programming Language1Richard Kettlewell
19 Aug 24 ii  i`- Re: AWK As A Major Systems Programming Language1Computer Nerd Kev
19 Aug 24 ii  `- Re: AWK As A Major Systems Programming Language1D
21 Aug 24 i`* Re: AWK As A Major Systems Programming Language2Anton Shepelev
22 Aug 24 i `- Re: AWK As A Major Systems Programming Language1Lawrence D'Oliveiro
19 Aug 24 `* Re: AWK As A Major Systems Programming Language25Lawrence D'Oliveiro
28 Aug 24  `* Re: AWK As A Major Systems Programming Language24Johanne Fairchild
28 Aug 24   +- Re: AWK As A Major Systems Programming Language1yeti
28 Aug 24   +* Re: AWK As A Major Systems Programming Language2Lawrence D'Oliveiro
28 Aug 24   i`- Re: AWK As A Major Systems Programming Language1Johanne Fairchild
28 Aug 24   `* Re: AWK As A Major Systems Programming Language20D
28 Aug 24    +- Re: AWK As A Major Systems Programming Language1Anton Shepelev
30 Aug 24    `* Re: AWK As A Major Systems Programming Language18Johanne Fairchild
31 Aug 24     `* Re: AWK As A Major Systems Programming Language17D
31 Aug 24      +* Re: AWK As A Major Systems Programming Language12Johanne Fairchild
31 Aug 24      i`* Re: AWK As A Major Systems Programming Language11D
2 Sep 24      i `* Re: AWK As A Major Systems Programming Language10Johanne Fairchild
2 Sep 24      i  +- Re: AWK As A Major Systems Programming Language1Lawrence D'Oliveiro
2 Sep 24      i  `* Re: AWK As A Major Systems Programming Language8D
2 Sep 24      i   `* Re: AWK As A Major Systems Programming Language7Johanne Fairchild
2 Sep 24      i    `* Re: AWK As A Major Systems Programming Language6D
2 Sep 24      i     `* Re: AWK As A Major Systems Programming Language5Johanne Fairchild
2 Sep 24      i      +* Re: AWK As A Major Systems Programming Language2Stefan Ram
3 Sep 24      i      i`- Re: AWK As A Major Systems Programming Language1D
2 Sep 24      i      +- Re: AWK As A Major Systems Programming Language1D
3 Sep 24      i      `- Re: AWK As A Major Systems Programming Language1yeti
3 Sep 24      `* Re: AWK As A Major Systems Programming Language4candycanearter07
3 Sep 24       +* Re: AWK As A Major Systems Programming Language2Lawrence D'Oliveiro
5 Sep 24       i`- Re: AWK As A Major Systems Programming Language1candycanearter07
3 Sep 24       `- Re: AWK As A Major Systems Programming Language1D

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal