DEVILofDARKNESS Posted February 27, 2009 Share Posted February 27, 2009 Hi, I want to learn a new program language but I'm not sure what is the best choice. I already know PHP, and I was thinking of learning C# maybe it's actually better to learn first perl,java,C,C++ or dunno what else... In first place I want to design some windows applications, but it would be nice too to improve my webdesign skills (which are currently based on PHP,mysql & ofcourse html) Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/ Share on other sites More sharing options...
nrg_alpha Posted February 27, 2009 Share Posted February 27, 2009 Your question mirrors this thread. EDIT: By this, I mean that thread discusses C, C++, C#, etc... Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-772812 Share on other sites More sharing options...
genericnumber1 Posted February 28, 2009 Share Posted February 28, 2009 If you want to improve your web programming, I'd suggest learning Javascript (REAL Javascript). If you want to improve yourself overall as a programmer I'd suggest learning C or C++, they're quite different from PHP without being so different it's scary (see: Haskell, F#, Lisp) and they are both quite common (see: not Haskell, F#, Lisp). If you want to stick with high level languages, Java would be a good choice for cross platform programming or C#.NET is common for Windows programming. If you want to stick with web programming, but try a different type of web platform you could try Ruby on Rails, Django Python, Catalyst Perl (Or CGI, whatever), or Java Server Pages. (No one get upset with me that I put Rails, Python and Perl in the same list as JSP please). If you want to learn any of the above listed web platform languages though I'd suggest learning them alone before venturing into the web frameworks (eg. learn Ruby before learning Rails, or learn Python before learning Django). Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773078 Share on other sites More sharing options...
DEVILofDARKNESS Posted February 28, 2009 Author Share Posted February 28, 2009 I go to begin with C# and after probably Javascript. Although I will try to learn as many as possible Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773163 Share on other sites More sharing options...
Vermillion Posted March 1, 2009 Share Posted March 1, 2009 Personally, I would go around learning C++ before C#. Both are Object Oriented Programing languages, but C# is completely based on that, almost like Java. Though even before Java (which I have yet to learn) sounds like an awesome first choice. Personally it calls my attention for the simple reason that it has no Pointers ... Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773658 Share on other sites More sharing options...
DEVILofDARKNESS Posted March 1, 2009 Author Share Posted March 1, 2009 Alright, first C++ then, Is it possible to learn that even if you don't know anything about C? Wat actually can you make with C++? Is it to make websites, create applications,...? I can searsh it myself too, if nobody answers before I start to learn it. Thanks A lot! Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773673 Share on other sites More sharing options...
Daniel0 Posted March 1, 2009 Share Posted March 1, 2009 Wat actually can you make with C++? Is it to make websites, create applications,...? Theoretically speaking, you can create anything using any program. Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773683 Share on other sites More sharing options...
DEVILofDARKNESS Posted March 1, 2009 Author Share Posted March 1, 2009 yes, but what's the original meaning,? Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773779 Share on other sites More sharing options...
corbin Posted March 1, 2009 Share Posted March 1, 2009 As far as I know, there's not anything you can't do with C++ that you can do with another language. Once you get into lower level languages (some people might call it middle), there really isn't anything that can't be done; it's just a matter of how easily something can be done. The only language I can think of that has more capabilities than C++ is asm, and to actually do anything in asm would be a bitch. (One thing I've seen asm used for off the top of my head is that private methods/variables aren't honored in classes, so you can access anything you need to get at.) As for learning C before C++, I wouldn't bother. C++ pretty much was built on top of C, so if you learn C++ you'll essentially learn C too. So yeah, what can you make with C++? Like Daniel0 said, pretty much anything. I've made a CGI application before, and I've made some CLIs before. I've made a GUI before, but I'll be the first to tell you that I hate the Windows API and wish it would die a slow, difficult death ;p. (For that, I was coding for Windows with no care if it was portable or not.) Oh, when learning C++, make sure not to start with something super complex. When ever I first started messing with C++ (I still by no means know it), my original goal was to modify some other project. It was quite complex and not a very good learning experience. Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773800 Share on other sites More sharing options...
DEVILofDARKNESS Posted March 1, 2009 Author Share Posted March 1, 2009 Thanks for all your replies!, I know books are a better way to learn (although I think it is), but I'm needed to do it with online free tutorials, so it will possibly take a while... I can find a lot on my own, I already have a couple in mind, but if you know a site that explains it easy and good, you always may give the link . Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773858 Share on other sites More sharing options...
Daniel0 Posted March 1, 2009 Share Posted March 1, 2009 Try this one for C: http://publications.gbdirect.co.uk/c_book/ Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773869 Share on other sites More sharing options...
corbin Posted March 1, 2009 Share Posted March 1, 2009 Edit: Hrmmm.... Beaten by 6 minutes by Daniel. I should get distracted less easily. I think I shall go read his link now. When it comes down to it, different computer languages are really the same thing just wrapped in different syntax (well, some languages have limits, but I don't mean that sentence literally). It's really all about the logic, so once you figure out the basic syntax and the little quirks the language has, it's really just the logic from there. (But of course, I could be entirely wrong. I'm only decent at PHP and most people would probably consider me somewhere in between terrible and decent at C++.) For example, once I learned the syntax of PHP, it really became more a challenge of thinking about the best way to do something than actually knowing the language. Real world situations can't all be learned from a book, so in my opinion the best way to learn a language is to just do stuff with it. And, I don't think books offer anything that tutorials don't. Most books are just long tutorials. (Although books usually have a lot more examples, are consistent, cover things more in detail... ok so maybe books are better ;p.) http://www.google.com/search?q=c%2B%2B+tutorial&btnG=Google+Search&aq=f Just glanced through the first result, and it seems to explain things well. http://www.cplusplus.com/doc/tutorial/ I use that site sometimes for a reference when I can't remember which header a function is in or something. Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773877 Share on other sites More sharing options...
DEVILofDARKNESS Posted March 1, 2009 Author Share Posted March 1, 2009 I'm using the first google link , and that is exactly what corbin also said, maybe the link from daniel0 is better, but I already started... Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773909 Share on other sites More sharing options...
corbin Posted March 1, 2009 Share Posted March 1, 2009 The link from Daniel is definitely more in depth. Daniel's link was actually a quite interesting read (well, I read the history parts and skimmed through the rest). Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-773965 Share on other sites More sharing options...
genericnumber1 Posted March 2, 2009 Share Posted March 2, 2009 I know you said you don't want to get a book, but if you ever do decide to buy a book on C++ I'd recommend Stroustrup's Programming: Principles and Practice Using C++. It isn't aimed at teaching you C++, but to teach you the correct way to program, and you pick up C++ as you go... it's great for people new to desktop programming. I learned C++ through draft versions of this book a few semesters ago and it was a very good book then, it must be even better since he finally finalized it and got it published. Stroustrup does a great job of teaching C++ to newer programmers. I suppose since he's the language's founder, he's been able to simplify such a complicated language at first to keep from scaring off beginners. That said, this book certainly isn't a reference, although it does have one at the end. For a reference, I'd suggest the classic: The C++ Programming Language. TCPL isn't a book to read through unless you already know C++ quite well, but it makes a great reference once you know the language and want to learn the correct way to use C++. Conversely, if you want to learn a bit about C and what C++ built on, I'd suggest, in addition to reading a lot, supplementing your learning with . His lectures were so enjoyable and fun, I watched them even though I really didn't learn a ton from them. Quote Link to comment https://forums.phpfreaks.com/topic/147191-solved-programming-languages/#findComment-774303 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.