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

== vs =

Name: Anonymous 2014-06-24 16:40

I have read once about the dilemma that some C programmers face: that of writing == for equality comparison and = for assignment.
Specifically when using ==, one might mistakenly write = instead. In some cases, the compiler will catch one red-handed, and in the other cases, it will not, potentially causing bugs.

The solution I have used, even before having read about this problem, is a simple #define EQU ==, followed by using only EQU for equality comparisons. For personal reasons, this seemed preferrable to using ==.
The question is, am I a nigger?

Name: Anonymous 2014-06-24 16:55

EQU
ASM QUALITY

Name: Anonymous 2014-06-24 17:16

Enjoy your retarded C syntax.

Name: if horse_is EQU ine 2014-06-24 17:23

if horse_is EQU ine

Name: Anonymous 2014-06-24 17:24

The right thing would be the lack of syntax for initalisation
int nigger 1;
and because you should not have mutable state we do not need a operator for asigment
so = is for checking equality

Name: Anonymous 2014-06-24 17:32

and because you should not have mutable state we do not need a operator for asigment
Typical Haskeller.

Name: Anonymous 2014-06-24 17:33

>>6
fuck off Java loving fagshit

Name: Anonymous 2014-06-24 18:12

>>7
As if assignment is necessary only in Java.

Name: Anonymous 2014-06-24 19:51

>>1
No actually, that is what bash did:
http://www.tldp.org/LDP/abs/html/comparison-ops.html

>>5
I smell FIoC

Name: L. A. Calculus !jYCj6s4P.g 2014-06-25 0:54

>>1
The solution I have used, even before having read about this problem, is a simple #define EQU ==, followed by using only EQU for equality comparisons.
WAT R U ONE OF DOSE FUKIN 32 YEAR OLD WOMEN WHO PRIDE DEMSELVES ON HAVIN BANNED HARRY POTTER BOOKZ IN DER CHILDREN'S LUNCH BOXES COS UR FUKIN CHURCH THINKS MAGIC IS SATANIC? I BET U USE HUNGARIAN NOTATION TOO, COS UR SCARED DAT 1 DAY U MIGHT FORGET TO LOOK AT HOW U DECLARED AN IDENTIFIER N MAKE A RETOIDED ASSUMPTION, DONT YA YA FUKIN SAFETY BOI?

Name: Anonymous 2014-06-25 8:13

assignment should be :=
comparison should be =?

Name: Anonymous 2014-06-25 8:21

>>11
In Io, assignment is = and what amounts to declaration (with assignment) is :=

Name: Anonymous 2014-06-25 8:28

>>10
32 YEAR OLD WOMEN
Ewww, that gross man

Name: Anonymous 2014-06-25 9:23

Jesus is a kike. Gas him.

Name: Anonymous 2014-06-25 17:20

>>13
virgin with shitty english

Name: Anonymous 2014-06-25 17:22

>>15
He's a nigger virgin.

Name: Anonymous 2016-10-24 15:10

BEGIN FUNCTION MAIN WITH ARGUMENTS ARGC AS INTEGER, ARGV AS POINTER TO POINTER TO CHAR RETURNING INTEGER
ASSIGN 5 TO NEW INTEGER A
INCREMENT A
IF A IS EQUAL TO 6 PRINT "HELLO WORLD"
RETURN 0
END FUNCTION

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