Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I like C but not its syntax

Name: Anonymous 2014-12-02 12:11

Why hasn't anyone made C that doesn't look like dogshit?

Name: Remember: it could be worse 2016-06-09 18:33

<function>
<function-head>
<name>minimum</name>
<return-type>numerical/integer</return-type>
<parameters>2</parameters>
<parameter-name>a</parameter-name>
<parameter-type>numerical/integer</parameter-type>
<parameter-name>b</parameter-name>
<parameter-type>numerical/integer</parameter-type>
</function-head>
<function-body>
<condition-statement>
<condition-test>
<less>
<left-operand>
<variable>a</variable>
</left-operand>
<right-operand>
<variable>b</variable>
</right-operand>
</less>
</condition-test>
<condition-true>
<return>
<variable>a</variable>
</return>
</condition-true>
<condition-false>
<!-- nop, fall thru --> <!-- thanks, adam -->
</condition-false>
</condition-statement>
<return>
<variable>b</variable>
</return>
</function-body>
</function>

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List