Miscellaneous > Programming & Networking
Which Language first?
voidmain:
quote:Originally posted by jtpenrod:
Actually, that's not true. Borland has a product called Kylix that's just like Delphi for linux. While Perl is pretty good, and well worth learning, its syntax tends to be a bit arcane. A better scripting language to learn with would be Python. The syntax is much clearer than Perl, and it's much easier to learn. Not only that, but it's also a full-featured language you can keep on using, not just something you learn on before moving onto something better.
--- End quote ---
What language is Kylix? Pascal? Or is it nothing more than an IDE for C? If it's another language, is it portable? If it is not I certainly wouldn't recommend it. I still say C is the way to go.
I also disagree with the Python/Perl thing. I don't believe Python is easier to learn than Perl, in fact I would say it is more difficult. I would also say that Python isn't nearly as widely used accross all platforms. I stand by my Perl suggestion.
the_black_angel:
Perl is starting to show its age - if you want to do a largish program (3-400 lines) which would you choose perl or python? i would use python, perl i find gets too cumbersome if you go above 175-200 lines. Its catch fraze was many way to do the same(or something along those lines ) i find this too confusing.
Then again i'm probibly biased as all hell as it is the first language i learnt and am most familiar/comfortable with.
lazygamer:
Hypothethical question, if someone transplanted/modified/contiuned the TP language and made it capable of doing oldsk00l text mode stuff or being a cross platform power house that can DIRECTLY interact with macOS, Linux, Wind0ze etc.
Would that rock the house more then C ever would/did? I question whether C is only here because of luck rather then quality. Which is like Microsoft, here because of luck rather then quality. Ok it's true that C is much better then Wind0ze ever was, but im biased...
voidmain:
No, C is not here by accident. C is a lower level language than Pascal. It is not as strongly typed as Pascal. Because of that they each have their pros and cons.
The guy who created 'C' is also a major player in the development of UNIX. See the history of C here:
http://cm.bell-labs.com/cm/cs/who/dmr/chist.html
I started on Pascal as I said, but C is an integral part of UNIX (and other OSs). It is powerful, fast, compact. I don't believe it is any harder to learn than Pascal and they are somewhat similar languages. I can't imagine why anyone would want to replace C with Pascal. I can tell you it would never happen. In fact I know of many applications that were originally written in Pascal later converted to C. I don't know of any cases where someone ported a C program to Pascal, other than for learning purposes.
[ July 31, 2002: Message edited by: VoidMain ]
voidmain:
quote:Originally posted by the_black_angel:
Perl is starting to show its age - if you want to do a largish program (3-400 lines) which would you choose perl or python? i would use python, perl i find gets too cumbersome if you go above 175-200 lines. Its catch fraze was many way to do the same(or something along those lines ) i find this too confusing.
Then again i'm probibly biased as all hell as it is the first language i learnt and am most familiar/comfortable with.
--- End quote ---
I regularly write 1000-5000 line Perl scripts. I can see it would be a pain if you don't follow good programming practices. But if you use subroutines and functions like you do in any other language and use local/global variables properly like in any other language then it could be a pain.
Now, the kinds of things I usually write are system and web scripts that usually don't require more than about 1000 lines. If I am going to write such a major program I probably wouldn't do it in either Perl or Python but go for C/C++.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version