[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I'm thinking about learning programming as a hobby. What
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 67
Thread images: 10
File: Programming-languages.png (13 KB, 570x258) Image search: [Google]
Programming-languages.png
13 KB, 570x258
I'm thinking about learning programming as a hobby. What programming language should a beginner learn?
>>
>>54029118
for me, they're all hard as fuck.

that said, i would recommend java or C++
>>
>>54029118
Python is arguably one of the easiest ones and good for hobby projects
>>
>>54029138
Isn't C++ harder than C?
>>
>>54029138
>java
Kys

Learn C and C++, Python, perl, also learn a bit of assembly
>>
Oh it's this thread again.

A bunch of people will say C, and then move to C++, or some variant thereof.

These people are retarded.
>>
>>54029171
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."
Bjarne Stroustrup, C++ creator
>>
File: 2412434.png (212 KB, 343x268) Image search: [Google]
2412434.png
212 KB, 343x268
>>54029171
>implying languages can be harder than other languages

Un
>>
>>54029171
It depends on your mind's ability to comprehend the vast "dimensions" of the language

Different languages will be harder for others. Please get out fucking cuck faggot
>>
>>54029118
C/C++ and common lisp
>>
File: wtf.jpg (45 KB, 681x496) Image search: [Google]
wtf.jpg
45 KB, 681x496
>>54029138
>java
>>
I'm not OP, but I'd like to learn C#. Where can I do that?
>>
>>54029242
thenewboston.com

Fucking cuck learn to google
>>
File: 1432974055071.gif (2 MB, 400x295) Image search: [Google]
1432974055071.gif
2 MB, 400x295
>>54029251
I'm sorry daddy
>>
File: 12854648.png (269 KB, 751x407) Image search: [Google]
12854648.png
269 KB, 751x407
>>54029171
>>
>>54029251
You are not helping. Please go.
>>
>>54029242
C# is nice but don't expect it to work well cross platform (unless you use xamarin for mobile apps but apart from that mono is terrible). Seriously just start with c/c++ because a lot of languages use similar syntax and you'll learn more about how computers actually work.
>>
>>54029205
You think programming in C or C++ is as easy as Python? Or that assembly is as easy as C or C++? And by extension, assembly is as easy as Python?
>>
>>54029118
C#
>>
File: Unity.jpg (389 KB, 1284x980) Image search: [Google]
Unity.jpg
389 KB, 1284x980
>>54029294
I just want to make games in Unity
>>
>>54029118
>Learning programming as a hobby

Excuse this /g/ent if he's heard this a million times before...

If you want to be a casual go straight to python.

Something reputable C/C++

Something others think is useful Java
>>
File: laughing.png (353 KB, 613x495) Image search: [Google]
laughing.png
353 KB, 613x495
>>54029283
>says not helping
>provides link to programming tutorials

You're a fucking retard, drink some cyanide.
>>
>>54029294
mono works fine, its just slow

also why would you need to create cross platform applications that isn't xamarin?
>>
HTML is one of the easiest programming languages
>>
>>54029308
Why is Java so used by professional programmers but so little by hobbyists?
>>
People say Python or Ruby so you get overwhelmed early on and it's 1 less competitor in the programming field then.

With that being said, I highly recommend Java or C++
>>
>>54029295
It depends, as>>54029221 said
Some languages may come easier than others. Not everyone will be the same.
>>
>>54029118
Download "A Gentle Introduction to Symbolic Computation" and learn Common Lisp.
>>
>>54029118
Javascript

Ignore C++/C/Asm fools
>>
File: 435221.png (316 KB, 604x344) Image search: [Google]
435221.png
316 KB, 604x344
>>54029324
>HTML
>programming

Underfage retard detected, HTML is a markup language, kill yourself
>>
>>54029327
java is used by a lot of hobbysts

there are just simply languages for doing simple things for small projects people would make
>>
>>54029295
assembler, by definition, is nowhere near as "hard" or complex as something like C (knowing the CAM and how to avoid UB) or the monstrosity of complexity that is C++
>>
>>54029327
Because aspects of the language make it good for large projects with multiple programmers (being verbose and whatnot) but at the same time make it a pain in the ass for just fucking around.
>>
>>54029118
got a trial offer 4 SQL from Codeacademy
[Done C, C++, Python, assembler in the past]
Should I even bother w/ SQL?
>>
>>54029351
>he doesn't program websites in .htm
>>
>>54029307
Probably just go make stuff in Unity, then, and read their APIs. You'll pick up whatever you need to. Unity does a lot of what you used to have to code through GUI.
>>
if you want to LEARN, go for C, if you want something to have fun try Python
>>
>>54029118
C/C++, Java(or C#), PHP, Python,...
Assembler if you need more optimization or if you want to know better how a CPU works.
>>
>>54029532
what's a nice book that isn't k&r with a good set of exercises?
>>
>>54029118
If it's a hobby just learn Python. It is one of the most "beginner friendly" languages probably, there are tons of information through books, tutorials etc for beginners. Also, since you are just learning for a hobby and not going to be writing heavy 3D graphics engines etc, you would not really ever benefit from something like c++. Furthermore, there's also a shit ton of libraries for Python so you can use it for nearly anything.
>>
>>54029118
Whatever you do, remember C is a meme.
>>
>>54029118

Learn something that doesn't require you to manage memory. Then learn C and C++ so you actually learn how the machine works.

Since you ultimately want C/C++ under your belt, starting with C# means you learn a similar syntax. If you're on a Mac might as well start with Swift. (Obj. C is powerful but has an odd syntax built on top of C. Not sure if you want to tackle it unless your focus is OS X or iOS development.)

Avoid meme scripting languages such as Python. If you're going to do that, at least do JavaScript since it's useful in web apps.
>>
File: laughing.jpg (36 KB, 480x360) Image search: [Google]
laughing.jpg
36 KB, 480x360
>>54029351
>he doesn't write programs using turing complete html/css
Stay pleb
>>
>>54029118
If you want to make cool projects rapidly and easily
>python

If you want to make apps (android)
>java

If you're more interested in computers in general or embedded systems
>C

If you go the C route, going the other two farther down the road will be super easy breezy. But if you do C first, be prepared for frustration and aggravation.
>>
>>54029363
>This
>>
Quick Basic 64
>>
>>54030255
>If you want code that runs slow as shit
>>python

Fixed.
>>
>>54032052
Python is not slow lad.
>>
>>54030255
Apps can be made in anything now fuckface.

Also, python sucks fucking ass. Tried it once (knowing java and c++) and how can a language be such a clusterfuck.

Anyway, just take a c-syntax style language and start using it. Only way to learn.
>>
>>54029242
just download visual studio and search up some console tutorials on youtube

did the same 3 months ago, so I'm no expert
>>
Hey guise what does C stand for?
>>
>>54033195
it comes after B
>>
>>54033217
Silly anon there is no B lang
>>
>>54029350
LOL
>>
>>54032052
>I dont know how to python
nice
>>54032491
>amazing language is not amazing
thats like saying that java is an actual good language
>>
>>54033245
Silly newfag :( he talked the truth btw
>>
Rust, c# vor go.
>>
>>54029376
ya
would be good if you ever decide to get into web-app exploitation stuff
>>
>>54029118
But what do you want to do anon? There is no one true language for every purpose.

Java if you want to make android Apps.
C# for Microsoft windows development OR if you want to write games in Unity.
JavaScript for frontside web stuff
C/C++ for games (and other high performance software) library and systems development.

I guess Python belongs somewhere in this list since its popular, but I never use it myself.

There are a bunch of other languages out there that are well worth checking out (like functional languages). But most of them are niche.

>>54029171
Depends on what you mean harder. C++ has more advanced features which you could say make it "harder".
C is less "safe", it's easier to make bugs involving memory and is less type safe.
>>
why /g/ so lonely?

this thread is the answer
>>
File: oppenheimer_bait.png (99 KB, 625x626) Image search: [Google]
oppenheimer_bait.png
99 KB, 625x626
>>54032052
>>
>>54029171
Yes. C++ is a much larger and more complicated language.
>>
>>54029327
Because it's shit, but managers aren't smart enough to realize this.
>>
>>54029118

>ITT: hurr, C is so easy
>fuck arround with pointers
>fuck arround with memory leaks
>exception handling is a big no no
>hurr, durr, java is bad
>>
>>54029118
Scala
>>
>>54029327

Because when you put in some hundreds lines of code you won't understand why you need this "verbose" stuff (i.e. encapsulation).

When you try to find a bug within thousands or ten thousands line of code you will be glad..

You see, most /g/ posters are kiddies who never did development outside the university and just can't imagine that large scale development is NOT about "muh l33t haxx0r code" but about robustness, savety and stability.

Java is like a truck. At first you laugh about it:
"lol, eigth-axle? how verbose!!"
"look, only two people fit in, hahaha!"
But when you put some weight in it you will notice the differnce. It all makes sense, but not at a beginner level.
>>
>>54029118
C. If you only ever learn on language, it should be C. It will give you a solid foundation for programming, and prepare you for just about any other language. Most other modern language are in some way or another influenced by C. By learning C first, you will find picking those other languages up trivial, and you will be a better programmer for it. Having a good grasp on C is the difference between being a great programmer or a mediocre coder.

Don't get me wrong, just about anything you might like to do with C, can be done better with another language. No other language however can replace C for all things. C is about utility. Not just utility though, it is the very foundation of modern programming.

C is not hard, or at least doesn't need to be. Shitty programmers make it hard through bad habits. It's a relatively small language though.
Thread replies: 67
Thread images: 10

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.