Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31728 > unrolled thread
| Started by | Knute Johnson <nospam@rabbitbrush.frazmtn.com> |
|---|---|
| First post | 2015-05-20 15:16 -0700 |
| Last post | 2015-06-06 23:48 -0400 |
| Articles | 10 on this page of 30 — 7 participants |
Back to article view | Back to comp.lang.java.programmer
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
Page 2 of 2 — ← Prev page 1 [2]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2015-06-29 08:20 +0000 |
| Message-ID | <mmqv4a$v3k$1@dont-email.me> |
| In reply to | #31869 |
On Sun, 28 Jun 2015 21:42:18 -0400, Arne Vajhøj wrote: > On 6/8/2015 10:39 AM, e.d.programmer@gmail.com wrote: >> On Saturday, June 6, 2015 at 11:52:28 PM UTC-4, Arne Vajhøj wrote: >>> On 6/5/2015 1:35 PM, Martin Gregorie wrote: >>>> On Fri, 05 Jun 2015 05:50:03 -0700, e.d.programmer wrote: >>>> >>>>> This sounds great, if you're coding on a 486. If you're using a >>>>> decent machine I'd recommend an IDE. >>>>> >>>> I'm interested only if said IDE can do exactly the same stuff in >>>> exactly the same way for any language (C, Perl, Java, awk, python and >>>> COBOL as a minimum set). Anything else just wastes my time having to >>>> learn and remember different ways of working for each language while >>>> a good text editor works the same way for any language and under any >>>> supported OS. >>> >>> There are IDE's that support many languages and many platforms and >>> behave as similar as possible. >>> >>> Eclipse comes to my mind. >> >> We use Eclipse for Java, Oracle Java and Android Java, so I know it >> supports other languages but I don't know which ones. If it doesn't >> have built in support for another specific language it does support >> plugins which can make it support any language. You can write your own >> plugins, though if the language is somewhat popular odds are someone >> else already wrote one. > > Everything in Eclipse is a plugin even Java. > > My experience with Eclipse and languages are: > > good support: Java, Scala, C, C++, Fortran, PHP, Perl, Python, Ruby, > Tcl, JavaScript, Ada > > bad support: C#, Cobol (the open source one not the MicroFocus one) > > unknown support: Groovy, Clojure, Lua > > no support: PL/I, VB > > Arne > > Disclaimer: I do not know all language well enough to truly evaluate > capabilities and for some of the languages it is many years ago since I > last tried. Interesting list. Out of curiosity, how does it deal with bash SQL and awk scripts? -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2015-06-29 05:49 -0400 |
| Message-ID | <mmr4e3$k9g$1@dont-email.me> |
| In reply to | #31870 |
On 06/29/2015 04:20 AM, Martin Gregorie wrote: > On Sun, 28 Jun 2015 21:42:18 -0400, Arne Vajhøj wrote: > >> On 6/8/2015 10:39 AM, e.d.programmer@gmail.com wrote: >>> On Saturday, June 6, 2015 at 11:52:28 PM UTC-4, Arne Vajhøj wrote: >>>> On 6/5/2015 1:35 PM, Martin Gregorie wrote: >>>>> On Fri, 05 Jun 2015 05:50:03 -0700, e.d.programmer wrote: >>>>> >>>>>> This sounds great, if you're coding on a 486. If you're using a >>>>>> decent machine I'd recommend an IDE. >>>>>> >>>>> I'm interested only if said IDE can do exactly the same stuff in >>>>> exactly the same way for any language (C, Perl, Java, awk, python and >>>>> COBOL as a minimum set). Anything else just wastes my time having to >>>>> learn and remember different ways of working for each language while >>>>> a good text editor works the same way for any language and under any >>>>> supported OS. >>>> >>>> There are IDE's that support many languages and many platforms and >>>> behave as similar as possible. >>>> >>>> Eclipse comes to my mind. >>> >>> We use Eclipse for Java, Oracle Java and Android Java, so I know it >>> supports other languages but I don't know which ones. If it doesn't >>> have built in support for another specific language it does support >>> plugins which can make it support any language. You can write your own >>> plugins, though if the language is somewhat popular odds are someone >>> else already wrote one. >> >> Everything in Eclipse is a plugin even Java. >> >> My experience with Eclipse and languages are: >> >> good support: Java, Scala, C, C++, Fortran, PHP, Perl, Python, Ruby, >> Tcl, JavaScript, Ada >> >> bad support: C#, Cobol (the open source one not the MicroFocus one) >> >> unknown support: Groovy, Clojure, Lua >> >> no support: PL/I, VB >> >> Arne >> >> Disclaimer: I do not know all language well enough to truly evaluate >> capabilities and for some of the languages it is many years ago since I >> last tried. > > Interesting list. Out of curiosity, how does it deal with bash SQL and awk > scripts? > > <http://www.slickedit.com/products/slickedit-core-for-eclipse/features-by-language>
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-06-29 07:37 -0400 |
| Message-ID | <55912de9$0$300$14726298@news.sunsite.dk> |
| In reply to | #31871 |
On 6/29/2015 5:49 AM, Jeff Higgins wrote: > On 06/29/2015 04:20 AM, Martin Gregorie wrote: >> On Sun, 28 Jun 2015 21:42:18 -0400, Arne Vajhøj wrote: >>> On 6/8/2015 10:39 AM, e.d.programmer@gmail.com wrote: >>>> We use Eclipse for Java, Oracle Java and Android Java, so I know it >>>> supports other languages but I don't know which ones. If it doesn't >>>> have built in support for another specific language it does support >>>> plugins which can make it support any language. You can write your own >>>> plugins, though if the language is somewhat popular odds are someone >>>> else already wrote one. >>> >>> Everything in Eclipse is a plugin even Java. >>> >>> My experience with Eclipse and languages are: >>> >>> good support: Java, Scala, C, C++, Fortran, PHP, Perl, Python, Ruby, >>> Tcl, JavaScript, Ada >>> >>> bad support: C#, Cobol (the open source one not the MicroFocus one) >>> >>> unknown support: Groovy, Clojure, Lua >>> >>> no support: PL/I, VB >> Interesting list. Out of curiosity, how does it deal with bash SQL and >> awk >> scripts? >> > <http://www.slickedit.com/products/slickedit-core-for-eclipse/features-by-language> Note that it is for Eclipse with SlickEdit as editor instead of the standard Eclipse editor. Arne
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-06-29 07:35 -0400 |
| Message-ID | <55912d99$0$300$14726298@news.sunsite.dk> |
| In reply to | #31870 |
On 6/29/2015 4:20 AM, Martin Gregorie wrote: > On Sun, 28 Jun 2015 21:42:18 -0400, Arne Vajhøj wrote: >> On 6/8/2015 10:39 AM, e.d.programmer@gmail.com wrote: >>> We use Eclipse for Java, Oracle Java and Android Java, so I know it >>> supports other languages but I don't know which ones. If it doesn't >>> have built in support for another specific language it does support >>> plugins which can make it support any language. You can write your own >>> plugins, though if the language is somewhat popular odds are someone >>> else already wrote one. >> >> Everything in Eclipse is a plugin even Java. >> >> My experience with Eclipse and languages are: >> >> good support: Java, Scala, C, C++, Fortran, PHP, Perl, Python, Ruby, >> Tcl, JavaScript, Ada >> >> bad support: C#, Cobol (the open source one not the MicroFocus one) >> >> unknown support: Groovy, Clojure, Lua >> >> no support: PL/I, VB > > Interesting list. Out of curiosity, how does it deal with bash SQL and awk > scripts? I think SQL is covered by: https://eclipse.org/datatools/ I have never seen anything for awk nor can I google anything. Arne
[toc] | [prev] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2015-06-29 15:01 +0000 |
| Message-ID | <mmrmkp$puo$1@dont-email.me> |
| In reply to | #31872 |
On Mon, 29 Jun 2015 07:35:50 -0400, Arne Vajhøj wrote: > On 6/29/2015 4:20 AM, Martin Gregorie wrote: >> On Sun, 28 Jun 2015 21:42:18 -0400, Arne Vajhøj wrote: >>> On 6/8/2015 10:39 AM, e.d.programmer@gmail.com wrote: >>>> We use Eclipse for Java, Oracle Java and Android Java, so I know it >>>> supports other languages but I don't know which ones. If it doesn't >>>> have built in support for another specific language it does support >>>> plugins which can make it support any language. You can write your >>>> own plugins, though if the language is somewhat popular odds are >>>> someone else already wrote one. >>> >>> Everything in Eclipse is a plugin even Java. >>> >>> My experience with Eclipse and languages are: >>> >>> good support: Java, Scala, C, C++, Fortran, PHP, Perl, Python, Ruby, >>> Tcl, JavaScript, Ada >>> >>> bad support: C#, Cobol (the open source one not the MicroFocus one) >>> >>> unknown support: Groovy, Clojure, Lua >>> >>> no support: PL/I, VB >> >> Interesting list. Out of curiosity, how does it deal with bash SQL and >> awk scripts? > > I think SQL is covered by: > > https://eclipse.org/datatools/ > > 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 was more surprised to see that SlickEdit has language support for Lex & Yacc but not for Coco/R. I've used both and vastly prefer Coco/R, because: - Coco/R only needs one source file to describe the syntax to be parsed while Lex & Yacc need two independent files - its a lot easier to modify its code templates - there are versions for many languages, not just C - each version is ported into the language that it generates parsers for, so installing and using it is straight-forward for anybody who will use it and means its unlikely to require any additional libraries to be installed. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-06-29 14:08 -0400 |
| Message-ID | <559189a1$0$301$14726298@news.sunsite.dk> |
| In reply to | #31874 |
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. Arne
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-06-29 14:18 -0400 |
| Message-ID | <55918bea$0$304$14726298@news.sunsite.dk> |
| In reply to | #31877 |
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 Arne
[toc] | [prev] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2015-06-29 21:00 +0000 |
| Message-ID | <mmsbkj$nj0$1@dont-email.me> |
| In reply to | #31878 |
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
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-07-27 22:22 -0400 |
| Message-ID | <mp6p0u$19j$1@speranza.aioe.org> |
| In reply to | #31883 |
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
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-06-06 23:48 -0400 |
| Message-ID | <5573bf08$0$302$14726298@news.sunsite.dk> |
| In reply to | #31767 |
On 6/4/2015 5:00 PM, Martin Gregorie wrote: > On Wed, 03 Jun 2015 21:26:04 -0400, Arne Vajhøj wrote: > >> [sorry if duplicate post] >> >> On 5/26/2015 6:36 PM, Martin Gregorie wrote: >> > On Tue, 26 May 2015 17:21:32 -0400, Eric Sosman wrote: >> >> This is a more precise operation than a global search-and-replace, >> >> because the IDE can distinguish one `x' from another: If I rename >> >> one of my instance fields from `x' to `columnIndex', the IDE won't >> >> mess up the references to `x' in some other class like >> >> java.awt.Point. >> >> >> > I normally use microEmacs, which can do almost that: >> > >> > me org/gregorie/newproject/*.java >> > >> > Then tell it once only what I want it to replace and what with just >> > once and it works through all the files. I've never discovered a >> > limit to the number of files it can load. As a bonus the search term >> > can be a regex. >> >> Yes. But can it distinguish between different x's based on the meaning >> of the code within the files being edited? >> > No, unlike vi, where once you start an "s/x/y/" request running you can't > interfere, microEmacs approach is to ask what you want to do at each > match. The options are do it, skip this one, abandon (and it has an undo > facility) or to get on and do the lot. This lets you pick and choose > which matches to replace if you know that not all hits need replacing > (your 'x' case), or if you know that all should be replaced, to check > that the first one or two are working as expected and then let it do the > rest without asking. It works. But an IDE that understands the language and can do it automatically makes it easier. There are other similar things. An IDE will also change file name if you rename a class (and the language is Java). Arne
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.java.programmer
csiph-web