Go to the menu - Go to the contents

[Site map] You are here --- > Newbies Paradise > Forums > Newbies Community > General Discussion > Your favorite programming language > Read the topic

Your favorite programming language

You have to be registered to post messages

Page 1  2  Next
Author Message
1 visitor on this topic (1 anonymous user)
Page 1  2  Next
Offline Delroth # Posted on 01/16/2008 11:18:34 PM
Group : Members
Hello, World ! :)

I created this topic in order to know which programming languages the NP members practise, because it is one of the most important thing on this kind of websites (general help about computer and programming).

Moreover, this topic could be a good place to explain the pros and cons of each programming language, and help the other members to discover languages they would like to write programs in. But this topic should not fall into a huge troll (like PHP vs RoR, Python vs Ruby, imperative vs functional, ...).

Here is an example of a message that should be posted in this topic (and which also gives my opinion ;) ) :

My favourite programming language is Python, as it gives access to most of the libraries currently used when programming language, has a really simple syntax which is also very complete (with things like list comprehensions, slices or ternary operator). A joke even says "Python is like pseudo-code correctly indented" :D .
Even if I find Python is an ideal language for programming scripts or even websites (by the use of frameworks like Django or Turbogears, which are as complete as Ruby on Rails for those who knows this Ruby framework ;) ), it has cons too : for example, as it is an interpreted language, it may be slow in some situations (like heavy computing on lists/arrays), but modules exists to speed up Python (like NumPy or Psyco). Another problem is that the language evolution is often decided by only one person, Guido Van Rossum, which is the historical language creator. And I don't always agree with his ideas about Python future :whistle: .

The Python "Hello, World !" code looks like that :
Code: Python - Show / hide line numbering
  1. print "Hello, World !" # Hard to write that in an easier way :D


Another thing, if someone launches a troll here, please don't feed the troll ;) .
Edited on 01/16/2008 11:28:16 PM by Delroth
Offline speedking # Posted on 01/17/2008 12:18:16 AM
I saw an Angel ...
Avatar
Moderators
I mostly code in C++, because It's kinda the main language they teach us at uni ^^
As most geeks nowadays, I can code in PHP, xHTML/CSS/ Etc...
I'd say i've got a pretty good knowledge of all those languages.

cout << "Hello world !";

=)

User image
 
Offline needforspeed # Posted on 01/17/2008 07:57:56 PM
Avatar
Group : Members
Me I code in PHP, xHTML, CSS and MySQL. I want to learn Javascript but I have no time for this :( .

Code: PHP - Show / hide line numbering
  1. <?php echo 'Hello World !'; ?>


^^
Offline Delroth # Posted on 01/17/2008 08:05:00 PM
Group : Members
Quote: speedking
I mostly code in C++, because It's kinda the main language they teach us at uni ^^
As most geeks nowadays, I can code in PHP, xHTML/CSS/ Etc...
I'd say i've got a pretty good knowledge of all those languages.

cout << "Hello world !";

=)

Hem... the right code would be this one :
Code: C++ - Show / hide line numbering
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     cout << "Hello world !" << endl;
  8.     return 0; // EDIT: forgot the ; :-'
  9. }

It is longer and harder than PHP or Python codes ;) . For PHP, you should also add a final '\n' to have exactly the same behaviour as the Python "print" statement.
Edited on 01/17/2008 08:05:53 PM by Delroth
Offline yabberyabber # Posted on 01/18/2008 02:12:33 AM
i found pink mold in my trash
Avatar
Group : Members
i started learning c++, but then my book got eaten (long story...)so i decided to learn Php, but i keep accidentally writing c++ commands... like my brain doesn't want me to learn it or something...

Code: C#
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
using System;
 
class myveryfirstprogram
{
    static void Main()
    {
        Console.WriteLine("but i got sucked into c# quite recently and i love it!");
        Console.ReadLine();
    }
}


Code: C++
1
2
3
4
5
6
7
8
9
#include <iostream>
using namespace std;
int main
{
cout << "<strike>but c++ is still more useful to me (because i know it better)</strike> \n"
"lol, i suck at C now... (and i used line-through in a cout command...)";
system("PAUSE")
return 0;
}
Edited on 06/27/2008 08:37:35 PM by yabberyabber

i need a french pen pal to show my fiend I'm cool
User image
 
Offline alex.css # Posted on 01/26/2008 04:42:12 PM
Trust nobody, do it yourself !
Avatar
Group : Members
I mainly code under PHP and MySQL. I don't think that CSS and xHTML are programming language, but I use them every days or so.

I also code Ruby, wich is my favourites programming language :)

Code: Ruby - Show / hide line numbering
  1. print "Hello world !\n"
Edited on 01/26/2008 04:43:02 PM by alex.css
 
Offline Souleater # Posted on 01/26/2008 08:34:59 PM
Life is life, nana nanana **
Avatar
Moderators
C# .Net Lover :D
Code: C# - Show / hide line numbering
  1. public static void Main(string[] args)
  2. {
  3.         Console.WriteLine("Hello World!");
  4. }

