| Author |
Message |
mrjay100 Novice Poster
Joined: 14 Oct 2007 Posts: 11
|
Posted: Tue Oct 16, 2007 8:09 pm Post subject: What is your favorite programming language |
|
|
My favorite programming language is undecided because i have only learned HTML and C++ in depth. HTML is awesome because there are so many customization options and it is very easy.And C++ only helps fix problems but i like that it is somewhat complicated when it comes all the math that needs to be put into it to fix problems and you actually have to know what your doing to use C++.
HTML site: http://freespace.virgin.net/r.cawley/
Basic Web Page
| Code: | <HTML>
<HEAD>
<TITLE>This is the title of your web page. It is displayed on the title bar of the browser.</TITLE>
</HEAD>
<BODY>
This is where you type anything that you want to appear on your Web page.
</BODY>
</HTML>
C++ site: http://www.cplusplus.com/
#include<iostream.h>
int main ()
{
int time; //hours it took to complete the trip
int distance; //distance of the trip in miles
//Get input from the user.
cout<<"How many hours did it take to complete the trip?";
cin>>time;
cout<<"How many miles was your trip?";
cin>>distance;
//Output
cout<<"You averaged "<<distance/time<<" miles per hour on the trip.";
return 0;
} |
_________________ Programmers
Do it better |
|
| Back to top |
|
| |
krt ...

Joined: 11 Jan 2005 Posts: 4709 Location: Down Under
|
Posted: Tue Oct 16, 2007 9:29 pm Post subject: |
|
|
| Quote: | | [...] and you actually have to know what your doing to use C++. |
Are you implying that you don't need to know what you are doing with HTML? Not that you should be overly concerned if you have that mentality, as many think the same and contribute to the majority of web sites which are coded poorly. |
|
| Back to top |
|
| |
exsanguination Forum Regular
Joined: 27 Apr 2005 Posts: 418 Location: Australia
|
Posted: Tue Oct 16, 2007 10:33 pm Post subject: |
|
|
Remember to put code/html snippets in code tags.
Also HTML - HyperText Markup Language - is not a programming language.
All languages have different strengths and weaknesses, there is no point getting attached to a specific language because utimately they are just tools to get a job done. |
|
| Back to top |
|
| |
ClickFanatic Est. 2005

Joined: 18 Jan 2005 Posts: 3980 Location: A particular geographic area
|
Posted: Wed Oct 17, 2007 7:41 am Post subject: |
|
|
My favourite programming language at the moment is PHP. Not that it is a particularly good language, but it's the one that I know best.
I hope to learn a nicer language in the future, though. My experiments with Ruby have been nice, so far.
Just for clarification, HTML is not a programming language.
It's very well suited for what it does, though. On the other hand, it is pretty much the only markup language available for the web. _________________ Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img] |
|
| Back to top |
|
| |
marinaroz Grey Scaled

Joined: 04 Mar 2004 Posts: 2836 Location: Israel
|
Posted: Wed Oct 17, 2007 10:30 am Post subject: |
|
|
I really like PHP, and I know a great deal of other languages from my B.SC studies.
What I like best about PHP is that it has pretty much everything you want in it. You don't need to start writing your own code for simple tasks. There are tons of premade string and array functions, and I just love that.
The language I hate most is Javascript. That pathetic excuse for a language sucks. Every browser just does its own thing. _________________ Tarakana NET |
|
| Back to top |
|
| |
LP-SolidRaven Dictator of the Dump

