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?
m_morganAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
graham_kConnect With a Mentor Commented:
@#*&^!!!!   and I just paid $200!!! All of my stuff is GPL anyway.   Wow, this really could be a great psuh for Linux (and a great blow to M$).  Do you have a URL from this open Kylix? I'd like to add a link from my homepage.

Yes, if you want to do anything with a serious GUI, you should get it (can't wait for the C++ version, though).   Don't forget all those freeware VCL components from Windows, which can be reused.

Kylix is Borland's OO Pascal.  Pacal was orinigally designed as a teaching language. They gave us it at university (long, long ago), before exposing us to C.  You will find it easy enough to learn. Itwill be slightly easier to code if one doesn't know either language. Since you knwo C++ it may seem a little strange at first.  SInce both compile, there is unlikely to be any notciable difference in execution or even applciation size.

If you know C++, you know C.  You just don't know which parts of C++ are C.  If you want to code C, or need to - go ahead. But you can do everything which you can do in C just fine in C++ - and more.  I eprsonally wouldn't bother. You will still be able to read any C code which you encounter.

Stroustrup is heavy going. There are many, imho, better books for learning C++. Since you already know it, you could use it as a refernce. After all, he is the father of the language. One thing that you can only get from him is *why* some things are how they are in C++. He discusses it in the book, including why he threw some things out.

If Klyix is free, why not try it out? There are tons of Delphi (the windows version, but same OO PAscal programming language) sites & some Kylix ones showing up.
0
 
graham_kCommented:
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.
0
 
m_morganAuthor Commented:
What's the difference between C and C++ besides not being object oriented? And what are your views on Kylix?
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
graham_kCommented:
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
0
 
graham_kCommented:
there is a discussion on the differences between C & C++ going on http://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20162564  you might want to follow that.
0
 
m_morganAuthor Commented:
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++?
0
 
m_morganAuthor Commented:
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?
0
 
m_morganAuthor Commented:
0
 
m_morganAuthor Commented:
not many books on kylix, but delphi books should work right?
0
 
m_morganAuthor Commented:
btw - what's the URL of your homepage?
0
 
m_morganAuthor Commented:
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?
0
 
m_morganAuthor Commented:
aren't borland and linux great alternatives to M$!!!
0
 
graham_kCommented:
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.
0
 
m_morganAuthor Commented:
yeah VC++6 was my first IDE it was only $20. But I like Borland and Linux beter now. Thanks for all your help!
0
All Courses

From novice to tech pro — start learning today.