Re: [OT] programming style or mental process ?

2021-04-09 Thread Christopher Schultz
Mark, On 4/9/21 09:34, Mark H. Wood wrote: I've appreciated this discussion. It's caused me to think a bit more about my use of this pattern. [regarding tests for null references] This has got me wondering why there is no operator for such an irritatingly common need: if (my_reference

Re: [OT] programming style or mental process ?

2021-04-09 Thread Mark H. Wood
I've appreciated this discussion. It's caused me to think a bit more about my use of this pattern. [regarding tests for null references] This has got me wondering why there is no operator for such an irritatingly common need: if (my_reference isNull) { ... } -- Mark H. Wood Lead Technology

Re: [OT] programming style or mental process ?

2021-04-08 Thread Carsten Klein
Guten Morgen Peter :) Guten Morgen Carsten and All [...] I may add, that a French Café au lait (pronounced Olé, which is not French :-O ) is also an option. Maybe my German coffee expertise is kind of narrow and shaped by personal experience (having my coffee w/o milk)... OLE? Isn't

Re: [OT] programming style or mental process ?

2021-04-08 Thread logo
Guten Morgen Carsten and All > Am 08.04.2021 um 07:20 schrieb Carsten Klein : > > >> (And dutch people. Where are they in this discussion by the way ? (but they >> have only one type of coffee I think)). > > Dutch people may only have one type of coffee (actually I don't know). But >

Re: [OT] programming style or mental process ?

2021-04-07 Thread Carsten Klein
(And dutch people. Where are they in this discussion by the way ? (but they have only one type of coffee I think)). Dutch people may only have one type of coffee (actually I don't know). But remember, Dutch people have 'Coffee Shops' offering stuff far beyond coffee... :) Is there a

Re: [OT] programming style or mental process ?

2021-04-07 Thread tomcat/perl
On 06.04.2021 20:06, gustavo.avitab...@unina.it wrote: To nitpick, in Spanish one would rather say "cafe frio". ... and, in Italian, "caffè freddo", but we Italians love coffee, and we have much phantasy, so try also: "granita di caffè", "caffè gelato", "caffè col ghiaccio", "il caffè s'è

Re: [OT] programming style or mental process ?

2021-04-06 Thread gustavo . avitabile
Quoting "André Warnier (tomcat/perl)" : On 05.04.2021 14:37, Christopher Schultz wrote: Or, more literarily, given that the syntax of most (all?) programming languages is based on English (if, then, else, new, for, while, until, exit, continue, etc.), we (*) do normally ask "is your

Re: [OT] programming style or mental process ?

2021-04-06 Thread Christopher Schultz
Konstantin, On 4/6/21 06:41, Konstantin Kolinko wrote: вс, 4 апр. 2021 г. в 13:24, André Warnier (tomcat/perl) : Hi. I have a question which may be totally off-topic for this list, but this has been puzzling me for a while and I figure that someone here may be able to provide some clue as

Re: [OT] programming style or mental process ?

2021-04-06 Thread Konstantin Kolinko
вс, 4 апр. 2021 г. в 13:24, André Warnier (tomcat/perl) : > > Hi. > I have a question which may be totally off-topic for this list, but this has > been puzzling > me for a while and I figure that someone here may be able to provide some > clue as to the > answer, or at least some interesting

Re: [OT] programming style or mental process ?

2021-04-06 Thread tomcat/perl
On 05.04.2021 14:37, Christopher Schultz wrote: Or, more literarily, given that the syntax of most (all?) programming languages is based on English (if, then, else, new, for, while, until, exit, continue, etc.), we (*) do normally ask "is your coffee cold ?" and not "is cold your coffee ?".

Re: [OT] programming style or mental process ?

2021-04-05 Thread Christopher Schultz
All, On 4/5/21 16:20, Christopher Schultz wrote: Peter, On 4/5/21 12:35, Peter Kreuser wrote: All, Am 05.04.2021 um 14:38 schrieb Christopher Schultz : André, On 4/4/21 06:23, André Warnier (tomcat/perl) wrote: Hi. I have a question which may be totally off-topic for this list, but

Re: [OT] programming style or mental process ?

2021-04-05 Thread Christopher Schultz
Peter, On 4/5/21 12:35, Peter Kreuser wrote: All, Am 05.04.2021 um 14:38 schrieb Christopher Schultz : André, On 4/4/21 06:23, André Warnier (tomcat/perl) wrote: Hi. I have a question which may be totally off-topic for this list, but this has been puzzling me for a while and I figure

Re: [OT] programming style or mental process ?

2021-04-05 Thread Peter Kreuser
All, > Am 05.04.2021 um 14:38 schrieb Christopher Schultz > : > > André, > >> On 4/4/21 06:23, André Warnier (tomcat/perl) wrote: >> Hi. >> I have a question which may be totally off-topic for this list, but this has >> been puzzling me for a while and I figure that someone here may be able

Re: [OT] programming style or mental process ?

2021-04-05 Thread Christopher Schultz
André, On 4/4/21 06:23, André Warnier (tomcat/perl) wrote: Hi. I have a question which may be totally off-topic for this list, but this has been puzzling me for a while and I figure that someone here may be able to provide some clue as to the answer, or at least some interesting ponts of

Re: [OT] programming style or mental process ?

2021-04-04 Thread tomcat/perl
On 05.04.2021 00:21, Zala Pierre GOUPIL wrote: In your case, with a function call, this wouldn't make a difference "if(request.getCharacterEncoding() = null)" would be illegal syntax as well, but "if(someObject = null)" is perfectly legal, but doesn't express the author's intent clearly: Is it

Re: [OT] programming style or mental process ?

2021-04-04 Thread Zala Pierre GOUPIL
> > > > In your case, with a function call, this wouldn't make a difference > > "if(request.getCharacterEncoding() = null)" would be illegal syntax as > > well, but "if(someObject = null)" is perfectly legal, but doesn't > > express the author's intent clearly: Is it a smart person who's taking a

Re: [OT] programming style or mental process ?

2021-04-04 Thread tomcat/perl
On 04.04.2021 12:57, Olaf Kock wrote: Hi André On 04.04.21 12:23, André Warnier (tomcat/perl) wrote:   if (null == request.getCharacterEncoding()) { as opposed to   if (request.getCharacterEncoding() == null) { So why do (some) people write it the other way ? Is it purely a question of

Re: [OT] programming style or mental process ?

2021-04-04 Thread Olaf Kock
Hi André On 04.04.21 12:23, André Warnier (tomcat/perl) wrote: > >   if (null == request.getCharacterEncoding()) { > > as opposed to > >   if (request.getCharacterEncoding() == null) { > > > So why do (some) people write it the other way ? > Is it purely a question of individual programming style

Re: [OT] programming style or mental process ?

2021-04-04 Thread Zero
On 4/4/21 12:23 PM, André Warnier (tomcat/perl) wrote: Hi. I have a question which may be totally off-topic for this list, but this has been puzzling me for a while and I figure that someone here may be able to provide some clue as to the answer, or at least some interesting ponts of view.