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

Pages: 1-

Java is better than C

Name: Anonymous 2012-06-13 10:19

Lets compare these two pieces of code that create new integer.

C
int i;

Java
Integer i = new Integer();

- C assigns memory from stack. Everyone knows about the stack overflow problems. Stack allocation is bad.
- Java assigns memory from heap. Heap is good. Heap won't overflow.
- Java makes it more clear that new integer is created by saying new Integer. This makes Java much easier to read than C.
- C uses int as the name for its integer type. What does int even mean? interrupt? intelligence? Calling it Integer makes much more sense.

The conclusion is that Java is much better language than C.

Name: VIPPER 2012-06-13 10:28

1/10

Name: Anonymous 2012-06-13 10:40

at least put some effort into it

Name: Anonymous 2012-06-13 10:52

java.lang.Integer doesn't have a void constructor.

Name: Anonymous 2012-06-13 11:19

LOL!!! LOL!!! NIGALOL!!! TRY HARDER NEXT TIME COCKWAFFLE!!!!!!!!!
common lisp army rep
atx
im 13yo and you can suck it

Name: Anonymous 2012-06-13 11:37

How to make daikon miso soup
Just follow these simple instructions to eat daikon miso soup!
To eat soup:
1. Into the Name field on the comment form, enter ``fusianasan''.
2. Into the E-mail field, enter ``white'' for white miso, ``red'' for red miso or ``other'' for other types of miso (you can choose your favorite miso).
3. Into the text area, enter ``daikon misosiru'' which are the ID and password, then click the ``Reply'' button.
4. Three minutes later, your computer will be giving off steam from its inside. Then remove its cover, and you will see hot, steaming daikon miso soup inside.
5. When the server's traffic is heavy, you may fail to receive daikon miso soup. But don't give up: try repeatedly until you succeed. If successful, daikon miso soup will be prepared.
6. Newest computers often prevent steam from getting out, so, in such case, it may be helpful to remove the cover to watch inside.
7. To receive more delicious miso soup, use a professional internet connection, such as that of offices or universities, instead of home dial-up connections.

Name: fusianasan 2012-06-13 11:39

daikon misosiru

Name: Anonymous 2012-06-13 12:30

Okay. In a function,
Integer i; does create an integer on the stack.
Integer i = new Integer(); does create an integer on the heap.
Where's the logic ?
Also, dynamic allocation requires system calls (brk or mmap).

Name: Anonymous 2012-06-13 13:37

>>8
Ah, traditional C hacker. Runs to defend his language. A dinosaur from old times.

Enjoy your stack overflows.

Name: VIPPER 2012-06-13 14:00

>>9
Stop trolling, only /g/ would fall for this.

Name: Anonymous 2012-06-13 14:06

>>10
hehe, maybe I try /g/ then.

Name: Anonymous 2012-06-13 14:19

>>10
http://boards.4chan.org/g/res/25480722
They didn't fall for it.

Name: VIPPER 2012-06-13 14:32

>>12
Keep pumping, some will fall for it eventually.

Name: Anonymous 2012-06-13 14:40

0/10

Name: Anonymous 2012-06-13 15:35

Syntax quality != language quality.

That's like judging a cars performance on it's paint job.

Also disregarding that a good programmer would know how to prevent stack overflows and what "int" would mean.

Name: Anonymous 2012-06-13 16:14

>>15
1/10.

Name: Anonymous 2012-06-13 16:28

But, Integer i = new Integer(); creates both....
...I see what you did there OP....
THIS IS WHY WE CAN"T HAVE NICE THINGS!

Name: Anonymous 2012-06-13 22:55

>>13
But my lemma is too tired.

Name: Anonymous 2012-06-13 23:52

>>17
creates both...., what?
heap allocation and reference?

Name: Anonymous 2012-06-14 0:17

typedef int *Integer;
static inline Integer new_Integer() {
  return (Integer)malloc(sizeof int);
}

Integer i = new_Integer();


Problem solved.

Name: Anonymous 2012-06-14 0:28

>>20
I am honestly impressed.

Name: Anonymous 2012-06-14 0:35

heap can overflow just like the stack.
you do know that the heap and the stack ultimately share the same memory right?
stack can be thought of as just pre-allocated heap memory that is given to your program at the start.

Name: Anonymous 2012-06-14 0:47

http://docs.oracle.com/javase/tutorial/java/concepts/object.html

Look around right now and you'll find many examples of real-world objects: your dog, your desk, your television set, your bicycle.

Object oriented programming was designed by retards for retards. That's probably why Java is the NUMBER ONE programming language used by corporate critters. Learn a real programming language you stupid fucks.

Name: Anonymous 2012-06-14 3:25

>>9
Do I really look like a old C hacker ? ;_;
My dream is becoming reality.

Name: Anonymous 2012-06-14 3:58

"i graduated computer science but i still fall for the most obvious of trolls herp derp derp" - typical /prog/ moron

Name: Anonymous 2012-06-14 4:03

How to make little girl
Just follow these simple instructions to eat little girl!
To eat little girl:
1. Into the Name field on the comment form, enter ``chubbyhat''.
2. Into the E-mail field, enter ``blonde'' for blonde little girl, ``red'' for ginger little girl or ``other'' for other types of little girl (you can choose your favorite little girl).
3. Into the text area, enter ``loli ecchipantsu'' which are the ID and password, then click the ``Reply'' button.
4. Three minutes later, your computer will be giving off steam from its inside. Then remove its cover, and you will see hot, steaming little girl inside.
5. When the server's traffic is heavy, you may fail to receive little girl. But don't give up: try repeatedly until you succeed. If successful, little girl will be prepared.
6. Newest computers often prevent steam from getting out, so, in such case, it may be helpful to remove the cover to watch inside.
7. To receive more delicious little girl, use a professional internet connection, such as that of offices or universities, instead of home dial-up connections.

Name: Anonymous 2012-06-14 4:37

>>26
I got D.W!

Name: Anonymous 2012-06-14 4:52

>>26
I got Coco Bandicoot! She's making me a danmaku game with Common Lisp and GIMP!

Name: Anonymous 2012-06-14 5:22

>>26
I got Becky!

Name: Anonymous 2012-06-14 7:54

>>26
I got a fetus because I'm using a laptop!

Name: Anonymous 2012-06-15 2:20

Java
GC is shit

Name: Anonymous 2012-06-15 7:51

Llava is bigger than Crogs

Name: Anonymous 2012-06-16 20:51

挱隃⑀蕑匔虆ᅅ萤㝇ė⥠挤靅❇㦉戢㡑刹ᠣʉ䙳㈗ᜃ㠄全悔ↇ朵夣⡠㔑劗硐ኈł㊈牥䉦搁ℳ面䈵肃ॆ㜉適✆䐩႒項艡蝡ѕ陈㐤∕杕㌘ᘈڑᤱ硖灷䔸喂ň楈ℓ桰℃嘙璀畡ѷȕ㜇昤ᔁ䤥䀀桶耥≇饰၁瑗倸鎃յ牒⒐♴瞂⌘ᄤ脈堁瘀ᙤ㐤ܒቐ〦㕂㌔饐饅ᆖ㙔葉邉ㄖ٧材H㤉癉啠ㄒ挳啓呈ᝁ桢儥㉱甴ȇ蔑⒄牤怙㢉䊕Ζ䙁爗Ⅹ杀ⅵ奁ᘂ省䉴鑗銈ɧ抗硹⦁ᘧ杁䊇慹⤂☧ᙘㆇ䘗ࡢչ灰煡䘉㌀≧㕲灴⍸Ёȩ耢⤩倥垐蠘ᅂ萨⠒㘤͕坁⊄䙐镃怇灢ሩᙆ錹ࡄ䔥怣ₖ鑷器㔔茇㞐顨♲爵䥉傄ɣ镤卉鍂萵猁写鐢捓劗硷‣鉇批猩ɐ卹兕ጅ鑦摦桙栆㈄ࡩ蔆㎘猀㉩刁⎅ɩ嚃襢ㄹ蘢奉ᝒ؆酥㑖瞑䘠禑甥㜁ܙ朣㌥Ж村蝹㝐䎆ᝳ睦摁⌧鄷㈓茕爱虂䤦慘䥀ᔣ璕ᤂ昔⡃阠蝷ࠢS䄄⒅瀄牸̗鎗ሶ䌡瞅〣薕ŵ✕葸䆙邀袀印㘹

Name: Anonymous 2012-06-16 21:10

耱ᐒ礖ᤑ†鄀ᒀㅷ䉹衶⤹2啘ʂᝤᆂ᡹၇ⅲ腲≅̠䍹॑㍡⍧化ㅷဓ傑肖蕹ᕘ␡⁶ᡆᚓ㦆…蘨Ĩ遢ㆃ቉兖蝱脷爙䦈葶颖㐦䤙Ѩ攧蠅ঘᄂ㖇猈鍂頑疓㡄圗㖒恈攐‰荠ᘈ䁃敶㜆匱㎂ࡴ剆垂聵ऐ┲卢嘡≉⎇㍦䈣偑Ȅ蚂造鉀腨厙卖舩㡄㆒鑴≦夅牶牵㝰倲薂圷㞖❆瑉有鑈Զ灦畩蠔⑑ࠂ慓瘓䍖鍆䔇她ᅡ虵畇⡨≡偦ᄔ礐朰㌥吶⅄醕ᎀ✉ܰ㞘摶椁ᕲ攉摔戱ᚆ虃ፓ≄邐㐖ᠱИ鉣瑦艸船熓ᡤ㔂吠蕂鎓礹䍁̗蕨塹睁ᙳओ】朵䝙䌆昔榀唢ስᙡ䆉摦閇⤐餡䁷畑摰鐒杄戄炑錨礩ᘐ㈩嚔㌣㜖❐ᝑ㢇艰䕳餒थ⁢㜃㌘❴撔䚉ለ瘧〵᥃㘉顰鐷坩蜆舥≕嚆酉疗扗瀄陔㊂獀兇゙䥤⠠㠀⠃陥䄧ij⤗荦Ȑ⊃衈ፐ䀒眸率匹摃㘖ጉ舃憁㑒⅙┄愶⍀梘␩ᅤ順昸憇挅᎙㉦ᢁ咀ݓ癉阉䁘酡堂㡑䄔ք附陧餠砗䉙䅇锲慳㤠Մ〙䥹ķ荥傀悘嘣

Name: Anonymous 2012-06-16 21:35

䝱蘕聵㈘ᙉᤘ防螗㡰锂䝕ᙴ㕀噃ࡡ癥阥桩ՙ鑡礔Ըኖㄵ酡境眦睓䑆⎂y琙ᒕ䑕萧爓Ɩ頄هᒑ䍰℡猘碈㡥遢٨枘畕㊈㚕ā餵猩杹膄鑅䕸㑹⤴䐕蒃ᅐ᠉鍰㘣䉧餗挲聁鐶ᔤ℠蚅桷恉☈ቦ䔤倱䑀癲ŧ̨礁搲䍖㐅✘破霄鈦蘂㒅奃覙蘧杸ၨ㖉蔙褂㍀䜑অ硣ጠ逸ᕙ偆ㄙ䍲镃偱⠥䜁慈䄂咄ܰ⒖ĥႅ脶搩ř煘咖Ͷ䖄癲┰⚐垖斈墔䍄聢͔آ掇肈蚕搐ƙᖈ⤢餰₄ؗ㝘䦆ម熕䄲蜧儃瑳鑉戡钀玄㤤≔偡℀䘰䄣䎆掐䔳共)ᥳ㍑ࡒ适餴榓馘蘹␥嘀逨ᕅ睔堹恶妗暗艆权G恂嘉酒衧荡鈈ᕷ碉攁⡢㤃⅃祧က適癉ㄣ䁒厙杣ᤰ㄀倠㍒ࠦ萒皓桇ѐ顔禕ᡃ⠓嘖産摩琈偶蕑㈈荹㍃顒掘戨ᡡ鐠㙷焀奦鈧呢阥㥧鑣鐩᝖ፄ䌳鐓频㕑⤤㜙䑦唂䈢煥ᝢ⤄ᕀ䀷ޖ虘昅⡸祴葦␄递噡會䊙䖀鈷㈳䑦蝥㦔艸祖摐偈呓䐶挀〤愘挰⒑挙ᝠ㈖☧概挘㥈

