Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Message-ID | <66c26fda@news.ausics.net> (permalink) |
|---|---|
| From | not@telling.you.invalid (Computer Nerd Kev) |
| Subject | Re: AWK As A Major Systems Programming Language |
| Newsgroups | comp.misc |
| References | <slrnvc2fsg.gg1.bencollver@svadhyaya.localdomain> <awk-20240818120618@ram.dialup.fu-berlin.de> |
| Date | 2024-08-19 08:04 +1000 |
| Organization | Ausics - https://newsgroups.ausics.net |
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. -- __ __ #_ < |\| |< _#
Back to comp.misc | Previous | Next — Previous in thread | Next in thread | Find similar
AWK As A Major Systems Programming Language Ben Collver <bencollver@tilde.pink> - 2024-08-18 00:28 +0000
Re: AWK As A Major Systems Programming Language not@telling.you.invalid (Computer Nerd Kev) - 2024-08-19 08:04 +1000
Re: AWK As A Major Systems Programming Language Richard Kettlewell <invalid@invalid.invalid> - 2024-08-19 08:40 +0100
Re: AWK As A Major Systems Programming Language Richard Kettlewell <invalid@invalid.invalid> - 2024-08-19 18:24 +0100
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-08-19 19:42 +0200
Re: AWK As A Major Systems Programming Language not@telling.you.invalid (Computer Nerd Kev) - 2024-08-20 07:43 +1000
Re: AWK As A Major Systems Programming Language Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-18 23:36 +0000
Re: AWK As A Major Systems Programming Language Johanne Fairchild <jfairchild@tudado.org> - 2024-08-27 19:43 -0300
Re: AWK As A Major Systems Programming Language yeti <yeti@tilde.institute> - 2024-08-27 23:50 +0042
Re: AWK As A Major Systems Programming Language Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-27 23:36 +0000
Re: AWK As A Major Systems Programming Language Johanne Fairchild <jfairchild@tudado.org> - 2024-08-27 21:05 -0300
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-08-28 16:25 +0200
Re: AWK As A Major Systems Programming Language Anton Shepelev <anton.txt@g{oogle}mail.com> - 2024-08-28 18:37 +0300
Re: AWK As A Major Systems Programming Language Johanne Fairchild <jfairchild@tudado.org> - 2024-08-30 18:56 -0300
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-08-31 11:56 +0200
Re: AWK As A Major Systems Programming Language Johanne Fairchild <jfairchild@tudado.org> - 2024-08-31 12:28 -0300
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-08-31 22:34 +0200
Re: AWK As A Major Systems Programming Language Johanne Fairchild <jfairchild@tudado.org> - 2024-09-01 22:52 -0300
Re: AWK As A Major Systems Programming Language Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-02 03:36 +0000
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-09-02 09:45 +0200
Re: AWK As A Major Systems Programming Language Johanne Fairchild <jfairchild@tudado.org> - 2024-09-02 11:30 -0300
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-09-02 18:31 +0200
Re: AWK As A Major Systems Programming Language Johanne Fairchild <jfairchild@tudado.org> - 2024-09-02 17:31 -0300
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-09-02 23:08 +0200
Re: AWK As A Major Systems Programming Language yeti <yeti@tilde.institute> - 2024-09-02 23:15 +0042
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-09-03 10:09 +0200
Re: AWK As A Major Systems Programming Language candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-09-02 23:50 +0000
Re: AWK As A Major Systems Programming Language Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-09-03 02:09 +0000
Re: AWK As A Major Systems Programming Language candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-09-05 15:10 +0000
Re: AWK As A Major Systems Programming Language D <nospam@example.net> - 2024-09-03 10:11 +0200
Re: AWK As A Major Systems Programming Language Anton Shepelev <anton.txt@g{oogle}mail.com> - 2024-08-21 19:18 +0300
Re: AWK As A Major Systems Programming Language Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-08-21 23:59 +0000
csiph-web