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

Easy first-time languages

Name: Anonymous 2007-08-23 15:25 ID:QmPRW+Qg

Okay, I'm completely new to programming. Java's giving me headaches since I've never done OOP before.

I'm trying to be a true hacker on steroids, can you help me /prog/?

I tried asking this in /g/ but I'm still indecisive.

Name: Anonymous 2007-08-30 20:38 ID:s5A0eY8J

>>80

5? What the fuck?

Name: Anonymous 2007-08-30 20:46 ID:cWcRxxY5

>>80
5 spaces
lolwut?

Name: Anonymous 2007-08-30 21:00 ID:Heaven

>>80
1 space or GTFO

Name: Anonymous 2007-08-31 0:37 ID:SE/jIyzH

>>80
IDLE, right? Well, a decent IDE isn't one that fucks with my indentation, or any of my code, for that matter. IDEs in general suck anyways, since all of their functionality can be replicated with vim/emacs scripts.

Anyways, go read PEP 8, fags:
"Use 4 spaces per indentation level."
"The most popular way of indenting Python is with spaces only.  The second-most popular way is with tabs only. Code indented with a mixture of tabs and spaces should be converted to using spaces exclusively."
http://www.python.org/dev/peps/pep-0008/

Name: Anonymous 2007-08-31 2:40 ID:ZU9/VynY

>>73

Malbolge > Brainfuck

Name: Anonymous 2007-08-31 3:42 ID:PIrCZ/+/

One word, the recommended 4 spaces of indentation

Name: Anonymous 2007-08-31 6:23 ID:Heaven

>>84
PROTIP: vim and emacs are IDEs

Name: Anonymous 2007-08-31 6:58 ID:Heaven

>>87
And vim is also a text editor.

Name: Anonymous 2007-09-04 22:42 ID:60amS+kk

>>19
I failed it.  Hard.  I'm at the beginning, at the string section, at the part where it tells you how to start a new line in a string with \n.  And it's not working.  I copy/pasted the example and it worked.  Then, I tried doing it with my own text, and it didn't work.  Then I tried typing it out exactly as they showed it...and it still didn't work. 
"This is the first line\nAnd this is the second" is printing out...exactly that.  Spaces aren't fixing it either.

Name: Anonymous 2007-09-04 23:09 ID:luZDwiaT

>>87
I don't think IDEfags will accept statement except when they, like you, are attemping the "No, John. You are the demons." argument.

Name: Anonymous 2007-09-04 23:16 ID:Jh2BfWD6

>>89
It should be working in the source, but since it's JS, you need to use the HTML linebreak element, <br/>

so just do something like "First line<br/>Second line"

Name: Anonymous 2007-09-05 5:05 ID:1xWYQ1Xr

>>1
Read SICP, or learn Logo, or maybe Python. Then move to Python.

Name: Anonymous 2007-09-05 8:58 ID:2IBErohv

>>61
Im not even going to fucking lie here.
First year of a software engineering degree.
They taught us C and machine code(Z80). 

Nothing too deep, just hello world type shit if then else while, etc.

I was fucking thankfull for that I can tell you.

All of these new fangled languages dont account for shit unless you can work out how the computer actually executes what you are writing.

Otherwise all you will be doing amounts to flinging shit at a wall.  That is not true understanding.

Name: Anonymous 2007-09-05 9:04 ID:2IBErohv

You are probably being fucked over OOP because Java and classes are like a black box to you. 

Install eclipse, then write some code that uses one aspect of OOP, for example a constructor or methods.

now set a breakpoint in your main(...) function before any OOP code is executed.

then step through the code till the end, whilst observing all object values(stuff that changes turns red).

Do this every time you experience a new technique and you will realise that OOP is just the same old shit in a candy wrapping, but you need to figure out WHAT that candy wrapping is exactly.

I suggest you do this since ever GUI API that I know is implemented using OOP, so using a different language would not help.

