Re: Modula 2?

2015-07-03 Thread ToddAndMargo

On 07/03/2015 06:44 PM, Jeffrey Anderson wrote:

That's how it came through, which is rather odd, since I love perl very
much and find it quite beautiful and elegant.


Now with the both of you loving Perl, I am going to have to learn it.

I don't mind using four line to do what can be crammed together
in one if that helps me to self document it.

And there is nothing stopping me from using the structure I
learned with Modula2 in Perl.  I already to it with Bash
script.  It really helps with the debugging!

Thank you both for helping me with this

-T


--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~


Re: Modula 2?

2015-07-03 Thread Jeffrey Anderson
Sorry, but was this meant as a reply to my comment?  That's how it came
through, which is rather odd, since I love perl very much and find it quite
beautiful and elegant.

On Fri, Jul 3, 2015 at 9:13 PM, Konstantin Olchanski olcha...@triumf.ca
wrote:

 
  ... [I hate] Perl [due to] folks trying to ...
 

 And I hate cars because some people drive too slow (too fast). If you step
 into a flame war, at least bring dry powder, will you?

 A feature of perl is write only regular expressions.
 A feature of python is significant white space (learned to love that in
 fortran and in Makefiles).

 Choose your poison with great consideration.

 Perl4 forever!

 --
 Konstantin Olchanski
 Data Acquisition Systems: The Bytes Must Flow!
 Email: olchansk-at-triumf-dot-ca
 Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada




-- 
--
Jeffrey Anderson| jdander...@lbl.gov
Lawrence Berkeley National Laboratory   |
Office: 50A-5104E   | Mailstop 50A-5101
Phone: 510 486-4208 | Fax: 510 486-4204


Re: Modula 2?

2015-07-03 Thread Konstantin Olchanski
 
 ... [I hate] Perl [due to] folks trying to ...


And I hate cars because some people drive too slow (too fast). If you step into 
a flame war, at least bring dry powder, will you?

A feature of perl is write only regular expressions.
A feature of python is significant white space (learned to love that in 
fortran and in Makefiles).

Choose your poison with great consideration.

Perl4 forever!

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada


Re: Modula 2?

2015-07-01 Thread David Sommerseth
On 01/07/15 04:25, toddandmargo wrote:
 
 
  On Tue, 30 Jun 2015 14:41:41 -0700 *Konstantin Olchanski
 olcha...@triumf.ca* wrote 
 
 On Mon, Jun 29, 2015 at 06:59:29PM -0700, ToddAndMargo wrote:
 
  Is Modula2 available for SL 6 and 7?
 
 
 pascal - modula-2 - oberon - java - go

 
 Maybe I should just give up and learn Perl

These days Python and Perl are pretty safe languages which usually is
part of most basic Linux installations.  If you extend it to the BSD
family, Perl is safest.

However Python most likely have an easier learning curve than Perl.
Both languages are, IMHO, good alternatives.  But I generally find
Python code much easier to to read.  Performance wise, they can both
perform very well.

If you have no Python experience at all, I can recommend this book:
http://www.diveintopython.net/


-- 
kind regards,

David Sommerseth


Re: Modula 2?

2015-07-01 Thread ToddAndMargo

On 07/01/2015 03:23 AM, David Sommerseth wrote:

On 01/07/15 04:25, toddandmargo wrote:



 On Tue, 30 Jun 2015 14:41:41 -0700 *Konstantin Olchanski
olcha...@triumf.ca* wrote 

 On Mon, Jun 29, 2015 at 06:59:29PM -0700, ToddAndMargo wrote:
 
  Is Modula2 available for SL 6 and 7?
 

 pascal - modula-2 - oberon - java - go


Maybe I should just give up and learn Perl


These days Python and Perl are pretty safe languages which usually is
part of most basic Linux installations.  If you extend it to the BSD
family, Perl is safest.

However Python most likely have an easier learning curve than Perl.
Both languages are, IMHO, good alternatives.  But I generally find
Python code much easier to to read.  Performance wise, they can both
perform very well.