Joined: 06 Jun 2004 Posts: 7182 Location: The cheese is made out of moon
|
Posted: Wed Oct 17, 2007 10:31 am Post subject: Re: What is your favorite programming language |
|
|
| mrjay100 wrote: | My favorite programming language is undecided because i have only learned HTML and C++ in depth. HTML is awesome because there are so many customization options and it is very easy.And C++ only helps fix problems but i like that it is somewhat complicated when it comes all the math that needs to be put into it to fix problems and you actually have to know what your doing to use C++.
HTML site: http://freespace.virgin.net/r.cawley/
Basic Web Page
<HTML>
<HEAD>
<TITLE>This is the title of your web page. It is displayed on the title bar of the browser.</TITLE>
</HEAD>
<BODY>
This is where you type anything that you want to appear on your Web page.
</BODY>
</HTML>
C++ site: http://www.cplusplus.com/
#include<iostream.h>
int main ()
{
int time; //hours it took to complete the trip
int distance; //distance of the trip in miles
//Get input from the user.
cout<<"How many hours did it take to complete the trip?";
cin>>time;
cout<<"How many miles was your trip?";
cin>>distance;
//Output
cout<<"You averaged "<<distance/time<<" miles per hour on the trip.";
return 0;
} |
That HTML example you gave is unvalid 'crap'. HTML isn't a programming language as exsanguination said. Also the code tags are missing. C++ isn't "to solve problems", C++ is one of the most mature programing languages around and you clearly don't know it in depth judging from your example.
Anyway, my favorite would be C. For the simple reason that it's clean and just does what you want it to do (what seems to be a problem these days judging from languages like java).
2nd favorite would be PHP 4, simply cause it's not bloated with useless features and does the job on your way. You're not forced to follow any programming style what so ever. You can perfectly make your own choice.
3th would be Haskell; while it's syntax is somewhat strange at first it beats the crap out of most languages if it comes to producing fast applications (it outperforms java, ruby, python in pretty much everything for that matter, but it has real compilers so that kind a helps).
4th would be Perl, you just can't hate the good old camel  _________________
| Quote: |
<bart416> I just realized something
<bart416> we celebrate the fact that this piece of rock made one rotation around a glowing ball of plasma that is kept together due to its own gravity well
<njsg> HAPPY NEW YEAR
<Easter> ^^
|
|
|
| Back to top |
|
| |
LP-Harvey Forum Moderator
Joined: 23 Feb 2004 Posts: 3285
|
Posted: Wed Oct 17, 2007 10:53 am Post subject: |
|
|
I will forever have an affinity for LISP, a math programmer's first love.
But, as of now, I am thoroughly enjoying the VB.NET framework. I used to hate Visual Basic and everything it stood for, but once the .NET framework went mainstream, VB became very appealing. Especially for integration with clientside database software. (Note: PHP is still the greatest Internet implementation, but I'm talking about offline machines).
And, unlike most of LLP, I like Java. |
|
| Back to top |
|
| |
LP-SolidRaven Dictator of the Dump

Joined: 06 Jun 2004 Posts: 7182 Location: The cheese is made out of moon
|
Posted: Wed Oct 17, 2007 11:16 am Post subject: |
|
|
If you like LISP you should also like Haskell  _________________
| Quote: |
<bart416> I just realized something
<bart416> we celebrate the fact that this piece of rock made one rotation around a glowing ball of plasma that is kept together due to its own gravity well
<njsg> HAPPY NEW YEAR
<Easter> ^^
|
|
|
| Back to top |
|
| |
Necromis Lifeless on my Boat

Joined: 11 Apr 2005 Posts: 767 Location: USA
|
Posted: Wed Oct 17, 2007 1:16 pm Post subject: |
|
|
| So far I am best with VB. I already had self taught myself VBA when building some applications with Excel, and had intended to learn c#. However, VB was an easier step for me to teach myself. Though I still am far from fully functional with it. I have to get examples of code all the time to resolve issues. however, in the end my applications so far are working w/o too much in the way of issues. |
|
| Back to top |
|
| |
Rashy Lifeless Person
Joined: 25 Sep 2006 Posts: 680
|
Posted: Wed Oct 17, 2007 6:17 pm Post subject: |
|
|
APL anybody? Okay, so I can't program it myself, but this one guy did a demonstration of it during our calculus class one day and it was amazing.
And isn't PHP technically a scripting language?
I saw some stuff on Ruby and that looks pretty sweet too. _________________ Rashy! |
|
| Back to top |
|
| |
exsanguination Forum Regular
Joined: 27 Apr 2005 Posts: 418 Location: Australia
|
Posted: Wed Oct 17, 2007 8:07 pm Post subject: |
|
|
| Rashy wrote: | | And isn't PHP technically a scripting language? |
I find the whole distinguishing between "Scripting" and "programming" languages rather pedantic.
What is fundamentally different between PHP and C? Compilation/Interpretation is an implementation detail, not a language feature so I don't really agree with that argument.
My point is that if PHP is a scripting language because it is not compiled, and I write a compiler that takes PHP and generates native code, is PHP then transformed into a programming language? Technically nothing has changed in the language, just my implementation of it.
| LP-Harvey wrote: | | And, unlike most of LLP, I like Java. |
I don't mind java, its what I know best, but its still horribly verbose and some decisions have been less than great...generics implementation has a few problems - mostly that its a javac compiler hack that inserts casts (java 1.4 and lower style) and removes the type parameters from the class files...
Off topic, but its good that this topic has generated a little talk on the forums  |
|
| Back to top |
|
| |
ClickFanatic Est. 2005

Joined: 18 Jan 2005 Posts: 3980 Location: A particular geographic area
|
Posted: Thu Oct 18, 2007 7:59 am Post subject: |
|
|
| Rashy wrote: | | And isn't PHP technically a scripting language? |
A programming language is a language that is used for, well, programming.
PHP is a language used for programming, so it's a programming language.
However, since the language is usually interpreted, PHP is an interpreted programming language. Such a language is also known as a scripting language. Calling PHP a scripting language is more specific, but calling it a programming language is also correct. _________________ Captain Jell-O Buster from the Future
[img]http://feeds.feedburner.com/sparepencil.1.gif[/img] |
|
| Back to top |
|
| |
LP-Harvey Forum Moderator
Joined: 23 Feb 2004 Posts: 3285
|
Posted: Thu Oct 18, 2007 8:06 am Post subject: |
|
|
| exsanguination wrote: | | LP-Harvey wrote: | | And, unlike most of LLP, I like Java. |
I don't mind java, its what I know best, but its still horribly verbose and some decisions have been less than great...generics implementation has a few problems - mostly that its a javac compiler hack that inserts casts (java 1.4 and lower style) and removes the type parameters from the class files...
Off topic, but its good that this topic has generated a little talk on the forums  |
I think the main reason why I like Java is because how well it is able to conform to mobile applications.
For my senior project in college, my group created a Java based OS off of the JVM for mobile products (like cell phones, portable assistants, etc). And it ran beautifully.
People complain about resource hogging and speed, but I always maintain, Java was never meant for large applications. It was always meant for portable activities (as Java was originally created for kitchen appliances).
I don't know, there's an elegance in the language that I see that many people don't. |
|
| Back to top |
|
| |
LP-SolidRaven Dictator of the Dump

Joined: 06 Jun 2004 Posts: 7182 Location: The cheese is made out of moon
|
Posted: Thu Oct 18, 2007 1:22 pm Post subject: |
|
|
Elegance in making everything over complex?
Java is structure is a mess and the names of everything are too long. You also get absolutely no choice on your programming style in java. _________________
| Quote: |
<bart416> I just realized something
<bart416> we celebrate the fact that this piece of rock made one rotation around a glowing ball of plasma that is kept together due to its own gravity well
<njsg> HAPPY NEW YEAR
<Easter> ^^
|
|
|
| Back to top |
|
| |
LP-Harvey Forum Moderator
Joined: 23 Feb 2004 Posts: 3285
|
Posted: Thu Oct 18, 2007 1:59 pm Post subject: |
|
|
| SolidRaven wrote: | Elegance in making everything over complex?
Java is structure is a mess and the names of everything are too long. You also get absolutely no choice on your programming style in java. |
First off, complexity is in the eye of the beholder. I never understand why anyone calls it complex when I find it very simple. Keep in mind, Java was my foundation language. People's foundation language which is C or C++ will of course have a different opinion.
Also, you can argue having a uniform programming style makes module programing so much simpler. |
|
| Back to top |
|
| |
|
|
|