Name: Anonymous 2007-09-05 9:49 ID:Heaven

I suggest you do this since ever GUI API that I know is implemented using OOP,
Win32 is not object-oriented.

Name: Anonymous 2007-09-05 10:36 ID:qLS5mclr

>>95
You don't understand sage.

Name: Anonymous 2007-09-05 10:37 ID:UVBgBkyZ

>>96
read sicp

Name: Anonymous 2007-09-05 10:40 ID:/T+a1E68

>>95
One could argue that the model of assigning HANDLEs to everything and then having them manipulated by functions of the form f(handle, param1, param2, ...) is object orientated. It's not too far away from handle.f(param1, param2, ...) and so on.

Name: Sussman 2007-09-05 10:40 ID:qLS5mclr

>>97
Trust me, I've read it.

Name: Anonymous 2007-09-05 10:47 ID:Heaven

C is really easy to learn first

Name: Anonymous 2007-09-05 11:05 ID:eQ5//SGY

101GET

Name: No Name San 2007-09-05 11:55 ID:2IBErohv

The more complex a core language is from the start, the harder it is to learn.

Thats my take on things.

Name: Anonymous 2007-09-05 11:56 ID:V10WQuRn

>>102
You're right. That's why Scheme is pretty much an optimal teaching language.

Name: Anonymous 2007-09-05 11:58 ID:Heaven

The higher from the OP the post number is, the less is it related to the original topic.

That's my take on things.

Name: Anonymous 2007-09-05 17:20 ID:qLS5mclr

>>104
Do you like dogs? I like dogs.

Name: Anonymous 2007-09-05 17:35 ID:i9GoEIwn

learn HTML its da best im 1st in my class for HTML

<html>
<body>
<title>best</title>
</body>
<head>
<p>content!</p>
</head>
</body>
</html>

Name: Anonymous 2007-09-05 17:38 ID:eQ5//SGY

HTML needs first-class attributes, tag recursion and lazy entity evaluation.

Name: Anonymous 2007-09-05 17:58 ID:Heaven

<p>My other <car> is a <cdr></p>

Name: Anonymous 2007-09-05 18:52 ID:Heaven

>>105
You have been fuck with dogs.

Name: Anonymous 2007-09-05 19:22 ID:qLS5mclr

>>108
Unexpected </p> tag, expected </cdr>

Name: Anonymous 2007-09-05 22:17 ID:h9ysZ+aQ

>>91
that didn't work either.  I e-mailed the maker about it.  It might be the mini-compiler they provide on the site.

also 111 GET

Name: Anonymous 2008-01-25 20:37

>>89
Single quotes will not convert newlines to actual newlines, but rather literalise them.

Name: Anonymous 2008-01-25 20:56

>>110
You're using the wrong parser. That was CDRML, which is a subset of SGML, not XML.

Name: Anonymous 2008-01-26 2:05

>>1
If your goal is becoming a hacker, skip the programming part altogether.  Looking and sounding like a hacker is much more important, so start dressing like a raver, get some piercings, read slashdot religiously, and start randomly ranting about how libertarianism and Ron Paul are the only hope for humanity.

It is also important that you lose any aversion you might have to fat chicks with kids, as these are the only women willing to sleep with hackers.

Name: Anonymous 2008-01-26 8:00

For a learner's language, I recommend Python or Logo, or if you think you're good enough, read SICP and learn Scheme.

Name: Anonymous 2008-01-26 9:36

>>114
what th efuck are you talking about hakcer EFGEIGTK YUOR!!
jim jones would bust a cap in yuor ass ;_;

Name: Anonymous 2008-01-26 10:08

>>114
Ha ha, sadly quite true

Name: Anonymous 2009-03-18 3:33

The word pirahna, is all I can think of that rhymes with marijuana

Marijuana MUST be legalized.

Name: Anonymous 2009-08-17 0:16

Lain.

Name: Anonymous 2011-02-04 18:44

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