[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/prog/ - Programming

Programming

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


8bcfe2 No.4106

What do you think the best language is to learn for beginners and why?

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4137

C. Start low-level and work up.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4153

Brainfuck.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4154

File: 1461621651925.png (175.93 KB,441x421,441:421,1382401042274.png)

Racket, because it's a language simple enough to explain in a dozen of minutes, is abstracted enough that the learner can focus on understanding algorithms and abstractions which is the core of programming (instead of getting bogged down in the minutiae of x86 architecture and C ABI) and has best introductory materials* - How to Design Program (http://www.ccs.neu.edu/home/matthias/HtDP2e/) or, if the beginner in question is school age, the Bootstrap Curriculum (http://www.bootstrapworld.org) and Realm of Racket.

And then after learning algorithms with Racket learn systems programming with C, because if you don't care about low-level details you'll always be a mediocre programmer at best.

Why not C before Racket? Because I think having to learn low-level imperative minutiae AND high-level stuff like algorithms, abstractions and architecture at the same time is a sure way to make programming appear far harder than it in fact is.

As for C books - to my surprise "Headfirst C" is quite a good introduction to C, even though it's from a series for dumbfucks. There's also trusty K&R or C Programming: A Modern Approach, but they don't explain base concepts like stack, heap, pointers as thoroughly for a beginner.

And then just try learning what strikes your fancy? Maybe check out how dynamic object-oriented languages look with Ruby (or Smalltalk) or how powerful type systems can help you writing more correct code with Haskell (or SML). If you're into games try to learn C++ and weep for it's complexity. Or if you want to waste your life as blue collar programmer learn Java or C# : V

Whatever you try next, just avoid PHP like hell. It's cancer.

* - next to SICP, but it's very engineering-oriented and a bit outmoded in parts, so while it's worth reading later on, I don't think is as good a first book as HtDP.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4177

>>4154

Are you the guy that made this post?

https://8ch.net/prog/res/1410.html#4152

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4192

>>4106

C because you can learn it knowing EXACTLY what's going on, what the code is doing and what the hardware is doing.

Many people recommend super high-level object oriented stuff for a beginner language because supposedly it's easy to use and easy to understand because muh representation of reality with OOP.

Then they end up on stack overflow like "So I'm writing a hello world but the compiler says i'm missing an abstract virtual base private destructor".

In languages like python or c# it's easy to do advanced things with little code but you won't know how it all works and it will bite you in the ass later.

In C and perhaps other low level languages it's easy to know exactly what's happening.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4201

>>4154

was trying to start with this but a black screen with a ">" is the only thing I see. What do?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4204

>>4201

That's the REPL (read-eval-print loop). You type expressions in it, it evaluates and prints them.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8bcfe2 No.4255

File: 1464881197929.jpg (523.87 KB,1400x1341,1400:1341,programming powerlevels.jpg)

anything that's functional and not object-oriented. some people are saying C and that's ok but in C you really spend more time learning C syntax than learning how to program, if you get my drift. I'd say learn racket/scheme/any form of lisp. and buy SICP, dont just try to read a pdf online or you won't actually read it

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]