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-26 18:43 ID:PRpH6oeq

>>40
Technically, begin and end should be in point a.
So there's only three things you don't like about Pascal, which isn't so bad.

Name: Anonymous 2007-08-26 18:59 ID:T6oLMt/N

>>41
of course, but I though it better to have begin at the begin and end at the end.
Yes, it's not THAT bad.

Name: Anonymous 2007-08-26 23:57 ID:LrE10pNI

Javascript really is a nice language.  The whole browser interaction stuff is pretty nasty, but it (and ActionScript, which are both ECMAScript) at its core does OO pretty decently without a lot of hassle.

Name: Anonymous 2007-08-26 23:58 ID:/u58karY

>>1
All true hackers start with BASIC, stoopid.

Name: Anonymous 2007-08-27 0:08 ID:20oJU060

>>44
TRVE HACKVRS

Name: Anonymous 2007-08-27 3:09 ID:oY+6wJgU

>>40
You missed:
  Pascal programmers
    tend to indent
    fucking
  retardedly
  for
some goddamn reason.

Name: Anonymous 2007-08-27 4:27 ID:kHP+Y8pl

>>40
BEGIN and END are not a nuisance; just pretend they are braces and use K&R, the only true braces style, like (and let's see if  I can remember how to do Pascal):

IF a = 1 THEN BEGIN
    fuck;
    lol(1);
END ELSE BEGIN
    lawl;
END;

Name: Anonymous 2007-08-27 9:35 ID:veQgTzWJ

SICP is overrated.




Having said that, OP should read SICP and learn Haskell or Scheme. Or, if OP wants to be a fag programmer, rather than an EXPERT PROGRAMMER, OP should not read SICP and learn Java or C# instead.

Name: Anonymous 2007-08-27 10:56 ID:rF85hA7j

I'd start with HTML (if you don't know it already) sprinkled with some JavaScript. Once you master that, and want to start with a language that gives you executables, C# is a good beer-chaser. (Unless you're on Linux/OS X) Then you can move on to C, C++, Java, and whatever other languages there are out there.

[in b4 .NET fag]

Name: Anonymous 2007-08-27 11:01 ID:rF85hA7j

>>49
.NET FAG

Name: Anonymous 2007-08-27 11:08 ID:QL9MWdLl

Learn VB

Name: Anonymous 2007-08-27 11:26 ID:VqxHj7db

>>49
Microshaft fag

Name: Anonymous 2007-08-27 11:42 ID:opZXFpBX

Learn SQL, then learn something else, in before shit storm.

Name: Anonymous 2007-08-27 11:48 ID:opZXFpBX

>>53
HTML -> PHP -> SQL -> PHP+SQL -> C/C++ -> C#/Java/something -> something else

Name: Anonymous 2007-08-27 12:15 ID:T36+8suA

C#. Hey, at least I didn't say VB

Name: Anonymous 2007-08-27 14:13 ID:Pcvxx67U

learn functional programming first. if you do it will make all of your imperative code 50x more elegant.

Name: Anonymous 2007-08-27 14:19 ID:ZiTU6rYD

>>1
lol /g/

Name: Anonymous 2007-08-27 14:35 ID:Heaven

>>56
ELEGANCE LEVEL IS OVER 9000.

Name: Anonymous 2007-08-27 15:56 ID:caiZQaqZ

Name: Anonymous 2007-08-27 18:05 ID:Q7gTzTTi

>>54

HTML IS NOT A PROGRAMMING LANGUAGE

Name: Anonymous 2007-08-27 21:12 ID:1Ezi5GWR

Dive into C and learn the shit out of it.  Master pointers and you can master anything.

Name: Anonymous 2007-08-27 21:12 ID:20oJU060

Calculate your answers by hand. If you can do that, you can do anything.

Name: Anonymous 2007-08-27 22:33 ID:EhW/iSwP

OP here.

It looks like you're recommending functional programming and SICP. Got any recent Haskell or Scheme links?

IN b4 google it, I did and got a bunch of "dive in haskell from x programming language".

Name: Anonymous 2007-08-28 0:27 ID:cKEVvqRa

