Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32171
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Recommendation for a good Android programming book? |
| Date | 2015-07-27 22:22 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mp6p0u$19j$1@speranza.aioe.org> (permalink) |
| References | (17 earlier) <55912d99$0$300$14726298@news.sunsite.dk> <mmrmkp$puo$1@dont-email.me> <559189a1$0$301$14726298@news.sunsite.dk> <55918bea$0$304$14726298@news.sunsite.dk> <mmsbkj$nj0$1@dont-email.me> |
On 6/29/2015 5:00 PM, Martin Gregorie wrote:
> On Mon, 29 Jun 2015 14:18:15 -0400, Arne Vajhøj wrote:
>> On 6/29/2015 2:08 PM, Arne Vajhøj wrote:
>>> On 6/29/2015 11:01 AM, Martin Gregorie wrote:
>>>> On Mon, 29 Jun 2015 07:35:50 -0400, Arne Vajhøj wrote:
>>>>> I have never seen anything for awk nor can I google anything.
>>>>>
>>>> Strange, since its a standard file manipulation scripting tool for
>>>> UNIX/
>>>> Linux but I notice that its supported by SlickEdit.
>>>
>>> I think AWK is a bit too old fashioned for the Eclipse crowd.
>>>
>>> I believe Python would be used for some of that work.
>>>
>>> Sure - it is not as specialized.
>>>
>>> But I know a lot of scripting guys that have switched to Python for the
>>> majority of their work.
>>
>> Public example:
>>
>> http://fylz.com/awk-or-python
>>
> Interesting, and fair comment in its comparison of C and Python, except
> for one point: if you're parsing a file (could be a configuration file)
> and want to find and report each error in it by giving a line number and
> error text, I don't think that exceptions help a lot with simplifying the
> error handling code, though of course, if you're allowed to stop after
> the first error that using a try..catch structure makes life a lot easier.
>
> However, I thought his comparison of Awk and Python missed the point
> quite badly in that much of the power of Awk is provided by not having to
> bother about reading the file, splitting it into words, worrying about
> writing code that does the same as 'next' or 'nextfile' verbs. IIRC
> you'd also have to add code to handle line selection in Python to handle
> the selection logic implied in awk by simply writing a
>
> /regex/ { action }
>
> pair. The same can be said about RPG3 (shudder) or any number of 4GL
> report generators.
>
> I don't particularly dislike Python: IMO its preferable to Perl, but if
> you're ripping a log or other sequential text file apart, I think awk
> beats both of those hands down. And, when it comes to OO programming, I
> much prefer Java to Python
I believe you that it may not be a perfect technical fit.
But it seems to be a common choice.
And actual popularity of tools do have an impact no matter
how well founded or not the popularity is.
Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Recommendation for a good Android programming book? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-20 15:16 -0700
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-05-21 20:30 -0400
Re: Recommendation for a good Android programming book? e.d.programmer@gmail.com - 2015-05-22 08:16 -0700
Re: Recommendation for a good Android programming book? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-25 20:40 -0700
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-05-26 10:15 +0000
Re: Recommendation for a good Android programming book? Joerg Meier <joergmmeier@arcor.de> - 2015-05-26 13:27 +0200
Re: Recommendation for a good Android programming book? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-05-26 07:33 -0700
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-05-26 19:52 +0000
Re: Recommendation for a good Android programming book? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-05-26 17:21 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-05-26 22:36 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-03 21:26 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-04 21:00 +0000
Re: Recommendation for a good Android programming book? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-06-05 08:06 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-05 17:30 +0000
Re: Recommendation for a good Android programming book? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-06-05 13:59 -0400
Re: Recommendation for a good Android programming book? e.d.programmer@gmail.com - 2015-06-05 05:50 -0700
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-05 17:35 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-06 23:50 -0400
Re: Recommendation for a good Android programming book? e.d.programmer@gmail.com - 2015-06-08 07:39 -0700
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-28 21:42 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-29 08:20 +0000
Re: Recommendation for a good Android programming book? Jeff Higgins <jeff@invalid.invalid> - 2015-06-29 05:49 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 07:37 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 07:35 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-29 15:01 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 14:08 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-29 14:18 -0400
Re: Recommendation for a good Android programming book? Martin Gregorie <martin@address-in-sig.invalid> - 2015-06-29 21:00 +0000
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-07-27 22:22 -0400
Re: Recommendation for a good Android programming book? Arne Vajhøj <arne@vajhoej.dk> - 2015-06-06 23:48 -0400
csiph-web