Talk:Arithmetic/Rational: Difference between revisions

m
→‎Too long: added comments about REXX code and subroutines, commented about brevity and whitespace. -- ~~~~
m (→‎Too long: added comments about REXX code and subroutines, commented about brevity and whitespace. -- ~~~~)
 
Line 19:
:Maybe still too long?... I've finished a Objective-C implementation... and it is 276 line long (and lacks pow); maybe not too much... I post it after few testing. --[[User:ShinTakezou|ShinTakezou]] 21:13, 14 February 2009 (UTC)
:And it's going worse with Fortran; I've implemented only = and + (and not all possible interfaces), and it takes already 120 lines of code... --[[User:ShinTakezou|ShinTakezou]] 23:27, 14 February 2009 (UTC)
 
:I had the same problem with my REXX example, I had to resort to making some subroutines into ''one-liners'' (subroutines that detracted from the task's requirements), and remove quite a bit of whitespace to keep the program brief (as possible). -- [[User:Gerard Schildberger|Gerard Schildberger]] 08:10, 8 January 2013 (UTC)
 
=== languages that already implement rational numbers? ===