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

Pages: 1-

First Programming Language

Name: Anonymous 2007-08-24 9:46 ID:kYsaf3XS

I've dabbled in programming before but I want to get back into it. I was thinking Python, Ruby or Perl, but I can't decide which to start programming in. And then when I start learning a language, what kind of programs should I make? That's always been my big problem, not having any ideas to program.

Name: Anonymous 2007-08-24 9:57 ID:BUvBC0n1

I think you'll probably have the most fun with Ruby or Python because I think it's quite easy to be productive in those languages, and if you've only dabbled then those should be quite palatable. Once you're "back into programming", you can choose to try other things, if you like.

Name: Anonymous 2007-08-24 10:05 ID:Heaven

Read SICP

Name: Anonymous 2007-08-24 11:36 ID:dc8MS4Aw

>>1
Find something that annoys the shit out of you, and write a program to fix it.

Name: Anonymous 2007-08-24 12:06 ID:Ux0YkxcD

I suggest learning Perl. Learning non object-oriented programming first will give you more insight into the structure of programs (yes I am aware Perl can do object orientation, but people usually don't use that at a beginner level).

As a beginner you will want to start with a project that is fun. Lets say you want to start out making an AIM or IRC bot.  Normally doing so would be hard without knowledge of network programming and a lot of harder stuff. Since Perl has a centralized website of modules (libraries) (http://search.cpan.org/) you can download a module that can handle the messy parts of a program for you, leaving you to do the easier but still just as fun parts that are good for practice, and still making a decent project that functions. Example modules I talked about were the AIM module Net::OSCAR (http://search.cpan.org/~matthewg/Net-OSCAR-1.925/lib/Net/OSCAR.pm) and Net::IRC (http://search.cpan.org/~jmuhlich/Net-IRC-0.75/IRC.pm).

Then you can move on to perl hash/hash-ref data structures, and when you master those you gain a broader view of data structures in general. Follow that up with regular expressions and your life will change forever. At this point you can go on to learn an object oriented language like python or ruby and enjoy god's gift of object orientation.

I found that that was a fun way to ease myself into programming. Eventually you work your way into being able to do the harder stuff yourself, which is where you really start learning the inner workings of programming.


I also second what >>4 said. Fixing things that annoy the shit out of you can be the most satisfying thing ever.

Name: Anonymous 2007-08-24 12:07 ID:zhJIogIE

Learn C. If it feels too much you'd be a shit programmer anyway. Try again when you've gained at least 5 lvls in maths and physics.

Name: Anonymous 2007-08-24 13:33 ID:T2X05mhN

>>6
What's a good place (few pks, few fellow farmers) to farm maths and physics experience?

Name: Anonymous 2007-08-24 13:41 ID:+qyxW2jm

>>7
Don't listen to >>6, you don't need math or physics unless you're writing programs that do math or physics.

Name: Anonymous 2007-08-24 15:04 ID:b0HCH53Q

>>8
all non-trivial programs (and most trivial ones) do math.

Name: Anonymous 2007-08-24 15:06 ID:Heaven

learn X86 ASM

Name: Anonymous 2007-08-24 15:08 ID:+qyxW2jm

>>9
Yeah, they do math, but not MATH. Desktop apps don't do much beyond algebra (besides spreadsheets or whatever), and if you can't do algebra you should just become an hero. When a person says "learn math" that implies something other than what everybody should damn well know.

Name: Anonymous 2007-08-24 15:12 ID:8xMnvLYK

It's maths, you cretin.

Name: Anonymous 2007-08-24 15:41 ID:b0HCH53Q

>>11
once you know algebra the rest is pretty easy to figure out.

>>12
let's stick a plural endings on a singular nouns for no reasons.

Name: Anonymous 2007-08-24 16:02 ID:SCSNH7Gg

Name: Anonymous 2007-08-24 16:28 ID:wbwyr/ST

Name: Anonymous 2007-08-24 19:11 ID:EYy6Zbil

>>15
Amerifag

Name: Anonymous 2007-08-24 19:11 ID:IJtu04d6

>>16
Only kind of fag worth being, you gratuitous plurals fag.

Name: Anonymous 2007-08-24 19:19 ID:OzeGmnoK

Is it trolls or idiots that keep asking the same questions over and over?

What language should I learn?
What editor should I use?
How do I write a game?
Will you do my homework for me?
Which IDE is best?

You know this board archives years worth of that crap. Invest an hour and go back and read it.

Dummy.

Name: Anonymous 2007-08-24 19:23 ID:kjUSCJa7

>>18
idiots

Name: Anonymous 2007-08-24 19:35 ID:kjUSCJa7

POST LINKS TO AUDIO RELATED TO PROGRAMMING

Name: Anonymous 2007-08-24 20:31 ID:CLzkkuGV

>>18
1.  Scheme
2.  Emacs
3.  Writing a game is no different to writing any other program, learn the problem domain
4.  No
5.  UNIX

Name: Anonymous 2007-08-24 21:14 ID:EYy6Zbil

>>18
1. Scheme (with SICP), Python.
2. Anything you like that's not bloated or Java shit. I personally like PSPad (Windows or Linux with Wine - works great there) and Kate.
3. Become an hero.
4. Only if it's short and easy, and only in a language you didn't ask for.
5. UNIX.

Name: Anonymous 2007-08-25 6:02 ID:xluNoLH6

>>18
1. Ruby, Erlang.
2. vi
3. You think up a concept (planning), write code and then test it.
4. No.
5. UNIX.

Name: Anonymous 2007-08-25 11:07 ID:kBrqe8R6

C++ and Perl are the only ones worth learning.

Java is shitty and bloated.

Everything else is pretentious and useless.

Name: Anonymous 2007-08-25 11:43 ID:JaeOD2oR

>>24
C++ sucks, and Perl is good for short hack hobs, but hell otherwise

Name: Anonymous 2007-08-25 13:12 ID:UGkfXm1b

>>24
You forgot to suggest Notepad.

Name: Anonymous 2009-03-06 12:45

Start first hax my anus hax my   anus is a   visual basic hater   87 is a   fortran hater 90.

Name: ​​​​​​​​​​ 2010-10-22 9:03

Name: Anonymous 2011-02-04 14:24

Name: Today I Found Out 2013-05-14 14:40

Name: Anonymous 2013-05-14 14:59

Oh God, a troll again.
There is no best language, all language can do what you want (except assemblor and binary I think...). Learn first the algoritmic and after you can choose a language.
Go to documentations and do you an idea.

Name: Anonymous 2013-05-14 15:04

The best language is rust

Name: Anonymous 2013-05-14 16:01

>>32
All languages become machine code when they run, therefore how could it not be able to do what you want?

Name: Anonymous 2013-05-14 18:44

>>34
Make a GUI with assemblor seems to me complicated but if possible I withdraw what I said...

Name: Anonymous 2013-05-14 19:10

>>35
Are you for real?

Name: Anonymous 2013-05-14 19:26

>>35
        .file   "foo.c"
        .section        .rodata
.LC0:
        .string "destroy"
        .text
        .globl  main
        .type   main, @function
main:
.LFB10:
        .cfi_startproc
        pushq   %rbp
        .cfi_def_cfa_offset 16
        .cfi_offset 6, -16
        movq    %rsp, %rbp
        .cfi_def_cfa_register 6
        subq    $32, %rsp
        movl    %edi, -20(%rbp)
        movq    %rsi, -32(%rbp)
        leaq    -32(%rbp), %rdx
        leaq    -20(%rbp), %rax
        movq    %rdx, %rsi
        movq    %rax, %rdi
        call    gtk_init
        movl    $0, %edi
        call    gtk_window_new
        movq    %rax, -8(%rbp)
        movq    -8(%rbp), %rax
        movl    $0, %r9d
        movl    $0, %r8d
        movl    $0, %ecx
        movl    $gtk_main_quit, %edx
        movl    $.LC0, %esi
        movq    %rax, %rdi
        call    g_signal_connect_data
        movq    -8(%rbp), %rax
        movq    %rax, %rdi
        call    gtk_widget_show
        call    gtk_main
        movl    $0, %eax
        leave
        .cfi_def_cfa 7, 8
        ret
        .cfi_endproc
.LFE10:
        .size   main, .-main
        .ident  "EXPERT PROGRAMMER"
        .section        .note.GNU-stack,"",@progbits

Name: Anonymous 2013-05-14 19:33

>>37
yfw thats not assembly

Name: Anonymous 2013-05-14 19:41

>>38
He didn't ask for assembly, he asked for `assemblor'.  I gave him an assembler code file, which I believe is close enough, given that I couldn't find any record of a real programming language called Assemblor.

Name: Anonymous 2013-05-14 22:22

>>38,39
It's neither, it's GCC puke.

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