comp.lang.ada
 help / color / mirror / Atom feed
From: seas.gwu.edu!mfeldman@uunet.uu.net  (Michael Feldman)
Subject: Re: Precedence Rules (was Re: Software vendors not using Ada but C)
Date: 29 Jun 93 04:06:31 GMT	[thread overview]
Message-ID: <1993Jun29.040631.737@seas.gwu.edu> (raw)

In article <20556@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au (Richard A. O'K
eefe) writes:

>Students who have been taught well about Pascal use the rule
>    "Never use i div j or i mod j except when (i >= 0) and (j > 0)."
>I use the same rule in Ada.
>
Amen. And I tell students to avoid Ada's MOD, and use REM instead.
It's even more mnemonic - REM means "remainder." Simple. But not for
Pascal-ers.

Mike

             reply	other threads:[~1993-06-29  4:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-29  4:06 Michael Feldman [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-06-29  3:23 Precedence Rules (was Re: Software vendors not using Ada but C) cis.ohio-state.edu!math.ohio-state.edu!sdd.hp.com!network.ucsd.edu!munnar
1993-06-25 20:50 Michael Feldman
1993-06-25 15:09 Jonathan Schilling
1993-06-24 20:18 cis.ohio-state.edu!news.sei.cmu.edu!jbg
1993-06-24 15:22 magnesium.club.cc.cmu.edu!news.sei.cmu.edu!ae
1993-06-24 13:35 agate!howland.reston.ans.net!darwin.sura.net!haven.umd.edu!news.umbc.edu!
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox