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

Pages: 1-

I want to learn to program in Java.

Name: I want to learn 2012-06-12 13:14

I want to learn to program in Java.

Name: Anonymous 2012-06-12 13:15

then learn

Name: Anonymous 2012-06-12 13:32

don't

Name: Anonymous 2012-06-12 13:37

Don't. Learn rather FIOC or Sepples. Or LISP. Or Haskell.

Name: Anonymous 2012-06-12 13:46

C# > Java when it comes to SCALABLE ENTERPRISE MODULES.

Name: Anonymous 2012-06-12 14:02

>>4
i tried to sepples but pointers and objects don't mix well in my mind.

Name: Anonymous 2012-06-12 14:25

Sepples is the influenza to Java's common cold. For your first language, FIOC is your best bet.

Name: Anonymous 2012-06-12 15:41

>>7
>learning FIOC as a best language
I know that FIOC encourages indentation habits (not good indentation habits, necessarily, but indentation habits nonetheless) but it's not a good first language.

C is a good first language. C separates the boys from the men. Can't manage your own memory? Go fuck yourself. Can't implement objects without classes? Go fuck yourself. Can't do anything without hand-holding? Go fuck yourself.

C is like that harsh old teacher in kung-fu movies where the protagonist starts off as a lazy kid but eventually learns disciprine and becomes a kung-fu master.

Name: Anonymous 2012-06-12 15:52

C is a good language for beginners. It's very simple (but that does not imply easy) and feels closer to the machine than any other high level language. Later you can move on to C++ just because it makes your life easier when designing large software. If you have any say in it, don't use Java or C#.

Name: Anonymous 2012-06-12 19:29

>>8
C89 is ideal as a second language, but your first one should be about getting a feel for programming, not struggling with the computer.

Name: Anonymous 2012-06-12 19:38

>>8
gb2 1970

Name: Anonymous 2012-06-12 19:59

YOU'RE ALL FUCKING CHUCKLEFUCKS, JUST STOP IT

Name: Anonymous 2012-06-12 20:24

qbasic master race

Name: Anonymous 2012-06-12 21:13

>>13
Hax my gorillas.bas

Name: Anonymous 2012-06-12 22:12

>>10
I.e. learning asm on an 8-bit MCU.

Name: Anonymous 2012-06-13 1:22

>>8
beautiful

>>10
c is alright as a first language if you put off learning malloc and free for a while.

Name: Anonymous 2012-06-13 1:28

>>6

How do they not mix?

An object is just an implementation of a data structure that can self modify through methods and make some of its data unreachable to programmers through encapsulation. You can point to it just like you would a struct or an array and modify it just the same.

If pointers and objects don't mix well in your mind, then you either do not understand pointers, or you do not understand how objects are represented in memory.

Name: Anonymous 2012-06-13 2:45

>>17
that isn't the best way to think about object. no not at all. I don't see the magic p word anywhere in your post either.

Name: Anonymous 2012-06-13 11:47

>>17
It's better to think of objects as things which have state and behaviour. A computer monitor has states: on, off, idle/power-saving, hsync, vsync, etc., and it has behaviours: turn on, turn off, idle, stop idling, redraw. A keyboard has states: caps lock on, num lock on, scroll lock on, shift down, ctrl down, alt, down, etc. and it has behaviours: press key, release key. A computer, then, can be modelled as a series of interacting objects - when the keyboard's pressKey and releaseKey methods are called they can send messages to the PIC, etc.

Name: Anonymous 2012-06-13 13:02

script kiddies ITT

learn C and get good at it if you don't want to be a skid, else enjoy your skiddom

Name: Anonymous 2012-06-13 13:52

>>18

When you're concerning yourself with C++, you think about objects slightly differently.

class WhatProtection {
protected:
    uint32_t foo;
    uint32_t bar;
public:
    void PrintShit() { std::cout << foo << "\n" << bar << "\n"; }
}; //

union IHeardYouLikedEncapsulation {
    WhatProtection lol;
    uint8_t trololol[8];
};

int main() {
    IHeardYouLikedEncapsulation penis;
    penis.trololol = { 0, 0, 5, 92, 34, 6, 9, 1 };
    penis.lol.PrintShit();
    return EXIT_FAILURE;
}


Everything is all just integers in the end. An object is just a series of integers where some of those integers can't be manipulated from = statements, and which can operate methods on itself to access those integers in a way that is safe for the user.

Name: Anonymous 2012-06-14 17:23

>>9
Oh, I can into C. But Sepples frustrates the shit out of me.

Name: Anonymous 2012-06-14 17:54

Learn Java first, dont learn FIOC first, FIOC takes a lot of shortcuts. Java has static typing and forces conventional OO. You need to learn OO because about every popular programming language in use today has it. Get the book "Head First Java", it is the best book for learning OO and Java. After you learn Java, learn Scala as your second language so you can find out how to break out of the OO style of programming and learn functional programming as well. After those two languages you can then learn C as your third language

Name: Anonymous 2012-06-14 18:05

>>23

Like OO? Learn Ruby. Ruby is pure OO. Java is not pure OO because it has primatives, which Ruby has none of. Even the numeric literal 1 is an object with its own methods. Even the class Fixnum, which 1 is an instance of, is an object in and of itself.

The following all result in the value true:

1.is_a? Object
Fixnum.is_a? Object
(1.is_a? Object).is_a? Object
(1.is_a? Object).class.is_a? Object
Object.is_a? Object
Object.class.is_a? Object


In fact, just about the only thing you can send the message (:is_a?, Object) to would be BasicObject.new, which doesn't respond to the message is_a?, or even inspect for that fucking matter.

Meanwhile, In Javaland, integer literals and floating point literals are not objects. There are objects to wrap around them, but the literals are not encapsulated by those Objects.

Name: Anonymous 2012-06-14 18:07

Read SICP.

Name: Anonymous 2012-06-14 18:27

Name: Anonymous 2012-06-14 20:05

>>24
Ruby OO is nice as far as scripting languages go. But there is only so far you are going to get with a dynamically typed language, basically you are always going to be limited to scripting level programming. You should learn D that is statically typed and will give you fast running compiled programs. D will allow you to progress to building large scale industrial quality programs, Ruby is just a nice tool for small jobs.

Name: Anonymous 2012-06-15 1:49

JAAAAAAAAAAVAAAAAAAAAAA

Name: Anonymous 2012-06-15 2:20

Java
GC is shit.

Name: Anonymous 2012-06-15 2:29

>>24
Python too.

Name: !nIgGER.BTc 2012-06-15 2:48

`
>2012
>C as a first language


Get the fuck out.

Name: Anonymous 2012-06-16 20:53

瀃⅐聳妕挥⡥杦啐褡畗إ聕撅䡣螆搷╳औ硨ጧ合࢑匶补䌢牧艀荐ͩ⡧焴ᑘ餧垄愹塒㥡⌒愴㡸奁閉阥袈ࡵ茷瑁蒑傀㠨喔脀䢙猣̳࢘瑄衣ҁ蘶ㄩ͙⎉❨ᤥ䅢ᝥ䁲┒䥷褡ᜉ椢д恅ԁ肙瑥䥀灕獲⚙补虑㔗㙂䡹耲✡褨ऴ猢境ѵ⎂ℶ㞃ဉ倈Œ睆楴椤㜴咉祆锨w™夙䁖㔣䂈愂a焐ऐ䂐艩⁣㍀㌈疅̙⁷餣䈐垁᜖剳㔡玂蕗炒扦枕眒煲千遒䐖刡び袅䄷䕈餠㞉ႂ衑砹范䘱އ䦔䄂吕倧ሣ畷卣膐⡒ᤓ䐘劙瑀酘④♧ၡ蚇愕捤艂❨㜣䄤㌥Ѡ颗䀅牵耹視馈膄薁ॲ⢕╙饄䀰榁逸薙ᄩ‹⚖ޔ㕡ᝆƒ⍉逤䥰猸䎃⍧㥕䦈蠂焄靱cᢈ捵ࡴ‚䑀捒䝒露╰ࡀ锇琒ᐅ㙈䀸慢顥蝳遙ɳ晧摄䌳杆袀⌥璀⦅蘰ᖑ☣眦ࠡ耧恦琱垈ݒ茶䍸聅坱ᜉ朄坡ր㘔馄愨奥蘁⠴Ȧ荁Ѕ甙⢀圁⍸䐲ᅨՒᝅ祖噑䈆ᔃ蔈瑹ℓ䅴ቒ␩䄨⡣ᠹ䆕ᐦ艙㈘䚓㤤持䙁㕇

Name: Anonymous 2012-06-16 21:11

䌲ㄣ吴⌤顃ᐆ猵ぉ昉列阂錡剰怉ʓ祐┶鈖䥸᥆圄攑㦓㖇脈阒㙉閑㡦瘨捄䄓剁错ᚑ葧脀䔉घ啨㥁煴㈰ᘔ葸杰㉂㖖昇∙摒㜷㥘䠒☤吔㝑鐣❗䕱䐷畆傅熒⁂ᔙ⎇掙䄀葘ᐔኗ✱儙ॠᡧذ異牗呱皕䄤爥ㄥ⡥列䜸䊗熁捙顠ᅲᔱ錙蚑静头攇ㆂ栰㊙途鉰ᜥ鍴䠗ك虱蘇䑖榅̗唂墖蘷儈ᘄͅ䐈堣碉捃蝲ᑩ㌢Ԡ褩㍒▀ᘂ䐒ጁ⠹䍶硙♠䕕捙葩晤嘙睙連〠㠗䘂圃礒㉠畷虘ʘ偀鈨預坱頕煷䢙脩奷冒✁Ї㙗̙遇′椄ᡤဈ▖椗㙈撕〣瑴睥䖖袖奡晩┕䅨㔘A扴ᤱ嚕荤ㄈ充㈗煱極䍆褒唘呑ᙖ㐕ᢇ㊇耐ډ萧眡㍹㎄̘ᐃ蘄靸虢⚀覃蜹兢蔔⁧葃芘㌖蘤ᎅᔙ钄आ挂ᤰࠕ吥戨衇舐摵䕐ʈや坐☃厇卐䥐ጕ❈疙喅扠悈䠩禆㍹॑瞔捰蒅唢牒面䅆⦈餔䀔甸砡堅ݶ儨镸ᐕ䠁馗⒒刁㈃嘡馆祉䕑虧ᐸ腙須䒓㄃㐕炒脔瞃䒖䘙䦗阵՗͕♥茄㙥

Name: Anonymous 2012-06-16 21:35

㕥䘆襅逷鈈玄䂈儨㤩⊅Б攲ѷ鞄荐䘔䈷ㄧ疕▇⒁㒉㕗㌧᠗C摡蜈є⍳唧镩蜈╦ᜈᒂ掅萑㚄攨煢䙖┱䐶ᤀ蠡耄碂䄂饣餠硸–襧偘䍡⌆䘡ᕒ愅艥㤙堦㥩䑣㖁褰镈䈕遙ㄕ㍒怴唅兄垇吀䤳倕舄聠㘓瞈ѕ阠䀀扵ᐐ䚅፡ɂ逳倵犂≑յ呤阢鄲鑴暄爵瀉ᥔ梀࠹瀤⠨㚖v喀⒐ᜲ攅抂昴䄡㙩┳牰钂钆ፙ塠唱蝷ࡨᝤᘱ炘搨蝹酔炒礆䤇᥸䌧♑ↄ猧䁣匤猷☔ㅨᕩࡩ䤙褑㜘舀执遰焇℠䘖艹㥨≗邈醓愥رޔ鑗攴儖冘極‘皀聢憕剖Ų琘創⚈ㅥ鑃㘑挃衩䎕㉦ޗش肖銃ę成蔶⠀鄔祰֘6熒芖攓厀蜷呅蔖⌕銗㚁㜉畀⍄䄇ㄦ栅⌵ᡶ睨鍆␤瘀隒ᤵЙㅠ摉桶٨礓ጳᕸ㖅呩獧錔進儨腣➒榘Ѱ蔇錓⅁椱᥂腵锴ᒉ⑩馐㘷㞇ㅣ睨酑桁鑖灦ኀ噀⦁ሹၲ癅㜐ᔈ礳ᙀ椖፴㖅抇刦㑇٠袃瑤䠠䐆扅䜰瞓茇ጩS枉挶祔T՘Щ腢夸࠲㍆鄒㉥ၘ唖

Name: Anonymous 2012-06-16 22:10

፡錆刷薗㙑တ㌰硥噲ᡕ䌣隓畖Ѧ茧悕坘扖逑獀ᅀ┓瑳衴㜕ᥓ㕔᠂ঁ朱憅奆㙂阁ᆇ㍠យ靄冒ࠐ遅䌔茒圲᥁ض桧荴㥢疖桰鉰持梃ᆕ䙢䄉嘙Ÿ蝰芙墉睙Ņ灤ᔖᡢ┵䦅膓礙呈墙镳圉ᙗ吗遳㙵閇睃瞉㊙遲㕅顒镁爤䜢ጅ㊑䁩ↅ䦆耖٧艐ᝄ䆓荘Ʉ⡘甦ᑲᄀ蘈鞙ᢃ酰硲鞖䞂░醃銙戰熄膄ࡶ㚑ᢅ䍐衸≠䥅悉灦䉧肈ᠵओ枓䠥)ᔨ恤䑃呆䢔㝩࢈熕ȷ᎑脖衈倗㎄ĥ喘扗ᚐ砰眥̂楴眣鐴≆靂ℂቹ朐ᐒ餇䉨荀㞖≲ᑶ協瘒葕ᙗͨ啲䤇㞃ѣХ䄲塙陈㝸扳䄶颙葓䜄ភ蜑㙉挑ɦࠄؔ晳⑅璔㕧ᕆЩᘢ蠡̨衔䕱⤠ކ䤄㡢⍸獇锹↕㊐砡٧㡴牨眰⑩鍳⁘聠々ቹє㔵㐔褦捶䂅數ၩ䕱膘ᤦⅹ餇薂奱➘⑘䖈҃Ѣ牑⠸ሆ葥⌁閃䘁嘰嘉炉晓夔ѐ䤷ₗ8睱咆╗鉡砒餡⢘䤙ኈᐹ䑉煶悖脷艔摅㤳鈆͢偀ጣ㒕ᕒ霸瑶㜲ঁ芘遰搷न梃Η硡㡔鐑⢐

Name: Anonymous 2012-06-16 22:51

冓䙹蘶掕栣㍘ᥲ坈㊇㠔㘁螘㐱⚃䌖䙡❐㐧㥡牵⁧֗㤡颅㝦茳Ű冉猡䕵ޗᎇ㠤褥Ї䆗皅㕱⊅掀㍘ᥳ掐㡄葵࠘镖㒕鍐᥈楆ܑٙ▆逈錁钐耕⑘ȑ陸᝵蔷䌒䍱㊔ᚅ㒖堀ԕ襔挆ࡢ䘔ᚕ☷䘓㊉䜙䔁獥䀄㕷昲蔑遢ᤢ蠄褴儐́♳逦ᝄ瞕䙃䌱饖堷聘⤃衒⤢獠琦煩鈅᎑䜅䤘阂ក猗枀襑Їᑄ甶䢓螂礑钁愵頄蜇ℵ喕朗②框恁▖镖灓ᢗ瞓Y鐡葒‖抈آ坩㙦䈥䑩扇脠ᤸ莕硥✕䦂餖ገ癲㌷⁓ℒ㠖ㄆጕ蜢鉡ፗ≵ᔅ㙶覑ᑸ䆘衅鍇ᖓᑆ−茈ጙ␢䍹坢錵遉垕ݣɘ㕒݆色礂䄴ݘ㚀䑠塸楲ᡷ敕ឃ䄸t䠔肈瘉熄́晑㈃㈒䌄㘔疔甴剩ܑ‰児䀐袆ܑ袂&薃皉舤∷ᙳ獄䐔嚕␸ㅷ祙䑄䖈料瀙卸唆顶顄块▖ᠸ怲䝩≳䐹掉⢔遶焗䡰䡹莕摧㠒垖ࠂ硷桉刘㈐ȸ垃螙璘鑵瞉愣商⥨蔷ផ煨煆坤‴鞒蠈慩餃敗虗愹ᝈ腕鞐ᐲŖ昩䑴㐹䒒蕆ပ版咔攗≨

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