Offline noob4ever # Posted on 01/26/2008 09:59:00 PM
I'm French ^^
Group : Members
Quote: Souleater
C# .Net Lover :D
Code: C# - Show / hide line numbering
  1. public static void Main(string[] args)
  2. {
  3.         Console.WriteLine("Hello World!");
  4. }



it's my favorite language too :)

more correct :

Code: C# - Show / hide line numbering
  1. using System;
  2.  
  3. namespace Application
  4. {
  5.     class EntryPoint
  6.     {
  7.         public static void Main ()
  8.         {
  9.             Console.Out.WriteLine("Hello World!");
  10.  
  11.             return;
  12.         }
  13.     }
  14. }

What did C:/DARTHVADER said to C:/DARTHVADER/LUKESKYWALKER ?

I'm your folder
 
Offline chindit # Posted on 02/14/2008 11:34:03 PM
Group : Members
I prefer PHP

Code: PHP - Show / hide line numbering
  1. <?php
  2. $avis='I love PHP';
  3. if(isset($avis){
  4.    echo $avis;
  5. }
  6. ?>
Offline Kajuzbonuz # Posted on 02/15/2008 07:05:21 PM
Group : Members
Hello,

I cannot say I have a preference, because I only know one language (When I say "know", I mean being able to programme and have a result, not just knowing basics, else I could have added a few things): PHP

For me, a good programming language is a simple and powerfull language. ;)
Offline Leo # Posted on 04/03/2008 10:19:53 PM
Avatar
Group : Members
The one I love better is really PHP because it's quite easy compared to C ^^ I really like it, because even if I'd love to master C and C++ as I'm fond of computers, it becomes hards... I'll start again later :)

User image
<a href="http://sunnypix.free.fr/index.php">Sunnypix</a>
<?php echo "Website showing travel pictures"; ?>
printf("Go to my website !");

==> Sunnypix :sun:
 
Offline zancdar # Posted on 06/26/2008 03:12:36 AM
Group : Members
Quote: Leo
The one I love better is really PHP because it's quite easy compared to C ^^ I really like it, because even if I'd love to master C and C++ as I'm fond of computers, it becomes hards... I'll start again later :)


C and PHP are quite different :-' .
My favorite programming language is C++, then I'm a beginner but with about 1 hour on emacs per days we can get experience quickly.

This is my sexy hello world :
Code: C++
1
2
3
4
5
6
#include <iostream>

int main(int argc, char *argv[]) {
    std::cout << "Hello world" << std::endl;
    return EXIT_SUCCESS;
}


But delroth... I think we can trolling talking about our favorite text editor :D
Offline Leo # Posted on 06/26/2008 04:24:16 PM
Avatar
Group : Members
I've started C++, and it's quite easier than C ^^ I like it best now ^^

User image
<a href="http://sunnypix.free.fr/index.php">Sunnypix</a>
<?php echo "Website showing travel pictures"; ?>
printf("Go to my website !");

==> Sunnypix :sun:
 
Offline Octave_41 # Posted on 06/26/2008 06:25:07 PM
True lover of CNN & BBC World
Avatar
Group : Members
I like C. I'm starting to learn C++ but it looks hard :'(

Holidays !!!!!!!!!!!!!!!

Are you read to play poker ?
Check with my program (still being translated in English )
 
Offline Leo # Posted on 06/27/2008 11:49:03 AM
Avatar
Group : Members
What ? Once you know C very well (which is not my case ^^ ), C++ is much easier !

User image
<a href="http://sunnypix.free.fr/index.php">Sunnypix</a>
<?php echo "Website showing travel pictures"; ?>
printf("Go to my website !");

==> Sunnypix :sun:
 
Offline surgency # Posted on 06/30/2008 09:27:16 AM
Group : Members
i like C# the most. i only know 3 languages, if you dont count the small parts of javascript or php that i know.
so c# wins the race for me

User image
 
Offline Octave_41 # Posted on 06/30/2008 05:46:51 PM
True lover of CNN & BBC World
Avatar
Group : Members
Quote: Leo
What ? Once you know C very well (which is not my case ^^ ), C++ is much easier !


Do you think ? But if you want to learn C++, you ought to know C. C++ is much like C but C++ is just more powerful than C.

I'm currently learning C (SDL). I have made a funny program but it is still being translated in English.

I prefer C.

Holidays !!!!!!!!!!!!!!!

Are you read to play poker ?
Check with my program (still being translated in English )
 
Offline Leo # Posted on 06/30/2008 05:59:35 PM
Avatar
Group : Members
If you start reading the C++ course (on the Sdz, sorry for English-speaking people), you'll understand very quickly why I am saying this ;)

User image
<a href="http://sunnypix.free.fr/index.php">Sunnypix</a>
<?php echo "Website showing travel pictures"; ?>
printf("Go to my website !");

==> Sunnypix :sun:
 
Offline Octave_41 # Posted on 06/30/2008 06:50:01 PM
True lover of CNN & BBC World
Avatar
Group : Members
Okay, I've not started yet ;) (Only the first tuto)

By the way, I don't know why there are not tutorials about programming on NP o_O ?

They ought to start by translating C/C++ courses before PHP.

(On the SDZ, Mateo has started by writing the Mapping tutorial, then C/C++, then PHP/XHTML/CSS/SQL )

They should translate with this order :)


