Calendar - for "REAL" programmers: Difference between revisions

Content added Content deleted
m (kill omits)
Line 162: Line 162:
* A real programmer could write a preprocessor to eliminate lower case or insert before translation the one unreal line needed to realize this solution
* A real programmer could write a preprocessor to eliminate lower case or insert before translation the one unreal line needed to realize this solution
* An uber-real programmer would rewrite the entire translator
* An uber-real programmer would rewrite the entire translator
* Or, a real programmer could do the following on a coffee break
* Or, a real programmer could do what's presented below on a coffee break with the preprocessor


In the example,
In the example,
Line 175: Line 175:
Now clearly all of these measures will make the storage, interpretation, and comprehension of this program more ''real'' and efficient for real programmers like us.
Now clearly all of these measures will make the storage, interpretation, and comprehension of this program more ''real'' and efficient for real programmers like us.


Oh, dear. It seems I have written documentation to explain what I have done. Tisk. Tisk. Someone come take my real programmer epaulettes away. And, you! Since you've read this so you too must surrender your stripes.
Oh, dear. It seems I have written documentation to explain what I have done. Tisk. Tisk. Someone come take my real programmer epaulettes away. And, you! Since you've read this so you too must surrender your stripes too.


<lang Unicon>$include "REALIZE.ICN"
<lang Unicon>$include "REALIZE.ICN"
Line 255: Line 255:
{{libheader|Icon Programming Library}}
{{libheader|Icon Programming Library}}
[http://www.cs.arizona.edu/icon/library/src/procs/DATETIME.ICN DATETIME.ICN provides IsLeapYear and julian]
[http://www.cs.arizona.edu/icon/library/src/procs/DATETIME.ICN DATETIME.ICN provides IsLeapYear and julian]



=={{header|J}}==
=={{header|J}}==