Question:
Programming Wich Language?
Andy G
2009-01-12 12:17:27 UTC
Ok im looking to get into programming. I want to make a basic text editor then maybe a game later in the future.

I know the basics of these langauges (if this helps)
HTML
CSS
Javascript
PHP

I want to get into programming like really bad.

Now what langauge should i learn? Pascal looks easy like really easy. C++ is like huge though and notepad++ is written in it. C# is good becouse it runs on windows. But my goal is to make it compatible with linux mac and windows.
Thank you in Advance
Seven answers:
Fudge
2009-01-12 15:12:09 UTC
Python would do u good for all these factors : It runs on any platform, cool, easy, and yet powerful



Download :

http://www.python.org/download/



Tutorials:

http://docs.python.org/tut/
jplatt39
2009-01-12 20:52:03 UTC
The advantage to learning Pascal, especially for something like this, is that while it was for a while popular among professional programmers, it was designed as a teaching language. It is still used to teach in many institutions, and when I wanted to answer a question someone asked yesterday, I was able to compile and run it using the documentation available on-line. It's been fifteen years since I had to do it for school. It is, like C, a procedural language. In fact, the concepts are very similar: the major difference is that C tends to use individual symbols and abbreviations (printf for PRINT Format) Pascal, which has a few of those also has a lot of keywords like procedure and function which are immediately readable.



An Object-oriented language is a good idea. Python might be nice. There is an on-line book called Dive Into Python which you can look up and which will help you understand the concepts of OOP behind C++ and Java, which is another good choice. If you really want to learn programming, you should learn more than one language of course. C# is precisely a problem because so much of it is tied so intimately to the Windows Operating System. While Apple has Object C I've seen programs for Linux and other Unix distros written in it (it was invented by Jobs's staff when they ran NeXT computers in the late eighties and early nineties. It was implemented using GCC which led to some nastiness, but GCC is what you use now that so much Mac OS X development happens with Object C. And in fact it was something like five to eight years as an orphaned language which has generated so much respect for it in the community). Microsoft insists you use Microsoft products to compile C# and if they ever choose to orphan it it is unlikely to work on anything. And they have orphaned a lot of products in the past. I won't say don't learn it but try to know at least one and preferably two or more other compiled languages first.
[ J ] a [ Y ]
2009-01-12 20:28:01 UTC
both JavaScript and PHP were based on the C language, so its probably best if you continue down that road of similar languages. Pascal is terrible. I worked with it a little, and its more or less a combination of Basic and C together. Its NEVER used for games. Ever. Dont bother learning it. There isnt anything Pascal can do that VB or C cant do, and they are more widely supported.



C++ is an excellent language for hardcore programming, but its very time consuming. If you have a team of developers working on a project, thats not so bad, but as an individual developer, unless you use as many classes and functions as possible, you're going to have to write a lot of code (thousands of lines) to make a fully functional application.



C# is based on the .NET framework and cant be ported to Linux or Mac until the .NET framework is (probably never, knowing Microsoft).



Java is cross platform by nature and thus can be ported to another operating system without even re-compilation. Perhaps you might want to look into that. I dont like Java myself though. I kept having issues and I noticed its very error prone.



I would probably say that C++ would be your best go. You have some programming experience already with PHP + JS and the syntax will be familiar.



www.gpwiki.org has great resources for almost all your languages.
Jeremy T
2009-01-12 20:27:57 UTC
I'd stick with javascript or php for the time being. Web development is huge. You can learn flash when you start wanting to make games.



Making a text editor seems a little pointless to me. You can learn some SQL to allow users to submit content to your website with PHP/SQL.



A browser is already a text editor so you can't really make one with php or javascript. If your really set on that as a goal i'd learn c, because its a very basic programming language and its nice to start from the ground up. C# would probably be an easier choice but i don't think you'd be able to get it to run on linux or mac.
ArtisanPC
2009-01-12 20:23:24 UTC
If you want to get into serious app programming across platforms, you want C++. Your PHP will help because the syntax is similar, and if you've run up against the limitations of PHP's OO model you'll be very happy with C's full implementation.
2009-01-12 20:22:46 UTC
If you want Linux, Mac and Windows compatibility, use Java. It's fairly easy to learn (at least compared to C++) and C# is based on it.
Seth M
2009-01-12 21:05:28 UTC
I would like try Perl or like Python.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...