- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Karel++: Difference between revisions
imported>Nignog I'm not done, I'm starting this page up... |
imported>Oblique |
||
Line 54: | Line 54: | ||
</pre> | </pre> | ||
This will print the statement because the or operator only requires one of the conditions to be true. | This will print the statement because the or operator only requires one of the conditions to be true. | ||
=Things Programmed Using Karel= | ==Things Programmed Using Karel== | ||
[[you|completely useless shit]] | *[[you|completely useless shit]] | ||
== See Also == | == See Also == | ||
* [[Java]] | * [[Java]] |
Revision as of 07:50, 28 December 2012
Karel++ is part of a series on Programming. [Enter the Matrix] | |
ADA • Assembly • C • C++ • COBOL • Debug • DOS • Erlang • Error • Fdisk • Fortran • Integer • Java • LOLCode • Machine Code • Matlab • MIRC Script • MUMPS • Open Source • Perl • PHP • Programming language • Python • QBASIC • Ruby on Rails • Scratch • SSH • Visual Basic
Firefox XPS IRC Attack • Safari XPS Attack • Sandworm
Bill Gates • Linus Torvalds • Weev • Goatse Security • Terry Davis • Theo de Raadt
Operating system • Warez • Notepad • Is not a bug, it's a feature • Database Error |
— Any programming teacher |
Karel++, or Karel for the mentally incompetent is a handy-dandy fucking retarded programming language. In its most basic state (by basic we mean basic ) Karel is a Java library intended for teaching inner city youths how to program a little robot to run around and shit on street corners all day. However, Karel comes in a slew of other shitty flavors including:
History of Karel
Karel the robot was created by Richard E. Pattis in the 80's. Being that everything from that joke of an 'era' is an atrocity, Karel fit right in. Regardless of its simplicity, the first victims of Karel's wrath were the washed up yuppies of Stanford University.
- Fun Fact niggers! The language is Karel, because Karel Čapek, some czechfag, invented the robot
Due to the ever so charming Mr. Pattis' love for pun and games and showing off he wasn't a genuine autist enjoyed making pop-culture references, almost like the meme-spouting /b/tards and redditors. For example, the Ruby edition of Karel was titled Karel Tuesdays This man needs to talk to a talent coordinator, because damn was that fine. For python it was Monty Karel, and Java, being the dumbfuck he is, just made it: Karel learns Java. Because ya'know, keeping trends is waaay to mainstream for this guy
Commenting
Fuck commenting.
Type Bullshit
nigger
Booleans, AKA 'tests'
public boolean butthurt;
butthurt = true;
or all at once:
boolean butthurt = true;
Logical operators
Logical operators are like an extension of comparison operators. The logical operators are:
&& and
|| or
Example: a && b and The result is true only if both a and b are true.
a || b or The result is true if either a or b is true.
You can also use the not operator. !a not true if a is false and false if a is true.
nigger you put code here
This will print the statement because the or operator only requires one of the conditions to be true.