Page 1 of 1 [ 12 posts ] 

mic
Hummingbird
Hummingbird

User avatar

Joined: 24 Jun 2004
Gender: Male
Posts: 23

27 Jun 2004, 5:46 am

I am now learning C++. I wanted to know if there was another simpler language I could learn as well as C++. The reason I say this is because C++ takes a longer time to learn. If you know of a suitable language your reply would be helpfull. Thank you.

M.J.L.C



alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 38
Gender: Male
Posts: 10,216
Location: Beverly Hills, CA

27 Jun 2004, 9:04 am

mic wrote:
I am now learning C++. I wanted to know if there was another simpler language I could learn as well as C++. The reason I say this is because C++ takes a longer time to learn. If you know of a suitable language your reply would be helpfull. Thank you.

M.J.L.C


You could try Perl, its a nice language and its easier than c++. Here is a good book:
http://iis1.cps.unizar.es/Oreilly/perl/learn/index.htm


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


mic
Hummingbird
Hummingbird

User avatar

Joined: 24 Jun 2004
Gender: Male
Posts: 23

27 Jun 2004, 9:46 am

Thank you Alex! I will try that language.



Mich
Veteran
Veteran

User avatar

Joined: 24 Jun 2004
Gender: Female
Posts: 508
Location: Ohiuh (directly west of Pensyltucky)

29 Jun 2004, 6:45 pm

alex wrote:
mic wrote:
I am now learning C++. I wanted to know if there was another simpler language I could learn as well as C++. The reason I say this is because C++ takes a longer time to learn. If you know of a suitable language your reply would be helpfull. Thank you.

M.J.L.C


You could try Perl, its a nice language and its easier than c++. Here is a good book:
http://iis1.cps.unizar.es/Oreilly/perl/learn/index.htm


I was checking out this topic and I checked out the link, but I have one question: (actually, a few)

What are you supposed to do with Perl?
Where do you type it out so it'll work?
How do you remember how to do it?



alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 38
Gender: Male
Posts: 10,216
Location: Beverly Hills, CA

29 Jun 2004, 7:44 pm

Mich wrote:
alex wrote:
mic wrote:
I am now learning C++. I wanted to know if there was another simpler language I could learn as well as C++. The reason I say this is because C++ takes a longer time to learn. If you know of a suitable language your reply would be helpfull. Thank you.

M.J.L.C


You could try Perl, its a nice language and its easier than c++. Here is a good book:
http://iis1.cps.unizar.es/Oreilly/perl/learn/index.htm


I was checking out this topic and I checked out the link, but I have one question: (actually, a few)

What are you supposed to do with Perl?
Where do you type it out so it'll work?
How do you remember how to do it?


Perl is a computer programming language. You tell it what you want to do by typing up source code. You remember how to do it because you just do. Here is an example of some perl code I'm working on:

Code:
#!/usr/bin/perl
use Data::Dumper;
while (<>) {
     $type="mmlong" if (/RANK/);
     $type="mmtxt" if (/={9,}/);
     $type="txt" if (/METER/);
        #this doesn't work currently:
     $event=$_ if (/(\S+)(meter|mile|pole|high\sjump|triple|shot|) (\S+)/i);
   $sex="men" if /(boys|men)/i ;
   $sex="women" if  /(girls|women)/i ;
   @array  =  /(\d+) +(\d+) +(.+), +(\w+) +(\d+) +([\w\s]+) +(\S+) +(\S+) +(\d+)/ if $type eq "mmlong";
   @array = /(\d+)\. +(\w+) +(.+), +([\w\s]+) +(\S+)/ if $type eq "txt";
   @array = /(\d+) +(\w+), +(.+) +([\w\s]+) +(\S+) +(\S+)/ if $type eq "mmtxt";
   push(@array, $sex);
   #push(@array, $event);
   print Dumper(@array);
}


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


Mich
Veteran
Veteran

User avatar

