Solved

Programming Languages

Posted on 2001-08-02
14
226 Views
Last Modified: 2010-04-21
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?
0
Comment
Question by:m_morgan
  • 9
  • 5
14 Comments
 
LVL 6

Expert Comment

by:graham_k
ID: 6344582
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
 

Author Comment

by:m_morgan
ID: 6345533
What's the difference between C and C++ besides not being object oriented? And what are your views on Kylix?
0
 
LVL 6

Expert Comment

by:graham_k
ID: 6347547
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
 
LVL 6

Expert Comment

by:graham_k
ID: 6347668
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
 

Author Comment

by:m_morgan
ID: 6347680
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
 

Author Comment

by:m_morgan
ID: 6347724
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
 
LVL 6

Accepted Solution

by:
graham_k earned 30 total points
ID: 6347965
@#*&^!!!!   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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:m_morgan
ID: 6348006
0
 

Author Comment

by:m_morgan
ID: 6348010
not many books on kylix, but delphi books should work right?
0
 

Author Comment

by:m_morgan
ID: 6348018
btw - what's the URL of your homepage?
0
 

Author Comment

by:m_morgan
ID: 6348024
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
 

Author Comment

by:m_morgan
ID: 6348034
aren't borland and linux great alternatives to M$!!!
0
 
LVL 6

Expert Comment

by:graham_k
ID: 6348184
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
 

Author Comment

by:m_morgan
ID: 6350162
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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now