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

What do you guys think is the best programming language to start

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 53
Thread images: 5

File: foreign.png (388KB, 1341x866px) Image search: [Google]
foreign.png
388KB, 1341x866px
What do you guys think is the best programming language to start with as a beginner? I've heard Python, but I've also heard beginners should start with something more complicated like C++ as it will make them better in the long run.
>>
>>55809006
>What do you guys think is the best programming language to start with as a beginner?

Ruby is good.

Very intuitive and easy to learn and really teaches you OOP. I like the syntax and it's just a pleasure to use
>>
>>55809006
So you want to learn programming?

Pick a starting language. For beginners, there are generally two recommended "programming families" that you can choose to start learning:
-Dynamically typed/interpreted programming languages, such as: Python, Perl, Ruby
-Statically typed/compiled programming languages, such as: C, C++, C#

These are amongst the most popular languages in use worldwide, including 4 from the top 5. Both approaches are perfectly fine, and well-documented.
-Dynamically typed programming may be a bit more flexible, convenient, and forgiving. It is more popular in academia.
-Statically typed programming is a bit more suited for making general applications. It is more popular in industries.

Cannot decide? Flip a coin.

If you choose statically typed/compiled programming, you may want to start with C, then pick up C++. C is very well documented, and teaches many universal programming concepts. C++ is based on C, and adds new concepts. Sources:
For C:
The C Programming Language (K&R)
C Primer Plus (Prata)
http://www.cprogramming.com/tutorial/c-tutorial.html
http://www.learn-c.org/

For C++:
http://www.learncpp.com/
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/tutorial/c++-tutorial.html
http://en.cppreference.com/
https://isocpp.org/faq

If you choose dynamically typed/interpreted programming, you may want to start with Python. It is very easy to pick up. Here are some good sources:
http://www.learnpython.org/
http://www.codecademy.com/en/tracks/python

>BUT I WANT MORE SOURCES!
Read: https://wiki.installgentoo.com/index.php/Programming_resources

>BUT I WANNA START WITH [language x] INSTEAD!
Sure, if you like. But the languages above are considered good for beginners.

>BUT I WANNA MAKE A COOL WEBSITE!
Learn HTML, CSS, and Javascript.

>BUT I WANNA MAKE iPHONE GAMES!
Learn Objective C and/or Swift.

>BUT I WANNA MAKE ANDROID GAMES!
Learn Java.

>BUT I WANNA MAKE PC GAMES!
Learn patience.
>>
Python or ruby
>>
Ruby is effectively a legacy language these days, so go with Python
>>
>>55809018
There is absolutely no fucking reason to use C anymore you fucking pleb
>>
>>55809006
Javascript hands down.

You can fuck around in your browser with 0 setup or tools necessary.

It's by far the best documented language which will get you to more interesting things quickly.

Chase after whatever piques your curiosity and expect to end up going a lot of places you didn't plan to. It's all about the journey, there is no final destination.
>>
>>55810007

>tfw work for multi-million dollar company in health insurance
>still use visual basic
>>
>>55810653
Same relative
>>
>>55809006
Javascript

<html><body>
<script>
document.write("Hello world!");
</script>
</body></html>
>>
Question: Can I program if I'm not creative? In sandbox games like Garrys Mod I usually find myself not knowing what I should "Build" and getting bored. I'm afraid if I learned Phyton "for fun" I would not know what to do with it, what to learn it for.
>>
Just Python. You can easily grow after getting started with it. You don't lose anything by not starting with C++, but C++ is less intuitive and can hurt your motivation or cost time for little things.
Of course, you'd probably be even better off by just learning something instead of learning which thing you should learn. Go on amazon and by the first programming manual you find. That'll be just as valid.
>>
>>55811732
Learn Lua and code for Gmod :^)
>>
>>55809006
C, no contest.
>>
>>55811732
That sort of creativity in Garry's Mod is sort of creating problems. If you go and find interesting problems you might find that you're still creative at solving them with python. A lot of the sort of creativity that people think that composers and painters have is learned and refined skill anyway. Not practising because you assume you're not creative is self fulfilling. Just forget that such thing as 'creativity' exists.
>>
File: 1444638146631.png (514KB, 810x698px) Image search: [Google]
1444638146631.png
514KB, 810x698px
>>55809006
haskell
>>
>>55810954
If you aim to just create dumb websites with zero crud functionality then I would agree that learning only javascript and html is sufficient.
Otherwise you would need to learn a server-side language like php.
>>
>>55809015
>really teaches you OOP
Then it probably shouldn't be what beginners start with.
>>
>>55809018
fuck off tripfag
>>
>>55813023
>haskell
kek
>>
>>55809006
Obviously Perl6, because you can opt in any feature/paradigm you want.
>>
>>55813710
Familiarity with OOP is kind of necessary for being a good programmer. Call me paranoid but I'm a little suspicious of people saying you don't need that kind of skill.
>>
>>55809006
I think you should start with C. You would learn a lot about how computers work and then you'll realize its shortcomings and actively try to learn a new language to write programs usable in modern world (excluding engineering tools and low level stuff, if those are the things you are going for then it's mostly C, C++ with a Java frontend)
>>
>>55815566
You should be familiar with objects, but not object oriented programming, as in the dying religion - you'll be better off for the future.
>>
>>55813621
>implying you cant use javascript on the server-side
>>
>>55809006
Python's fine for beginners and basics, C++ for anything advanced
>>
>>55809015
>>55813023
/g/ pls, don't tell noobs to learn meme languages
>>
I hate these threads, just choose anything and start. The language isn't as important as learning the logic behind programming.
>>
File: rms.jpg (9KB, 138x200px) Image search: [Google]
rms.jpg
9KB, 138x200px
The most powerful programming language is Lisp. If you don't know Lisp (or its variant, Scheme), you don't know what it means for a programming language to be powerful and elegant. Once you learn Lisp, you will see what is lacking in most other languages.