If you have no Python experience at all, I can recommend this book:
http://www.diveintopython.net/




I have found that the biggest issue I have with Perl is folks
trying to cram the sun, the moon, and stars all on to one
line.  I much prefer to break things up into several line
to make them as self documenting as possible.

But at least I can figure Perl out most of the time when
I see it.  I have a harder time with C and I know I shouldn't


RE: Modula 2?

2015-07-01 Thread Carl Friedberg
Todd,

IMO, Perl can be made to look at least as inscrutable as APL.

But there's nothing intrinsic in the language that forces you
to write code that can't be understood.

It is unfortunate that some practitioners love to write concise
(i.e., difficult to understand) code, especially trying to fit it
all on one line.

Good Perl code should have lots of comments and clear
structure, just like any other language which can be written
so it can be easily understood.

Nothing like having to go back to code you wrote 4 years
ago at 3 am with no comments, to encourage good writing
style.

Just my 2 cents.

Carl Friedberg
friedb...@esb.com  (212) 798-0718
www.esb.com
The Elias Book of Baseball Records
2015 Edition


-Original Message-
From: owner-scientific-linux-us...@listserv.fnal.gov 
[mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of 
ToddAndMargo
Sent: Wednesday, July 01, 2015 12:33 PM
To: scientific-linux-users@fnal.gov
Subject: Re: Modula 2?

On 07/01/2015 03:23 AM, David Sommerseth wrote:
 On 01/07/15 04:25, toddandmargo wrote:


  On Tue, 30 Jun 2015 14:41:41 -0700 *Konstantin Olchanski
 olcha...@triumf.ca* wrote 

  On Mon, Jun 29, 2015 at 06:59:29PM -0700, ToddAndMargo wrote:
  
   Is Modula2 available for SL 6 and 7?
  

  pascal - modula-2 - oberon - java - go


 Maybe I should just give up and learn Perl

 These days Python and Perl are pretty safe languages which usually is
 part of most basic Linux installations.  If you extend it to the BSD
 family, Perl is safest.

 However Python most likely have an easier learning curve than Perl.
 Both languages are, IMHO, good alternatives.  But I generally find
 Python code much easier to to read.  Performance wise, they can both
 perform very well.

 If you have no Python experience at all, I can recommend this book:
 http://www.diveintopython.net/



I have found that the biggest issue I have with Perl is folks
trying to cram the sun, the moon, and stars all on to one
line.  I much prefer to break things up into several line
to make them as self documenting as possible.

But at least I can figure Perl out most of the time when
I see it.  I have a harder time with C and I know I shouldn't


Re: Re: Modula 2?

2015-06-30 Thread toddandmargo


 On Tue, 30 Jun 2015 14:41:41 -0700 Konstantin Olchanski 
lt;olcha...@triumf.cagt; wrote  

On Mon, Jun 29, 2015 at 06:59:29PM -0700, ToddAndMargo wrote: 
gt; 
gt; Is Modula2 available for SL 6 and 7? 
gt; 
 
pascal -gt; modula-2 -gt; oberon -gt; java -gt; go 
 
-- 
Konstantin Olchanski 
Data Acquisition Systems: The Bytes Must Flow! 
Email: olchansk-at-triumf-dot-ca 
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada 




Maybe I should just give up and learn Perl



Re: Modula 2?

2015-06-30 Thread Stephen John Smoogen
Modula-2 is a pretty 'dead' language. The GNU compiler tool looks to
be one of the most up to date from what a google search seems to sya.

On 29 June 2015 at 19:59, ToddAndMargo toddandma...@zoho.com wrote:
 Hi All,

 Is Modula2 available for SL 6 and 7?

 Found this:
 http://www.nongnu.org/gm2/release.html

 Is there something better?

 Many thanks,
 -T



-- 
Stephen J Smoogen.


Modula 2?

2015-06-29 Thread ToddAndMargo

Hi All,

Is Modula2 available for SL 6 and 7?

Found this:
http://www.nongnu.org/gm2/release.html

Is there something better?

Many thanks,
-T