Name: Anonymous 2012-06-16 22:05

〣ҁ碇蕉♠堇ᚅ㉩ᘕ恡D技璉視灱摹☔㖄ķ圴䜣靰梐鍓ڙࢂ剑䉳唧Α犒ᠡ隈㍐朄նʕ∑儦ذ鐅᠈࠙爔ᡗ周㔨兴㞈ԅ䔅顱杧ᥧ❰扈锷㍶耔┇獠鈔瀨大ႅ颀莈ቀ挣疙椳怗桢堄㌡́褈❈䊃⡑饘蝘€ᑄɶࠒ鈠ᙣሆ暙㑂٧莆蝸䁑選ᑷ㜢瀤䘴捇ᄐ㤄Ȱ⑨ᜤㅘ蜀ᒖ瘡ࠗ㉴ى䜥煁挨᝱㈹㠙獢咃㍙ℷ葒ॐ逧朳奱څ礆҂㍡阀㉐ㄓ㐗ጦㄔ⒃ኒ䄑㤂㜠钄ㅀ㙶ࠂሠ䔢煀鑹剘ፑ䕑唨砢猨အ摔块⡱遰剱挣舩耖ႁ镙ᙱ䢑䍸䌐Ζॐ坳攱ᥰ㦑㡨甶⑕莉$愳脢❨䉵腀ᜳ䒉㞇㜖❸啱ʃ㥣桱䤅遉瘢内畲ކ傗嘘㥆ᅦ鎃┹䎕剓䞁㊁眘灒聡䔷獕֓ᘹ椩ն䡳咄桐枃錩䤀┨ᡣၒ虉昹ጷ㜗ɐ⒐͑㝙摳㍦襖⦄鄈偢夰餀颖䑣腖ᒐ癃䄉ኅ戕坩⁁݁昤匕䑁…内硘敠違ᜀ愄榈鄢虃቗奃扵茉塁⤴ܖ䔒㔑䦗喙酙塐膖瑥舲ᙢ蜦䕆儀⠴䉓㖉ᐱ℡炖衦蔓蠰

Name: Anonymous 2012-06-16 22:47

慥戀㘔㐤蔒嘙吅靐₉褵荄ܢ喁ك蚁উ椴❈戂ᒑ爇び䕅≅怴ᔩؒㆉ䖑匈✷悁鄵畑㐐ᡠ㌇虑䍒☄䝖䜄ր❗ŒŸֆᘙ爥餧斁䝥地然蚉≈坖獆䥑鞃㙂茐煄硡兓㉐㑃奦偦R恇䈷楆䑨攉⌇ॅ䝧夅坷㜴枖ကܒ䌑≦ؤ斒鉙፵␰䜔爱㜦爑蝩阠䤄̘ 煀ぅ㦈䜡脵鑈匧妘膂唴錙愗⌇銁❣吰杲栒噉┘ݨ靸靔关饱ॅ朄㠇門皑ᔙ❉╨᜵萘䢙䍥”脤抅យ㙣喈⍒㦘㔄塧剱ፇ䔆琉鄑捥䊐蜶܀ስᠳ瘤銕䘡础厐杀蒐䙷垃覉こ璕₇葑΀䁕⎇錹灠炒䤓ɦ摸茠焢ႅ煃ݐ餔艴悀杨怐⥥䎓顩⡁࢐䞂Ā傈挦悑阥剗䥉で畗奢荠桳祈%͐䐧鈠匡㙠ሦ艦㕲䆔聳玄荨xと儒炒㍃㈓ڈअ腦ㄩㅔ霉霅恦ݲ啲ᑕ甑舑霆鑲匒瀵抇⡈閗⌠妅荣奙餢␰䜁襘栢挵蠦蚈㘥㈇鄂晗䀡⠠梈㈈䅨⁨薁䄆−ᒂ琄ቸ蜗ᘰ偳ㄕ☕权Łစ䥁兆瑲䅩㘶眕䁠☉↖偠阦㎓Р耲

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