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

Pages: 1-

Functional C programming

Name: Anonymous 2012-05-15 18:41

Gentlemen I conclude that C is the best language for functional programming. Observe:

typedef unsigned char u8;
u8 change_bit(u8 in_byte, u8 bit_pos, u8 new_bit) {
  return (new_bit ? in_byte | (1u << bit_pos) : in_byte & ~(1u << bit_pos));
}

Name: Anonymous 2012-05-15 18:45

C is a god among mortals

Name: Anonymous 2012-05-15 22:29

>>2

C++ is a god among immortals. Behold:

http://www.youtube.com/watch?v=y71lli8MS8s

Name: Anonymous 2012-05-15 22:37

If it ain't Lisp, it's crap.

Name: Anonymous 2012-05-15 22:54

>>4
But if it's Lisp, it's shit

Name: Anonymous 2012-05-15 23:21

>>4
>>5

But if it ain't C, it's bad.

Name: Anonymous 2012-05-15 23:46

>>6
lol, typical moronic C programmer. Every language has a use, whether you like it or not.

Name: Anonymous 2012-05-16 0:09

Name: Anonymous 2012-05-16 0:13

>>7
Says the one who is not manly enough to grok C

Name: Anonymous 2012-05-16 0:23

>>7
>moronic
>C programmer

lol no

Name: Anonymous 2012-05-16 0:33

SO HOW BOUT DAT SEPPLES GUISE?

Name: Anonymous 2012-05-16 1:19

>>10
welcome to the dis boards

Name: Anonymous 2012-05-16 1:21

C is also best OO programming, logic programming and declarative data programming

Name: Anonymous 2012-05-16 2:06

>>13

C isn't OO, not in the least.

Name: Anonymous 2012-05-16 2:21

Too bad C is smelly fecal matter. Otherwise it may have had some relevance today.

Name: Anonymous 2012-05-16 2:46

>>14
Yes it is you stupid piece of shit, it isn't fit for logic- or declarative-programming though.

Name: bampu pantsu 2012-05-29 4:59

bampu pantsu

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