Name: Anonymous 2007-08-28 7:19 ID:F9sBi+88

>>61
wrong

Name: Anonymous 2007-08-28 15:15 ID:a7ghuxAd

>>40
a. and d.: To a newbie, keyword begin and end are a lot more readable than { and }.

b.: I kinda like using a statement seperator over a terminator. But if you're so inclined, you're still allowed to use it as a terminator in Pascal since an empty statement is treated as skip.

c.: Fair enough.

Name: Anonymous 2007-08-28 15:27 ID:GSmluSpC

>>66
Programming languages should not be optimized to be readable by those who do not know how to program. That kind of braindamage is what inspired COBOL.

Name: Anonymous 2007-08-28 17:03 ID:a7ghuxAd

>>67
Agreed, but we need some kind of middle ground. Perl oneliners that look like

%$#^**$(%(^$#@{}[]

are also not exactly desirable (especially for a newbie).

The point is that someone who is new to programming needs to focussing on things like control structures. As a beginner, what you need is to learn about assignments, about conditional statements and loops. You should not have to worry about stupid syntactic stuff.

Let's not forget that the C-like languages have one of the worst possible assignment symbols possible (namely the = sign, used for equality in pretty much every single other field). Also conditional expressions like b?x:y are not exactly elegant syntax, nor are these shorthands relevant to newbie programmers.

These syntactic monstrosities will hinder anyone new to programming. When you have the basics down, switching to a different language is trivial.

Name: Anonymous 2007-08-28 22:03 ID:LyicYDL4

>>66
when I was a newbie programming and pascal was like the second language I ever learnt (after BASIC), I thought begin end were ugly, and when I learnt C (which I'm guessing was the third language), the first thing I loved was the braces.
>>68
rite about the syntax stuff, but then again that's why scheme is so much better than pascal.

Name: Anonymous 2007-08-29 5:47 ID:N0/J+A1V

When I learnt C, I didn't give a damn about braces. When I learnt Pascal, I didn't give a damn about BEGIN..END. When I learnt Python, I didn't give a damn about the forced indentation of code. But now I realize the forced indentation of code is the way, because:
1. It forces fucking faggots to indent properly
2. It avoid stupid braces-go-in wars. (Though I'm up for one; K&R wins and everything else is for faggots.)
3. It saves lines of text by not having to close anything, and makes more of the program fit in a screen, which makes code more readable without decreasing the font size.
4. It avoids stupid {} vs BEGIN END wars (this is a new!).
5. It spares { } from being reserved characters and BEGIN END from being reserved words.

Name: Anonymous 2007-08-29 8:36 ID:axaWN6LC

#define BEGIN {
#define END }


Now quit bitching.

Name: Anonymous 2007-08-29 10:22 ID:R3DlVV25

I'm gonna go with BASIC.

Name: Anonymous 2007-08-29 11:47 ID:pQuD25GV

The best first language to learn is Brainfuck

Name: Anonymous 2007-08-29 14:08 ID:fTiNzSKk

1. It forces fucking faggots to indent properly
except that people still do stupid shit like using tabs or using way too many spaces.

Name: Anonymous 2007-08-29 18:41 ID:QyFoIH1Z

>>74
Propose the forced usage of spaces. Guido already favours spaces over tabs strongly.

Name: Anonymous 2007-08-30 18:25 ID:EOmx/TeG

>>73
Damn straight

>>OP
If Java is too confusing to you, you may want to become an hero.  Either that or enjoy your McFuture to the fullest.

Name: Anonymous 2007-08-30 18:30 ID:da7AX/rI

>>75
Guido's a faggot, tabs are clearly superior

Name: Anonymous 2007-08-30 19:44 ID:hgHHhMEy

>>77
unless you have forced indenting

Name: Anonymous 2007-08-30 19:55 ID:s5A0eY8J

>>77

Enjoy your tabs

Name: Anonymous 2007-08-30 20:02 ID:4l8aYY+J

>>79

Enjoy yr AIDS.

Any decent Python IDE will convert a tab into 5 spaces anyway.

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