Joined: 24 Jun 2004
Gender: Female
Posts: 508
Location: Ohiuh (directly west of Pensyltucky)

29 Jun 2004, 8:45 pm

alex wrote:
Mich wrote:
alex wrote:
mic wrote:
I am now learning C++. I wanted to know if there was another simpler language I could learn as well as C++. The reason I say this is because C++ takes a longer time to learn. If you know of a suitable language your reply would be helpfull. Thank you.

M.J.L.C


You could try Perl, its a nice language and its easier than c++. Here is a good book:
http://iis1.cps.unizar.es/Oreilly/perl/learn/index.htm


I was checking out this topic and I checked out the link, but I have one question: (actually, a few)

What are you supposed to do with Perl?
Where do you type it out so it'll work?
How do you remember how to do it?


Perl is a computer programming language. You tell it what you want to do by typing up source code. You remember how to do it because you just do. Here is an example of some perl code I'm working on:

Code:
#!/usr/bin/perl
use Data::Dumper;
while (<>) {
     $type="mmlong" if (/RANK/);
     $type="mmtxt" if (/={9,}/);
     $type="txt" if (/METER/);
        #this doesn't work currently:
     $event=$_ if (/(\S+)(meter|mile|pole|high\sjump|triple|shot|) (\S+)/i);
   $sex="men" if /(boys|men)/i ;
   $sex="women" if  /(girls|women)/i ;
   @array  =  /(\d+) +(\d+) +(.+), +(\w+) +(\d+) +([\w\s]+) +(\S+) +(\S+) +(\d+)/ if $type eq "mmlong";
   @array = /(\d+)\. +(\w+) +(.+), +([\w\s]+) +(\S+)/ if $type eq "txt";
   @array = /(\d+) +(\w+), +(.+) +([\w\s]+) +(\S+) +(\S+)/ if $type eq "mmtxt";
   push(@array, $sex);
   #push(@array, $event);
   print Dumper(@array);
}


What will it do and where do you use Perl? Like, do you use it on the internet, in certain programs, etc.?



alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 38
Gender: Male
Posts: 10,216
Location: Beverly Hills, CA

29 Jun 2004, 9:01 pm

Mich wrote:

What will it do and where do you use Perl? Like, do you use it on the internet, in certain programs, etc.?


It will do ANYTHING you tell it to do. You can use it anywhere you like if you have the interpereter.


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


Mich
Veteran
Veteran

User avatar

Joined: 24 Jun 2004
Gender: Female
Posts: 508
Location: Ohiuh (directly west of Pensyltucky)

30 Jun 2004, 9:10 am

alex wrote:
Mich wrote:

What will it do and where do you use Perl? Like, do you use it on the internet, in certain programs, etc.?


It will do ANYTHING you tell it to do. You can use it anywhere you like if you have the interpereter.


Where do you get it?

By "it," I mean the interpreter.



mic
Hummingbird
Hummingbird

User avatar

Joined: 24 Jun 2004
Gender: Male
Posts: 23

02 Jul 2004, 11:01 am

<DELETED>



Last edited by mic on 13 Aug 2004, 10:15 am, edited 1 time in total.

mic
Hummingbird
Hummingbird

User avatar

Joined: 24 Jun 2004
Gender: Male
Posts: 23

05 Jul 2004, 7:37 am

<DELETED>



Last edited by mic on 13 Aug 2004, 10:15 am, edited 1 time in total.

mic
Hummingbird
Hummingbird

User avatar

Joined: 24 Jun 2004
Gender: Male
Posts: 23

13 Aug 2004, 9:57 am

<DELETED>



andy1976uk
Veteran
Veteran

User avatar

Joined: 9 Dec 2006
Gender: Male
Posts: 1,122

07 Jan 2007, 2:40 am

PHP might also be worth a look. Syntacticly, it has many similarities to C++ but is much more forgiving. WP appears to use it extensively.

www.php.net