Link to home
Start Free TrialLog in
Avatar of m_morgan
m_morgan

asked on

Programming Languages

Hi,
I migraed from windows to linux a few months ago and I getting interested in Linux development. I currently know: C++, Java, HTML, Perl (just learning it now), and a few other scripting languages. Would you reccomend learning any other languages or am I set? I've heard some reccomend PHP and C. What so you think?
Avatar of graham_k
graham_k

I think that you are set.

Some purists still write C because C++ wasn't really portable until recently & there's still a lot of it around.  You won't go wrong with C++, though.

Perl is godd for scripting.

PHP is interesting. I am currently playing with it, just to learn something. I like the idea of dynamically generating HTML pages.


What are your aims, though? If you want to develop applications, then C ort C++. These are portable enough, so long as you have no GUI. If you have a GUI, use Java.  Quick & dirty one ofs or time savers would be good in Perl (no insult to Perl).  HTML,  PHP & JAvaScript for web pages.
Avatar of m_morgan

ASKER

What's the difference between C and C++ besides not being object oriented? And what are your views on Kylix?
c vs C++   Weeeell,   there's OO of course, which is the #1.  Next for me is the standard template library & ability to make your own template classes.  The i/o is totally redone with the new i/o streams.  Since you know C++, I would say that C is a subset, since C++ is desgined to be backwards comaptible.  I'm sure that there are other diffs, but not so major.

A google search for "c versus c++" trurned up a bunch of pages which might interest you. See http://www.google.co.uk/search?q=c+versus+c%2B%2B&hl=en&meta=

Kylix? 1) Unjustifiably expensive (if Broland made it chepaer, it would really set Linux afire & harm MS, which is what Borland want ;-)   2) pity it's not C++ (I use Borland C++ Builder under Windoze)   3) just think of thousands of freeware VCL components which are already available  4) no competition under Linux, so a must have.

Take my tip & don't pay $999 (as if you would) to Borland. Check out eBay (or use www.auctionwatch.com, which is a meta auction search site). I got mine for just under $200 from a chap who was given it or won it in a draw at a trade show & didn't want it. I can't find anywhere that Borland offer a student discount, so auction seems to be the only way to go.

If you can't afford Kylix or don't want to code OO Pascal, but need to develop GUI apps under Linux, use Glade.  See http://glade.pn.org/ 

see also http://www.linuxapps.com/?page=category&category=devel
there is a discussion on the differences between C & C++ going on https://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20162564  you might want to follow that.
There is an open edition of Kylix being offer for free for Borland. It links against some library that requires the programs to be GPL and opensource. Is it worth learning Kylix? Is Kylix Borland's implementation of Pascal? How does Pascal differ from C++ in terms of ease of use and application preformance.

Answer these wuestions and I will accept your answer.

(Thanks for the C vs C++ stuff) - are you saying that learning C isn't worth it if I know C++?
C++: I never got Bjarne Stroustrup's book "The C++ Programming Language"

Would it be appropriate to get this book even after learning C++? Is this considered a tutorial or a referance book?
ASKER CERTIFIED SOLUTION
Avatar of graham_k
graham_k

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
not many books on kylix, but delphi books should work right?
btw - what's the URL of your homepage?
summary:

*Get Stroustrup's book for reference
*Pick up a copy of Kylix Open Edition
*Don't bother with C, I know most of it already
*Kylix and Delphi code will work interchangably
*Kylix is Borland's implementation of OO Pascal

When you say "the C++ version" do you mean C++ Builder, or what?
aren't borland and linux great alternatives to M$!!!
thanks for the Kylix links

> not many books on kylix, but delphi books should work right?
yes, except for the OS specific stuff.

*Get Stroustrup's book for reference  - if it's not a financial hardship. You may not learn more "how", but will learn more "why"
*Pick up a copy of Kylix Open Edition - for sure; though it will be a *big* download. Keep an eye open at newsagents, in case it makes a cover CD to a magazine. Otoh, maybe look at eBay. I buy my Linux there for $10. Sone guy D/Led it then salls vopies (could do this yourself with Linux & make money).
*Don't bother with C, I know most of it already - you know all of it already.
*Kylix and Delphi code will work interchangably - yes, except for operating system spcific stuff. Look at Delphi sites & check out Delphi & C++ Builder VCL components.
*Kylix is Borland's implementation of OO Pascal - yes. ( I don't think that there is an 'offical' OO PAScal)

> When you say "the C++ version" do you mean C++ Builder, or what?
Delphi --> Kylix
C++ Builder --> I'm still waiting

> aren't borland and linux great alternatives to M$!!!  
Yes, but it's not just MS bashing. I often use MS VC++ at work & could rip it off & use at home, but I prefer to pay for C++ Builder as I consider it to be superior.
yeah VC++6 was my first IDE it was only $20. But I like Borland and Linux beter now. Thanks for all your help!