LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-07-2003, 12:30 PM   #31
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30

Oh! It all makes sense now. I thought it was some sort of insult.

Last edited by KptnKrill; 07-07-2003 at 12:32 PM.
 
Old 07-07-2003, 12:45 PM   #32
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
You could always try java. No recompiling for different systems.
 
Old 07-07-2003, 02:46 PM   #33
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
I've heard java was hard for newbs to learn. But it's eventually something that I want to learn. Most OO languages sorta scare me away. I've tried to learn programming before but gave up when I came to the OO stuff.

Last edited by KptnKrill; 07-07-2003 at 02:49 PM.
 
Old 07-07-2003, 02:59 PM   #34
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
Krill,

I can totally relate. OO was strange for me to grasp too.. coming from such a rigid linear approach, it took me a while to really get what OO was all about. But, I will tell you that java is one of the best teaching tools to really see how OO works, because the language was designed, ground up, as an OO language.

The trick is to start from the brainstorming phase in OO. If you try to design the concepts of the code as non OO, and then you'll just have to convert it down the road anyway... (=

Don't give up on OO! I know it's funky, but once you start getting your brain around the concept, you'll find yourself looking at future projects in a new way.
 
Old 07-07-2003, 03:06 PM   #35
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Well OOP was the reason I was asking about smalltalk earlier since everything is supposed to be an object. I was hoping that way it would force into using OOP. I'll give java a look over thought. So far the only programming language that I can say I've truely had no qualms is Qbasic. Stop laughing!
Although I'm probably gonna go with python. Alot of people have recommended it.
 
Old 07-07-2003, 03:25 PM   #36
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
I don't necessarily see any advantages to python, but I know alot of people do like it, though it's not good for teaching OOP. Java is really your best bet for learning good OO style. Of course, you're going to make more progress quickly with python than you will with java.. there are great tutorials online for both.

http://www.python.org/doc/2.2.3/tut/tut.html
http://www.smart2help.com/e-books/ti...ion/TIJ3_c.htm
 
Old 07-07-2003, 03:33 PM   #37
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Well which do you as a programmer think is more inportant, learning the language quickly (so as not to become bored and give up), or learning the language well?
 
Old 07-07-2003, 03:35 PM   #38
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Well, java is sort-of confusing. It is the first language I learned but I loved the learning curve. I really like this book Within about three days of starting to read it I was able to make a program that displayed moon equivelent of earth weight every 5 pounds and skipped a line every ten. Not very useful but it was cool.
 
Old 07-07-2003, 03:48 PM   #39
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
My first qbasic program converted C to F and F to C. So I know some programming already, but I want to learn a ¨real¨ programming language.
 
Old 07-07-2003, 03:58 PM   #40
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Personally I would say Python is better for learning OO programming than Java, because it doesn't force you to use an OO style right from the beginning. You can write some fairly complicated programs without understanding any of the language's OO features, and then gradually introduce yourself to them.

I think if you really want to see OO done right, you should go with Smalltalk (but of course there's less information on how to program in that language). Java's OO stuff has rather a lot of baggage from C++ which can make it a bit hard to get to grips with for a newbie.

Alex
 
Old 07-07-2003, 04:48 PM   #41
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
Krill:

As a programmer, I personally feel that learning a language well is more important than quickly learning. (I started out, though, many years ago with abasic, then basic, then qbasic, then C.. ) But, you should assess what type of person you are, and how you deal with subject matter that may or may not take some time to sink in. What do you want to gain? If you simply want work in the programming industry without any real desire as to what language it might be, then look for what will make money and is in demand, given the time necessary to learn it, and get school out from under you. If you want to learn for fun, then pick what will whet your programming appetite a little quicker, and then delve into the deeper subjects later. If you want to know a language inside and out, you can still choose a language like python that gives quick results, but just stick with it, and don't try a bunch of new languages once you feel like you know the language.. give it enough time to really become familiar.

---tangent---
Something that I think is important to point out, though, about the current level of service expected from programmers in the indutry, is the fact that you don't generally have time to learn all the little tricks and secrets. The industry is convoluted with money-minded companies who don't care how optimized the code is.. they simply want the product on the shelf. Many professional coders don't have the luxury of taking their time... this isn't to say they aren't good programmers.. they simply have to work in an industry that isn't forgiving to those who can't produce on a quick time table. Get it done or find a new job.
---/tangent---

That is what I personally think, though. For me, in-depth knowledge of one particular language is better than a little knowledge of several. IMHO, you will be a more effective programmer if you know the shortcuts and tricks to a language.

With respect, I disagree with llama's comment about learning the basics of python, and then learning the OO aspect of it, being better than java for learning OO. Java's whole purpose is OOP. Java was designed bottom up as an OOP language. Althoug the language is verbose, it teaches good style and technique, and IMHO really brings OOP into light. It's just too easy to forgo OOP in python, thereby teaching bad OO coding style.

Python will definitely, though, give you quick results and CAN teach OO, though I wouldn't personally recommend it as an OOP teacher.

But, I'm no expert on python, so.. take what I say with a grain of salt. (=
 
Old 07-07-2003, 05:28 PM   #42
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Okay... I'm getting mixed responses and it's getting confusing. I've thought about it and I have a fairly good idea of how to program without OOP when I use qbasic. I probably will try python eventually. Now I want to learn OOP. I want in on what it's all about . So I'm gonna learn a language built for OOP. Either Java or SmallTalk. SmallTalk doesn't seem to have as much documentation though. I'll probably pick up a copy of that book, darin3200.
 
Old 07-07-2003, 05:33 PM   #43
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Yeah I was just on amazon and from the sample pages that book looks great. Thanks darin3200!
 
Old 07-07-2003, 07:09 PM   #44
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Since the topic has moved in this direction i'd like to add a few minor things:

Personally, i never did basic or any of that, in fact i only started programming less than 2 years ago and i only got heavily into it in the last 6 months. I never liked computers in general while i was young, but then when i went to university it became fairly hard to do anything without it. So i got my first pc about 3 years ago. To keep this story short, i ended up switching from Engineering to premed to finally comp sci (all in the course of one year).
The language of choice was Java and while it was stated that it's an easy language to learn i personally (having ZERO experience) found it overwhelming. So i ended up not doing that well and changed schools.
The school i am at right now started off with C and while it was supposed to be harder language than Java in my peoples opinions, it was much easier for me to really get into it. Primarly because i was bugged down by OOP concepts and had the time to "catch up" to it.
In the end though i guess C is not that simple of a language and at first i had very long debugging sessions, but like all good things, eventually you learn from mistakes and most of my current code requires much less time to make it run.
Right now i am learning both C++ and Perl. Having spend sometime on C++, now that i look at Java, it DOES look simple.

So what's the point of the story? It depends on you, sometimes it's good to start with Java, other times it may not. So give it a try and if you notice that you are spending more time trying to understand what is going on than actually enjoying the language, think of learning a more procedural language first (that builds into OOP).
 
Old 07-07-2003, 07:52 PM   #45
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Well I thank you all your advice. And coolman0stress I'm going to start off with Java I feel that I will be able to understand. As for the Non-OOP procedural language before OOP I've coded some fairly large (atleast in my mind) in Qbasic. If I find Java too tough then I'll switch in Python.
And I thank you all who posted here for your advice/$.02.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
good language for beginners boxerboy Programming 24 10-27-2005 04:12 AM
What's a good Programming language to begin with? PLZ HELP! Jonescity Programming 24 07-30-2005 07:43 AM
Seeking for a good scripting language... Frank Programming 11 01-02-2004 10:35 PM
Good starting program Language newbie Fold Zandura Programming 10 12-06-2003 02:44 AM
A good app building language Chijtska Programming 14 02-15-2002 12:41 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration