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

Pages: 1-4041-

languages

Name: Anonymous 2007-12-10 19:39

despite starting to learn c++. I'm having doubts.
I could go and look on wikipedia for hours about programming languages, but having not done much in any language. It's all shit to me. I don't understand it.
So.
If any anon is kinda enough.
I wanna get started using a language. Any. A good functional language.
but why use it, and why not use C++? I hear alot about lisp.
icba reading SICP unless it's really worth it.

Big post. Expecting tl;dr from trolls.

Cheers /prog/

Name: Anonymous 2007-12-10 19:41

>>1
You aren't expert enough to learn a programming language(especially since you considered lisp)

Name: Anonymous 2007-12-10 20:07

       , --- 、_                 
      /ミミミヾヾヽ、_           
   ∠ヾヾヾヾヾヾjj┴彡ニヽ
  / , -ー‐'"´´´    ヾ.三ヽ
  ,' /            ヾ三ヽ    Agent Smith has 4get
  j |             / }ミ i
  | |              / /ミ  !  >>6-7 suggest SICP
  } | r、          l ゙iミ __」  >>10 Claims C is the only way
  |]ムヽ、_    __∠二、__,ィ|/ ィ }  >>15 suggests Perl
  |    ̄`ミl==r'´     / |lぅ lj  >>16 reacts on >>15; python is ``clean''.
  「!ヽ、_____j ヽ、_  -'  レ'r'/   >>19 FORCED...
   `!     j  ヽ        j_ノ    >>32 Is a winfag
   ',    ヽァ_ '┘     ,i     >>33 lols.
    ヽ  ___'...__   i   ハ__    >>34 suave
     ヽ ゙二二 `  ,' // 八   >>35-1000 You will all become me.
      ヽ        /'´   / ヽ
      |ヽ、__, '´ /   /   \  

Name: Anonymous 2007-12-10 20:25

>>1 starting to learn c++. I'm having doubts.
If you weren't having doubts about C++ I'd worry about you. Read Practical Common Lisp instead.

Name: Anonymous 2007-12-10 21:58

C is the only real programming language. Learn C++, from there you can go up to java and down to C.

FUCK LISP

Name: Anonymous 2007-12-10 22:09

>>1
Read SICP

Name: Anonymous 2007-12-10 22:17

(why-p '(learn sepples) (when-you-could '(learn SICP)))

Name: Anonymous 2007-12-10 22:22

>>5
Python says hi.

import antigravity;

/troll

Name: Anonymous 2007-12-11 0:07

I wanna get started using a language. Any. A good functional language. but why use it, and why not use C++?
Beginning to program functionally helps you to avoid some of the most common beginners mistakes like writing lightyears-long spaghetti programs with no functions. It forces you think in terms of abstraction and separating large problems into smaller parts. These are necessary skills for any programmer. Of course you can learn these in any language, but functional programming makes them obvious and natural from the beginning.

icba reading SICP unless it's really worth it.
It really, really is worth it. Read it. I suggest that you start by watching the video lectures, though.

Name: Anonymous 2007-12-11 0:08

>>5
Surely you mean "sideways to Java" and "up to C".

Name: 9 2007-12-11 0:09

Oh, and I forgot to add: even if you don't believe a word I said in >>9, take this free tip: whatever you do, don't start with C++. It's a horrible language and should've died before it was born.

Name: Anonymous 2007-12-11 0:10

>>11 It's a horrible language and should've died before it was born.
Hear hear.

Name: Anonymous 2007-12-11 0:24

>>11-12
C++ is pretty awesome, but only for certain applications, and only if you're already an EXPERT PROGRAMMER that can deal with writing complex programs out of assembly-level minutia.

Name: Anonymous 2007-12-11 0:35

>>13
No.

Name: Anonymous 2007-12-11 0:51

>>13 C++ is pretty awesome, but only for certain applications

Unless "certain applications" is your way of saying "trolling noobs", you're nuts.

Name: Anonymous 2007-12-11 0:54

>>11
C/C++ are fucking awesome languages if you want essentially direct translation into native assembly, which is a necessity for OS-level shit. And when you're that close to the metal on current consumer systems (x86/x64), adding fancy features like first-class functions and dynamic typing just slow shit down to the point where the system is unusable.

Maybe eventually we'll see some more interesting architectures come out which cater more nicely to non-imperative programming styles, but for the moment, we're stuck knee-deep in the shit. For high-level applications (most everything these days) though, your point is completely valid.

inb4 someone more knowledgeable than me invalidates my post.

Name: Anonymous 2007-12-11 1:01

>>16
C/C++ are fucking awesome languages
Where do you get off acting like C and C++ are the same?

if you want essentially direct translation into native assembly,
If you want this and you're not doing embedded programming, you're an idiot.

which is a necessity for OS-level shit.
No.

And when you're that close to the metal on current consumer systems (x86/x64), adding fancy features like first-class functions and dynamic typing just slow shit down to the point where the system is unusable.
Again, no. Why would that happen? Any dynamic language useful for systems programming will provide a way to deal with dynamic typing (think ``optional type declarations''). And how in the world would first-class functions cause a problem?

Maybe eventually we'll see some more interesting architectures come out which cater more nicely to non-imperative programming styles,
Special hardware is not required. Maybe in 1970 they did that, but modern compilation techniques obviate the need for this. It might be beneficial to design hardware with an eye towards GC, but there is absolutly no problem with compiling a dynamic language on a modern CPU.

Name: Anonymous 2007-12-11 1:02

sage

Name: Anonymous 2007-12-11 1:51

>>16
Protip: Function pointers are a kind of first-class function.
ib4 someone invalidates my post

Name: Anonymous 2007-12-11 2:52

>>17
I added C in there as an afterthought, because most of the stuff I had in mind applied specifically to kernel shit and embedded programming, which are typically done with C in commercial applications.

With regards to first class functions being a problem, I was referring to the fact that C function call shit maps nearly directly to x86, whereas feature sets which actually use first-class functions for other fun features involve si

>>19
I guess that's true, but the C notion of functors are very weak compared to most "toy" languages. While you could hypothetically implement fun things like lazy evaluation in C, it would be messy as fuck.

Fuck I don't even remember what my original point was; it probably wasn't even valid.

Name: >>20 2007-12-11 3:02

which are typically done with C in commercial applications
for better or for worse.

Name: Anonymous 2007-12-11 3:37

beards

Name: Anonymous 2007-12-11 4:25

>>22
over babies

Name: Anonymous 2007-12-11 5:34

EXPERT QUOTING

“C++ is an octopus made by nailing extra legs onto a dog.” —unknown
“I quickly found out that C++ programmers are the smartest programmers in the world, as each one I met would quickly point out to me.”

Name: Anonymous 2007-12-11 7:05

refering to >>1
which language is good for games programming?

Name: Anonymous 2007-12-11 7:21

i think you should learn c first because it's so basic, then learn the oop of c++ and you'll be set for life, most other languages will fall like dominos

Name: Anonymous 2007-12-11 7:26

>>26
Except for any non-imperative language, of course.

Name: Anonymous 2007-12-11 7:29

Learn C first, mess with pointers and data structures, it will teaches you how the machine really works.
Stay away from ENTERPRISE OOP bullshit, a string is a contiguous array of ASCII-encoded values in memory, not an "abstract object".

Name: Anonymous 2007-12-11 8:02

>>28
Fuck you with your contiguous arrays. I place my data where I want.

Name: Anonymous 2007-12-11 8:12

i store my variables in a database

Name: Anonymous 2007-12-11 9:22

i store my variables in a variablebase and my data in a database.

Name: Anonymous 2007-12-11 12:40

>>26
And that's why you're a bad programmer.

Name: Anonymous 2007-12-11 15:47

>>32
Says the winfag, lol.

Name: Anonymous 2007-12-11 15:59

>>31
Ah, and so life imitates art.

Name: Anonymous 2007-12-11 16:04

>>34 Then who drew the art?

Name: Anonymous 2007-12-11 16:05

>>28
please lern2unicode.

Name: Anonymous 2007-12-11 16:34

>>35
The Sussman in the sky.

Name: Anonymous 2007-12-11 18:22

>>33
Says the ass-out-of-u-and-me.

Name: Anonymous 2007-12-12 4:55

>>38
So you admin, then, that you are an ass? So life imitates art, I see.

Name: Anonymous 2007-12-12 6:20

I would seriously recommend Python. Work through the Dive Into Python book at http://www.diveintopython.org/, and then when you're comfortable with that, read SICP and do some of the exercises.

Name: Anonymous 2007-12-12 12:28

>>40
get the fuck out.

Name: Anonymous 2007-12-12 14:13

>>39
No, I don't admin anything. I'm just a programmer.

Name: Anonymous 2007-12-12 17:57

>>39
Just a programmer? Just? JUST???

A programming is a special bestowed on special individuals by the unknown forces of the universe.

Repeat after me, loudly and clearly and with pride: I AM A PROGRAMMER

Name: Anonymous 2007-12-12 18:09

>>40
ONE WORD THE FORCED INDENTATION OF CODE THREAD OVER

Name: Anonymous 2009-03-18 2:36

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

Marijuana MUST be legalized.

Name: Anonymous 2009-08-16 23:07

Lain.

Name: Anonymous 2010-12-17 1:38

FOLLOW THE NEW GNAA TWITTER AT http://twitter.com/Gary_Niger

Name: Anonymous 2011-02-04 17:04


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