vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: Introductory Languages - View Topic
Topic Rating: *****
Printable View
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Introductory Languages (15th Feb 08 at 2:31am UTC)
I don't know why, but I always like to code big projects in introductory programming languages, just to see if it's possible. {Tongue Out}

In Turing, for instance, I coded quite a few games, chatrooms, and some other p2p-type programs. Currently I'm working on a browser, which is actually a bit easier so far than I expected. At the moment only the IP can be entered, and it connects to the server. Now I just need to find the easiest way to grab the HTML for the current page, parse it, and display it. After that, I need to find a way to connect to ICANN and grab the server IP based on the domain name entered [so that I could type in http://vforums.co.uk rather than having to find the IP and use that.

How about you guys; do you like pushing the limits of simple languages? If so, what things have you done/plan on doing? {Smile}

rroll.to— Shorten a link, rickroll your friends.
Paddy
Full Member
***
Insane Clown

[Avatar]

Posts: 288
Status: Offline
Gender: Male
Location: Buffalo, New York
Age: 34
Joined:  
Reputation: 7%  


pmwwwtwitterskypeaimgtalk
Re: Introductory Languages (16th Feb 08 at 11:16pm UTC)
Embarrassingly enough, I don't actually know any 'introductory' languages, depending on how 'introductory' is defined...

I started off with Python, and added from there...

~Artemis
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Introductory Languages (17th Feb 08 at 6:22am UTC)
 
Embarrassingly enough, I don't actually know any 'introductory' languages, depending on how 'introductory' is defined...

I started off with Python, and added from there...

~Artemis


I personally find that having learned an introductory language helped me quite a bit when getting into more powerful languages like VB, & now C++. It gives you a feel for the programming environment, and allows you to create programs without having to worry about loads of memorization, etc.

When I first tried to learn VB, I didn't know where to start. But then, after having learned Turing, I found VB quite easy to learn, and caught on quite quickly. C++ seems to be coming along fairly similarly. It's taking me a bit longer to get the hang of, as Turing & VB are fairly similar, whereas C++ has quite different syntax.

But these things are all about personal preference; if you find Python easiest to work with, then go for it. {Smile}

rroll.to— Shorten a link, rickroll your friends.
Dylan
Junior Member
**

[Avatar]

Posts: 136
Status: Offline
Gender: Male
Joined:  
Reputation: 0%  


pmwwwmsnaimxfire
Re: Introductory Languages (17th Feb 08 at 3:30pm UTC)
I never really used an introductory language. I started with html/css, then php and mysql


Image
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Introductory Languages (17th Feb 08 at 4:13pm UTC)
 
I never really used an introductory language. I started with html/css, then php and mysql


I'm referring to actual programming languages; ones that create standalone software. {Wink}

rroll.to— Shorten a link, rickroll your friends.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Introductory Languages (17th Feb 08 at 4:21pm UTC)
 
 
Embarrassingly enough, I don't actually know any 'introductory' languages, depending on how 'introductory' is defined...

I started off with Python, and added from there...

~Artemis


I personally find that having learned an introductory language helped me quite a bit when getting into more powerful languages like VB, & now C++. It gives you a feel for the programming environment, and allows you to create programs without having to worry about loads of memorization, etc.

When I first tried to learn VB, I didn't know where to start. But then, after having learned Turing, I found VB quite easy to learn, and caught on quite quickly. C++ seems to be coming along fairly similarly. It's taking me a bit longer to get the hang of, as Turing & VB are fairly similar, whereas C++ has quite different syntax.

But these things are all about personal preference; if you find Python easiest to work with, then go for it. {Smile}


What is used to write Turing? A program in itself with compiler or what?

Also, how hard is it ... example syntax? {Smile}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Introductory Languages (17th Feb 08 at 5:48pm UTC)
 
 
 
Embarrassingly enough, I don't actually know any 'introductory' languages, depending on how 'introductory' is defined...

I started off with Python, and added from there...

~Artemis


I personally find that having learned an introductory language helped me quite a bit when getting into more powerful languages like VB, & now C++. It gives you a feel for the programming environment, and allows you to create programs without having to worry about loads of memorization, etc.

When I first tried to learn VB, I didn't know where to start. But then, after having learned Turing, I found VB quite easy to learn, and caught on quite quickly. C++ seems to be coming along fairly similarly. It's taking me a bit longer to get the hang of, as Turing & VB are fairly similar, whereas C++ has quite different syntax.

But these things are all about personal preference; if you find Python easiest to work with, then go for it. {Smile}


What is used to write Turing? A program in itself with compiler or what?

Also, how hard is it ... example syntax? {Smile}


The Turing compiler is built-in to the editor. {Smile}

Here's some example code that will draw a red ball and let you move it around the screen using the arrow keys:

/* Set screen to graphics mode
Maximize Window
Create external buffer for animation */

View.Set ("graphics:max,max;offscreenonly");

% Set variables for ball's x & y position
var ballX, ballY : int := 50

% Create array of all characters
var move : array char of boolean

% Create loop
loop

    % Check for keyboard input
    Input.KeyDown (move)

    % Check for keys pressed
    if move (KEY_DOWN_ARROW) then
        ballY -= 3
    elsif move (KEY_UP_ARROW) then
        ballY += 3
    elsif move (KEY_LEFT_ARROW) then
        ballX -= 3
    elsif move (KEY_RIGHT_ARROW) then
        ballX += 3
    end if

    % Draw Ball In New Position
    Draw.FillOval (ballX, ballY, 10, 10, red)

    % Update Screen Content [prevents animation flickering]
    View.Update

end loop

rroll.to— Shorten a link, rickroll your friends.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Introductory Languages (17th Feb 08 at 5:52pm UTC)
And this creates standalone programs? {Smile}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Introductory Languages (17th Feb 08 at 6:03pm UTC)
 
And this creates standalone programs? {Smile}


Yep. {Smile}

Also, I edited the syntax I posted to include the syntax highlighting. Another good thing about Turing is that it automatically does syntax highlighting, has a built-in debugger, and pressing F2 automatically spaces all the code out. {Smile}

rroll.to— Shorten a link, rickroll your friends.
 Printable View

All times are GMT+0 :: The current time is 4:59pm
Page generated in 0.3934 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums