Registration has been disabled and the moderation extension has been turned off.

Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Code: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>XeroCool
No edit summary
imported>Oddguy
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Onezeroone.jpg|thumb|left|Code.]]
[[Image:Onezeroone.jpg|thumb|left|Code.]]
{{haxor}}
 
'''Code''' (or source code) is a series of statements and words that are written by a [[hacker|programmer]] to make a program (like [[Windows]]). To make your code into a program, you need a compiler. You must first also learn one of the [[over 9000]] [[programming]] languages to code in (no srsly, [http://en.wikipedia.org/wiki/List_of_programming_languages look].). Coding is usually boring as fuck, and takes forever to actually make a working program (having to debug 72 times takes up a lot of time).
'''Code''' (or source code) is a series of statements and words that are written by a [[luser|programmer]] to make a program (like [[Windows]]). To make your code into a program, you need a compiler. You must first also learn one of the [[over 9000]] [[programming]] languages to code in (no srsly, [http://en.wikipedia.org/wiki/List_of_programming_languages look].). Coding is <s>usually</s> always boring as fuck, and takes forever to actually make a working program (having to debug 72 times takes up a lot of time). Don't forget them dashes and semicolons; fuck one up and you're boned. If you want to be a programmer, dont do something stupid like becoming an [[Unwarranted Self Importance|Engineering Major]], if you can type you can learn how to do it by yourself. Besides you really wouldn't want to be inducted into the [[9gag|Engineering]] [[Reddit|Subcultures]]
== Examples of Code ==


'''[[Java]]'''
'''[[Java]]'''
Line 65: Line 64:
  </html>
  </html>
'''[[Python]]'''
'''[[Python]]'''
  import socket
import socket
  sock = socket.socket()
sock = socket.socket()
  sock.connect(("127.0.0.1",6667))
sock.connect(("127.0.0.1",6667))
  while True:
while True:
      sock.send("JEWS DID 9/11\r\n")
    sock.send("JEWS DID 9/11\r\n")
== See Also ==
== See Also ==
*[[Programming]]
*[[Programming]]
Line 75: Line 74:
*[[Dan Brown]]
*[[Dan Brown]]


{{disambig}}
{{programming}}
{{Softwarez}}
{{Softwarez}}
[[Category:Stub]]
[[Category:Stub]]

Latest revision as of 12:35, 23 March 2015

Code.

Code (or source code) is a series of statements and words that are written by a programmer to make a program (like Windows). To make your code into a program, you need a compiler. You must first also learn one of the over 9000 programming languages to code in (no srsly, look.). Coding is usually always boring as fuck, and takes forever to actually make a working program (having to debug 72 times takes up a lot of time). Don't forget them dashes and semicolons; fuck one up and you're boned. If you want to be a programmer, dont do something stupid like becoming an Engineering Major, if you can type you can learn how to do it by yourself. Besides you really wouldn't want to be inducted into the Engineering Subcultures

Java

// sux.java
public class sux {
public static void main(String[] args) {
System.out.println("Java sucks");
}
}

C

#include <stdio.h>
int main(void)
{
printf("C");
return 0;
}

QBASIC

10 INPUT "lol wut?", U$
20 PRINT U$
30 INPUT "???", N
40 S$ = ""
50 FOR I = 1 TO N
60 S$ = S$ + "lolwut"
70 NEXT I
80 PRINT S$

DarkBASIC

sync on
make object cube 1,1
do
    yrotate object 1,wrapvalue(object angle y(1)+1)
    text 0,0,"COCKSUCKER"
    sync
loop

JavaScript

if(this.WScript){
    WScript.Echo('You\'re running this program from the desktop.');
}else{
    alert('You\'re running this program from the browser.');
}

AutoHotkey

MsgBox Hello world.

LOLCode

HAI
CAN HAS STDIO?
VISIBLE "I CAN HAZ CHEEZEBURGER?"
KTHXBYE

HTML

<html>
<head>
<title>8====o</title>
</head>
<body bgcolor="#FF0000" scroll="no">
<center><h1><br />COCKS</h1></center>
</body>
</html>

Python

import socket
sock = socket.socket()
sock.connect(("127.0.0.1",6667))
while True:
    sock.send("JEWS DID 9/11\r\n")

See Also

Code is part of a series on Programming.

[2 L337 4 MEEnter the Matrix]

ADAAssemblyCC++COBOLDebugDOSErlangErrorFdiskFortranIntegerJavaLOLCodeMachine CodeMatlabMIRC ScriptMUMPSOpen SourcePerlPHPProgramming languagePythonQBASICRuby on RailsScratchSSHVisual Basic

Hacks

Firefox XPS IRC AttackSafari XPS Attack Sandworm

Programmers

Bill GatesLinus TorvaldsWeevGoatse SecurityTerry DavisTheo de Raadt

Other Topics

Operating systemWarezNotepadIs not a bug, it's a featureDatabase Error

Code is part of a series on

Softwarez

Visit the Softwarez Portal for complete coverage.