SupaRice Posted September 4, 2008 Share Posted September 4, 2008 So I'm wanting to jump into coding, and I want to learn a somewhat easy language that will allow me to create apps that can be easily deployed on any platform. So I'm thinking about Java. Opinions? Places to start, or good sites to look at? (I took programming back in college, for COBOL, C, PASCAL, etc.. But that's been a while ;) ) Quote Link to comment Share on other sites More sharing options...
eman7613 Posted September 5, 2008 Share Posted September 5, 2008 if you want to make stuff that has a GUI and run on multiple platforms then pritch much java is your bet. GTK+ and the like can become a bi** to get working everywhere . i like java, its got a big library so i dont have to fiddle with stupid crap, if i want a hasmap i use one, dont got to go snooping around for one or make my own. I also preffer the syntax, but thats a personal thing. you may like c++ b/c of your past with c, but again anything with a GUI is going to get anoying fast (not to say Swing dosent have its own caveats, but its not system dependent). one of the complaints about java is that jar's arnt exes and confuse people. but on windows there is jSmooth and on Mac there is jarbundler to make them look and act just like a native app. And on linux, well, the linux user know wtf a jar is. Sun has some very excelent tutorials that you can get here http://farm1.static.flickr.com/75/19678631...pg?v=1202592616 and they even have their own recomendations here http://java.sun.com/docs/books/tutorial/ maybe not as good for learning, but great for looking things up that have you stumped and getting awsome examplea and explanations and details http://mindprod.com/jgloss/jgloss.html Quote Link to comment Share on other sites More sharing options...
SupaRice Posted September 7, 2008 Author Share Posted September 7, 2008 Sweet, thanks for the post! I've got a project in mind already. It's a bit of a lofty goal for a n00b like myself, but it's always been easier for me to learn by doing. Quote Link to comment Share on other sites More sharing options...
adamzap Posted September 9, 2008 Share Posted September 9, 2008 Have you considered Python? What project do you have in mind? (If you don't mind sharing) Quote Link to comment Share on other sites More sharing options...
SupaRice Posted September 10, 2008 Author Share Posted September 10, 2008 Just want to learn how to write code for my own purposes. Mostly to automate things when I need to, and maybe create an app or two here and there. Quote Link to comment Share on other sites More sharing options...
adamzap Posted September 10, 2008 Share Posted September 10, 2008 I'd suggest diving in with any language (though I recommend Python) Think of some simple tasks to manipulate your filesystem or maybe catalog your music (or automate things like you said). Simple projects like these will teach you many core programming concepts, and you will be able to continually build on them to make them better and more useful. A quick search revealed this free online book for learning programming with Python: http://www.freenetpages.co.uk/hp/alan.gauld/ Quote Link to comment Share on other sites More sharing options...
Esqulax Posted September 11, 2008 Share Posted September 11, 2008 a Language war can sometimes be as long, and pointless as an OS war. I started on Pascal, then C++ then Java. I know people who just did Java. S'up to yourself, but the most widely used OO ones are Java and C++. Currently theres high demand for .Net devlopers, but a fair few people in communities like this are anti microsoft. Python and Perl, from what i understand, are fairly easy to pick up (although ive never done them myself) Could go Waaay leftfeild and do Ruby on Rails :P Quote Link to comment Share on other sites More sharing options...
dr0p Posted September 11, 2008 Share Posted September 11, 2008 Java is nice (multiplatform, easy GUI, etc.), but it's really slow. I'd recommend learning Python or Perl because they're really really easy to pick up on and also pretty powerful; also they have an advantage being interpreted languages so you don't need to re-compile your code every time you make a petty change. Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted September 11, 2008 Share Posted September 11, 2008 If you use Windows, and just want to code applications for yourself go with C#. C# allows you to create powerful applications very quick. It's simple to pick up and easy to use, and MSDN has documentation for everything. Quote Link to comment Share on other sites More sharing options...
digip Posted September 11, 2008 Share Posted September 11, 2008 If you use Windows, and just want to code applications for yourself go with C#. C# allows you to create powerful applications very quick. It's simple to pick up and easy to use, and MSDN has documentation for everything. And it can be used on more than just windows, so people using it on *nix can learn it too through http://en.wikipedia.org/wiki/DotGNU and http://en.wikipedia.org/wiki/Mono_(software) Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted September 11, 2008 Share Posted September 11, 2008 And it can be used on more than just windows, so people using it on *nix can learn it too through http://en.wikipedia.org/wiki/DotGNU and http://en.wikipedia.org/wiki/Mono_(software) Mono is far behind .NET 3.5 and I don't class Mono as the platform to learn C# on. If Mono were up to .NET 3.5 full standards things would be different. Quote Link to comment Share on other sites More sharing options...
Swathe Posted September 12, 2008 Share Posted September 12, 2008 From programmers I know they recommend Python but that's their opinion and I'm certainly not in a position to advise lol Quote Link to comment Share on other sites More sharing options...
JJB Posted September 16, 2008 Share Posted September 16, 2008 Im a python coder, its a great language, beginner or not, it takes very little time to code (simple, no compile needed), and there is a module for almost everything, from OCR to hashing algos. Great tuts on the python site as well. Quote Link to comment Share on other sites More sharing options...
eman7613 Posted September 17, 2008 Share Posted September 17, 2008 @dr0p, java is not quite interpreted* any more, and hasn't been slow since 1.4 and its been on par for speed with gcc since 1.5, with exceptions were gcc overtakes java and java sometimes overtakes gcc see - http://www.stefankrause.net/wp/?p=9 @discusion about c# C# is very similar to java but lacks the any platform part, especially when it comes to GUI stuff (everything pales to java on that regard, though java does have its problems with it for sure). yes there is a nix version, i have no clue why :P (j/k but thats more trouble then its worth for someone who is just learning). python is also very easy, but again if you want to make stuff with a GUI your sol, python will go from crosplatform to tied down to a specific platform fast. (w/ the exception of teh GTK, but thats still a bit complicated and requires it be installed on the windows machine and then no OSX unless they go get a buggy diffrent project and so forth, just not worth it) Quote Link to comment Share on other sites More sharing options...
adamzap Posted September 17, 2008 Share Posted September 17, 2008 python is also very easy, but again if you want to make stuff with a GUI your sol, python will go from crosplatform to tied down to a specific platform fast. (w/ the exception of teh GTK, but thats still a bit complicated and requires it be installed on the windows machine and then no OSX unless they go get a buggy diffrent project and so forth, just not worth it) What about wxPython and Tkinter? They both come with python and run on Mac/Linux/Windows... http://en.wikipedia.org/wiki/WxPython http://wiki.python.org/moin/TkInter Quote Link to comment Share on other sites More sharing options...
eman7613 Posted September 18, 2008 Share Posted September 18, 2008 both still require that the libraries already be installed, if not you now have to package the libraries (multiple megs) with your python code (probably only a few hundred kb tops). And you cant just give that to any of your friends, in a single file, so you get stuck either telling them to drag n drop a 10+ mb folder for a tiny program, or your making 2-4 mb separate packages for each one, which is still an ugly hassle. Quote Link to comment Share on other sites More sharing options...
adamzap Posted September 21, 2008 Share Posted September 21, 2008 both still require that the libraries already be installed, if not you now have to package the libraries (multiple megs) with your python code (probably only a few hundred kb tops). And you cant just give that to any of your friends, in a single file, so you get stuck either telling them to drag n drop a 10+ mb folder for a tiny program, or your making 2-4 mb separate packages for each one, which is still an ugly hassle. From my understanding, if you have Python, you have Tkinter. If you must package your Python app, you can use great tools like py2exe and py2app. In my opinion, the time you will save and the code readability you will achieve is well worth the other party dealing with a larger file (in the case that external modules must be included). ;) Quote Link to comment Share on other sites More sharing options...
JJB Posted September 21, 2008 Share Posted September 21, 2008 Ive never seen a python distro that doesnt come with tkinter.... And its pretty much the same for all languages really, for java you need the java runtime environment installed. Quote Link to comment Share on other sites More sharing options...
adamzap Posted September 22, 2008 Share Posted September 22, 2008 Yeah, what's really important is that you find language in which you can efficiently translate your ideas into working code. That's all that really matters :) Quote Link to comment Share on other sites More sharing options...
Bai Shen Posted September 23, 2008 Share Posted September 23, 2008 I like Java, but then I'm biased 'cause I get paid to code in it. :) Quote Link to comment Share on other sites More sharing options...
CrashandDie Posted September 23, 2008 Share Posted September 23, 2008 Yeah, what's really important is that you find language in which you can efficiently translate your ideas into working code. That's all that really matters :) You should be able to always translate your code into pseudocode. Being able to model your ideas before coding is very important. Once you understand that, you don't care about the language you're coding in. You should code in a language that is adapted to what you want to do. Don't use PHP+GTK to create standalone applications. Don't use Python to create very intensive math applications. Etc, etc. Each language has its specifics, choose your language based on those. Quote Link to comment Share on other sites More sharing options...
adamzap Posted September 23, 2008 Share Posted September 23, 2008 A lot of people call Python executable pseudocode ;) Don't use Python to create very intensive math applications. ? Quote Link to comment Share on other sites More sharing options...
RogueHart Posted September 25, 2008 Share Posted September 25, 2008 well at http://see.stanford.edu you can take the programming methodology course which is java for free. that was reason enough for me to pick it up. Quote Link to comment Share on other sites More sharing options...
eman7613 Posted September 28, 2008 Share Posted September 28, 2008 @adamzap yes Tk is part of python, but most people dont have python installed, so your still giving them large multimeg files just for one small program. Most people have java you dont use python for math b/c its an interprited language, and it simply can not reach the performance of java or c. Quote Link to comment Share on other sites More sharing options...
bbq Posted September 28, 2008 Share Posted September 28, 2008 I was not a fan of java whilst learning it, however once i delved into c and c++ with all the plethora of data structures and memory management issues... Java really became a programmers dream by compariso... Although cpp is a lot more powerful, java has more than enough to complete most application requirements. Quote Link to comment 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.