I like C but not its syntax
1
Name:
Anonymous
2014-12-02 12:11
Why hasn't anyone made C that doesn't look like dogshit?
81
Name:
Anonymous
2014-12-05 21:28
javascript is C with a nicer syntax also look at asmjs.org
82
Name:
Anonymous
2014-12-05 22:29
>>79 Since Java became popular. I would say expose yourself to industry, but you will eventually. You'll hate it. And then you'll kill yourself.
83
Name:
Anonymous
2014-12-05 22:48
>>82 *presses human liver into your pizza base*
Horrible Industries gone BAD!
*presses eye balls into your can of soup*
Ditto, Jake.
84
Name:
Anonymous
2014-12-05 22:57
I just want a C with first order functions and true closures.
85
Name:
Anonymous
2014-12-05 23:13
>>84 You can do them. It's just not syntactically convenient.
86
Name:
Anonymous
2014-12-06 0:03
87
Name:
Anonymous
2014-12-06 0:04
>>86 Go is not close to C despite being advertised as so.
88
Name:
Anonymous
2014-12-06 1:01
>>84 That's harder than it sounds. What do you do with closed-over stack space when it's been returned from its owning function, or sent to another thread?
89
Name:
Anonymous
2014-12-06 1:52
>>88 Your anus is harder than it sounds.
90
Name:
Anonymous
2014-12-06 2:45
>>88 Just garbage collect the closure environments and nothing else. What's the problem?
91
Name:
Anonymous
2014-12-06 5:11
>>91 It gets too weird to deal with.
92
Name:
Anonymous
2014-12-06 12:38
93
Name:
Anonymous
2014-12-06 13:31
>>81 Long time no see, Javashit kike!
94
Name:
Anonymous
2014-12-12 17:37
95
Name:
Anonymous
2014-12-12 19:13
96
Name:
Anonymous
2014-12-14 13:45
I don't know how L++ made getting from Racket to C look so hard.
97
Name:
Anonymous
2014-12-24 17:11
98
Name:
Anonymous
2016-06-08 19:52
>>23 Why does the return type come before the function name? To match the variable declaration syntax.
int x;
means "this is a variable that stores a variable of type int".
int factorial() { ... }
means "this is a function that generates a variable of type int". If you just think of functions as a dynamic counterpart to variables, it makes sense.
99
Name:
Anonymous
2016-06-09 10:20
100
Name:
Anonymous
2016-06-09 17:54
Just use chicken, it compiles to C sage
101
Name:
Anonymous
2016-06-09 18:01
>>100 chicken What programming language is this?
102
Name:
Anonymous
2016-06-09 18:08
<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>
104
Name:
Anonymous
2016-06-10 9:59
>>103 Stahp!!, this is worse than XML lithp
!
105
Name:
Anonymous
2016-06-10 14:41
I like /prog/ but not its posters.
106
Name:
Anonymous
2016-06-11 2:17
>>103 Xml makes c the accpetable lisp
107
Name:
Anonymous
2016-06-12 9:00
Newer Posts