Poll: ? You do not have permission to vote in this poll. |
|||
C | 17 | 56.67% | |
Python | 7 | 23.33% | |
Go | 6 | 20.00% | |
Total | 30 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Learning Go over C and Python - Programming On Unix
Users browsing this thread: 1 Guest(s)
|
|||
Hello, guys! Do you think it's worth choosing Go as first and only programming language when options like C and Python exist?
I really like the idea of learning C since like 95% of programs I use are written in it, it gives good foundations, simple and Unix-Way-ish. My main concern about C is that most books only teach the language itself, but not real world application of it. I really like the idea of learning Python since the rest of programs I use are written in it, has good modern literature and courses, simple (in another way). My main concern with Python is that it seem overly "bloated" and hand holding. Some books I looked through explain fundamental things in completely opposite way the others do. Is Go the middle ground of two? I see both camps really liking it as of ~2014, but recent comments are mostly negative like the developers gone wrong direction. Is it a promising language that is simple in both ways and Unix-Way-ish? |
|||
|
|||
Hey biwokeg,
welcome to the forums! I started with C, and have more or less sticked with it until now. I will quote [how to become a hacker](http://www.catb.org/esr/faqs/hacker-howto.html ): Quote:If you don't know any computer languages, I recommend starting with Python. It is cleanly designed, well documented, and relatively kind to beginners. Despite being a good first language, it is not just a toy; it is very powerful and flexible and well suited for large projects. I don't I should argue with esr, and I also think that if you are honest about wanting to learn programming, C and maybe also Go will follow. I would not worry too much about the first programming language, since languages are relatively easy to learn after one has understood the basic concepts of programming. I don't think they should be obscured by memory management by hand. One more source on this is [teach yourself programming in 10 years](http://www.norvig.com/21-days.html ): Quote:Several people have asked what programming language they should learn first. There is no one answer, but consider these points: I hope I could help you with this answer. |
|||
|
|||
Maybe learn pure logic and simple flowcharts first and then randomly pick one of the 3 to apply the theory into practice.
There are multiple mobile games available to help you learn the basic, which is very generic and encompasses any programming language. |
|||
|
|||
I write most of my projects in Python but I don't think that's a good option for beginners, sure it's easy but you wouldn't understand the basics of programming with it, this also applies to PHP and Javascript.
With C you will learn the "traditional" programming, you have to declare variables, allocate memory, learn the datatypes, structures, etc... In my case I started with Pascal some years ago, it's also a good starting point but I think C is the better language for beginners. |
|||
|
|||
pranomostro, links don't work for me, but I've got the idea. Thanks!
Edit: nevermind, didn't saw links have parens in them. venam, I've studied Boolean algebra, numeral systems stuff, and other basic things for CS state exam after school, however that was very brief (without how this data is represented by computer for example) and I barely remember anything. Odd fact is that it was 2012 and the only accepted PL for exercises was Pascal. strang3quark, I see, thank you. Think I'll learn Python with Lubanovic's Introducing Python just to be able to automate everyday stuff ASAP, and focus on C with foundations right after. Can you recommend some learning material to check after K&R and/or C Primer Plus? Or is it better to straight up start checking open source projects in your opinion? |
|||
|
|||
I am fairly traditional in that regard, read K&R, and if you're not tired of C after that, maybe also consider 21st century C (although I have only read parts of that). But I would go and search some nice open source project after learning C, reading code is fairly important.
|
|||
|
|||
The creators of Go - some of which were a part of the same team that "invented" (i.e. shamelessly copied) C - have (almost literally) stated in the past that Go basically exists because the guys of Google are too dumb for C/C++. Decide for yourself if you consider yourself to be too dumb for C.
Concerning Python: Python is great as a teaching language but it shows its bad design choices in real life development. Better safe than sorry. Don't. -- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
Alright, C it is. Thanks again, guys!
|
|||
|
|||
I think I read something like this from Rob Pike. Not literally "too dumb" of course: compilation becoming too complex (<code>#include "xxx.h"</code> bess, ...), other issues... Here another article: http://commandcenter.blogspot.fr/2012/06...-more.html |
|||
|
|||
Original Rob Pike quote (source):
Quote:The key point here is our programmers are Googlers, (...) [t]hey’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt. Not "too dumb", just "not capable of understanding good languages". Which is, well, quite the same, isn't it? -- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
|
|||
How the heck can these folks who have degrees/certifications in this mess and know crap tons more programming stuff than me, can't understand a simple language. Meanwhile lazy me got an F on a CS class and I got the gist of the language after reading K&R ONCE!
These guys are dumb.
github: https://github.com/mrmistah
|
|||
|
|||
That's why Google wants them.
-- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||