problems/risks due to programming language, stories requested

Greg S. Hennessy gsh7w at astsun.astro.Virginia.EDU
Sun Mar 4 10:53:35 AEST 1990


In article <8218 at hubcap.clemson.edu>
billwolf%hazel.cs.clemson.edu at hubcap.clemson.edu writes: 

#   The difference is that Ada takes care of exiting the case statement
#   for you, whereas C requires (unsafely) that you use a break to avoid 
#   being sucked into the code associated with subsequent cases.  

I am wondering, how would you code Duff's device in Ada?



-Greg Hennessy, University of Virginia
 USPS Mail:     Astronomy Department, Charlottesville, VA 22903-2475 USA
 Internet:      gsh7w at virginia.edu  
 UUCP:		...!uunet!virginia!gsh7w



More information about the Comp.lang.c mailing list