Holidays !!!!!!!!!!!!!!!

Are you read to play poker ?
Check with my program (still being translated in English )
 
Offline Leo # Posted on 06/30/2008 07:17:53 PM
Avatar
Group : Members
I don't really agree with you ;) The PHP course should be translated first, as it has already started to be :p Of course, then it would be really interesting for it to be done !

User image
<a href="http://sunnypix.free.fr/index.php">Sunnypix</a>
<?php echo "Website showing travel pictures"; ?>
printf("Go to my website !");

==> Sunnypix :sun:
 
Offline Octave_41 # Posted on 07/01/2008 12:35:34 PM
True lover of CNN & BBC World
Avatar
Group : Members
Yeah, I forgot about that :p

You're right. What's going on with this tuto o_O ? We have no translation.

Before writing a tutorial about forums, PHP's tutorial should be finished :)

We haven't got any translation for now a year !

(PS: I take a look a the latest translated tuto : 08/23/2007 )

I know translator might be busy but they could have the time within 1 year :D

I say that but it means nothing :whistle:

Holidays !!!!!!!!!!!!!!!

Are you read to play poker ?
Check with my program (still being translated in English )
 
Offline Leo # Posted on 07/01/2008 04:59:10 PM
Avatar
Group : Members
I think that now, once the exams are over, and that the holidays are starting, they might have more time ;)

User image
<a href="http://sunnypix.free.fr/index.php">Sunnypix</a>
<?php echo "Website showing travel pictures"; ?>
printf("Go to my website !");

==> Sunnypix :sun:
 
Offline EmpereurSturm # Posted on 07/01/2008 05:24:38 PM
Group : Members
<joke>french :') </joke>

I had a dream!
 
Offline yabberyabber # Posted on 07/01/2008 08:53:55 PM
i found pink mold in my trash
Avatar
Group : Members
i think the PHP tutorials should be translated first because PHP is easier and people who have never programmed should learn an easy language before they learn a hard language like C or C++

i need a french pen pal to show my fiend I'm cool
User image
 
Offline alex.css # Posted on 07/05/2008 01:36:53 AM
Trust nobody, do it yourself !
Avatar
Group : Members
C/C++ and PHP are almost different.
I wonder where are those translator (anyway, I'll read the french tutos :whistle: ).
I agree with Octave_41 : One year is a very long time without translation >.<

Maybe looking forward for one soon ?
Like news : We got less news this time :s
 
Offline yabberyabber # Posted on 07/05/2008 02:40:22 AM
i found pink mold in my trash
Avatar
Group : Members
what do you mean, there very different! i think that this argument should be moved to its own thread but im not very interested in it so im not going to start the thread...

i need a french pen pal to show my fiend I'm cool
User image
 
Offline Octave_41 # Posted on 07/20/2008 08:18:46 PM
True lover of CNN & BBC World
Avatar
Group : Members
Alex, I agree with you but PHP is based on C. In fact, when you look at PHP's syntax, it looks like C's. (Even PHP's is easier to understand and to practice ;) )

Holidays !!!!!!!!!!!!!!!

Are you read to play poker ?
Check with my program (still being translated in English )
 
Offline alex.css # Posted on 07/21/2008 01:39:11 AM
Trust nobody, do it yourself !
Avatar
Group : Members
Very easier yes ehh
What I meant was that PHP is server interpreted.
It's kinda different from C/C++ ;)
 
Offline Delroth # Posted on 07/21/2008 06:16:01 AM
Group : Members
In fact, PHP syntax is based on Perl's one, not exactly on C syntax ;) . However, as Perl itself is based on a C-like syntax, ... :D .
Offline Octave_41 # Posted on 07/25/2008 07:51:15 PM
True lover of CNN & BBC World
Avatar
Group : Members
Yes, of course they're different ! Only the syntax is the same ;)

Holidays !!!!!!!!!!!!!!!

Are you read to play poker ?
Check with my program (still being translated in English )
 

Back to "General Discussion" or to the boards list

You have to be registered to post messages

Change your template | Learn more about NP | Site map | Terms of use | Rules | RSS feed | XHTML 1.0 | CSS 2.0
Powered by Simple IT SARL: Contact us

There is nothing else to read, you have to go up now !

Do you want to be published here? Contact us.

Number of Newbies connected 4 Newbies Connected | SQL requests 7 Requests | Page loading delay 0.072s (0.0614s)