Unlike most languages today, which are focused on defining specialized data types, Lisp provides a few data types which are general. Instead of defining specific types, you build structures from these types. Thus, rather than offering a way to define a list-of-this type and a list-of-that type, Lisp has one type of lists which can hold any sort of data.

Where other languages allow you to define a function to search a list-of-this, and sometimes a way to define a generic list-search function that you can instantiate for list-of-this, Lisp makes it easy to write a function that will search any list — and provides a range of such functions.

In addition, functions and expressions in Lisp are represented as data in a way that makes it easy to operate on them.

When you start a Lisp system, it enters a read-eval-print loop. Most other languages have nothing comparable to `read', nothing comparable to `eval', and nothing comparable to `print'. What gaping deficiencies!

Lisp is no harder to understand than other languages. So if you have never learned to program, and you want to start, start with Lisp. If you learn to edit with Emacs, you can learn Lisp by writing editing commands for Emacs. You can use the Introduction to Programming in Emacs Lisp to learn with: it is free as in freedom, and you can order printed copies from the FSF.

You can learn Scheme (and a lot of deep ideas about programming) from Structure and Interpretation of Computer Programs by Abelson and Sussman. That book is now free/libre although the printed copies do not say so.

Please don't buy books (or anything) from Amazon!
>>
>>55809006
FRACTRAN
https://en.m.wikipedia.org/wiki/FRACTRAN
>>
I want to start with c but I'm bad at math
>>
>>55809015
Don't use Ruby. It's plagued by SJW.
>>
>>55817449
Then study.
>>
>>55817527
What the fuck does that even mean?
>>
>>55817403
>https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html

reading now
>>
File: what_did_you_say.jpg (594KB, 1024x683px) Image search: [Google]
what_did_you_say.jpg
594KB, 1024x683px
Why do people think that they need to be good at math to program? The most math I've had to use was deciding how long and wide I wanted to make a menu in C++.

At best using math.h to create a calculator....

With the development tools in dot-net you can literally draw this sh*t. Twelve year olds use it!
>>
>>55818188
It means anyone who programs in it is probably a SJW, and anyone who hires you to program in it is DEFINITELY a SJW. Same problem with Rust.
>>
>>55809006
>>55817403
>>55809018
ITT: we post meme books.
If you want to go hardcore, learn assembly. http://www.artofasm.com/
>>
>>55809006
I started with Visual Basic but quickly moved on to Java once I knew the basics of variables and loops.

I still love Java. It is such a great language and framework for getting shit done.

Since then I have learnt and used the following languages as a professional developer

C, C++, Go, Clojure, JavaScript, C#, Lisp, Python and Objective-C. And I am currently learning Swift and Rust.

Java is still my favourite though. It isn't suited to everything but for most things I work on it is close to perfect.

The only negative for Java as a first language is that it is very OOP-oriented. This can be a bit of an overload on a newbie but it really isn't that hard. In general I will go with Java for any kind of serious program and usually Python if it is something small that can be done in 15-30 lines of code.

Python isn't a bad place to start either but I am not super fond of the way it does a lot of things. IMHO it is only really helpful for very small things.
>>
>>55818289
you need to be good at math to program *well*

algorithm optimization and statistical analysis
>>
Quick question: I'm learning Python right now and I love it because it all makes sense just wonderfully. Just one thing I didn't grasp so far and that's the parentheses just at the end, like in: "if something_something():" what purpose are they having there exactly?
>>
Java
>>
>>55819071
Are you calling a method?

There shouldnt be brackets there mate
>>
>>55819093
yeah if was wrong. should be "def something_something()"
Why the brackets? Pretty much all the other stuff makes sense to me but the brackets seem random.
>>
>>55819205
It's a function with no arguments, you need the brackets to distinguish between when you are calling the function or manipulating the function as an object.
>>
Depends on what you want to archive.
Python is not simpler or easier than C, in fact it is a MUCH more complex language. But, unlike C, you don't have to know much about python in order to just do something pretty (or even useful), whereas in C you do need to known the language well in order to use it.
Also, doing pretty or useful things in C is much more work. The language is very simple, it is strict, and libraries aren't as convenient to use as those in Python.
So, if you want to get deep into programming and CS in general, learn C. If you want to be able to program pretty/useful stuff and don't have too much interest in knowing more about CS and care about the practical aspects more than the theoretical ones, learn Python.
>>
>>55809006
Basic. Always start with Basic.
>>
>>55810240
This. You get c-like syntactics and programming basics. Otherwise try C. Or Python for dynamic typed - but for beginner, better get a hang on static typing.
>>55817403
[spoiler]Lisp. Just don't. Don't. Really. [/spoiler]
>>
Lisp for countless gay jokes.
>>
>>55810007
Guess what language 90% of the code your computer runs every day is written in.
>>
>>55820060
Haskell.
>>
>>55820060
Guess what language 90% of bank and insurance systems are written in.

Cobol, but that doesn't mean we should start creating systems using cobol.
>>
>>55820060
JavaScript
Thread posts: 53
Thread images: 5


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.