This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-12 16:20:41

xX5CR4TCHXx
Scratcher
Registered: 2011-07-10
Posts: 13

Alternate Programming Languages

I have been told that programming is easy once you have learn't the basic principles of thinking logically so all you need to know is the programming language. I suggest the development team create "ScratchVB" (Visual Basic) and/or "ScratchC++" (C++).
This will mean that after scratchers have learn't how to develop good scripts and programs they can transfer that knowledge into learning new programming languages. This would be useful if certain scratchers wanted to program as a job or hobby.
To create these new versions of Scratch you could change the text on the blocks to conform to the new language.

Offline

 

#2 2011-07-12 16:57:05

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

Re: Alternate Programming Languages

You could just learn those languages the way they are after learning Scratch. There isn't really much of a need to combine them with Scratch, which would be a lot harder than just changing the text on the blocks. There are a lot of differences between the 2 languages that would make it near-impossible to combine them.


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#3 2011-07-12 17:48:23

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Alternate Programming Languages

I agree with gettysburg. Scratch is great for learning programming concepts, but isn't intended to be an IDE for other languages. (Although that would be cool!) If you're ready to understand the more difficult concepts in more advanced languages, then you should also be able to use text. A graphical drag-and-drop system really isn't efficient anyway, especially when you have a massive library, as in Java or similar languages.

Last edited by Harakou (2011-07-12 17:48:33)


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#4 2011-07-12 17:49:59

Barf_Bag
Scratcher
Registered: 2011-07-10
Posts: 100+

Re: Alternate Programming Languages

There is a Scratch mod that is for HTML code.


http://i56.tinypic.com/33tiavp.png

Offline

 

#5 2011-07-12 22:12:49

Shin23
Scratcher
Registered: 2011-01-30
Posts: 100+

Re: Alternate Programming Languages

I think that's a great idea!!! But like the people before, it would be difficult. Maybe they could just make a new program with maybe a simplified version of C++ so you could learn the basics.


http://scratch.mit.edu/static/projects/Shin23/1957329_med.png New Super Mario Bros. Scratch! (beta)
PSN: shauthegreat23

Offline

 

#6 2011-07-13 04:11:56

xX5CR4TCHXx
Scratcher
Registered: 2011-07-10
Posts: 13

Re: Alternate Programming Languages

I'm not suggesting they merge Visual Basic and C++ or one of these with scratch. I'm just saying that they could change the text on the blocks to be parallel with one of these languages. For example (Visual Basic):

Private Sub BackgroundButton_Click() Handles BackgroundButton.Click

       If ColorDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
            PictureBox1.BackColor = ColorDialog1.Color

        End If

        BackColor = Color.Coral

    End Sub

This section of programming makes the program show the colour dialogue box. If the user clicks OK, change the programs background to the colour the user chose.

Even simple language changes like changing saying "script" to "sub". Also, making users add an "end if" after an "if" and an "end sub" at the end of their "sub".

Offline

 

#7 2011-07-13 04:26:32

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Alternate Programming Languages

gettysburg11 wrote:

You could just learn those languages the way they are after learning Scratch. There isn't really much of a need to combine them with Scratch, which would be a lot harder than just changing the text on the blocks. There are a lot of differences between the 2 languages that would make it near-impossible to combine them.

+lots.

You can just use alternatives to Scratchwink

Offline

 

#8 2011-07-13 05:26:24

xX5CR4TCHXx
Scratcher
Registered: 2011-07-10
Posts: 13

Re: Alternate Programming Languages

By the way it's not me that wants to learn these languages so I don't need suggestions I am only saying that it would be a good idea for people who have never used one of these languages and would like to start learning the basics.
Their programming skills would transfer from the normal version of scratch very easily because it would be in the same style and format so they wouldn't have the troubles of learning their way around a new piece of software.

Offline

 

#9 2011-07-13 07:27:32

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: Alternate Programming Languages

you mean to say scratch should make an IDE for VB or C++ ? well i am already writing a compiler for scratch that compiles scratch code into C++ executable with the use of SFML.


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#10 2011-07-13 08:46:49

xX5CR4TCHXx
Scratcher
Registered: 2011-07-10
Posts: 13

Re: Alternate Programming Languages

fanofcena wrote:

you mean to say scratch should make an IDE for VB or C++ ?

That's exactly what I mean.

fanofcena wrote:

well i am already writing a compiler for scratch that compiles scratch code into C++ executable with the use of SFML.

I haven't had any experience with compilers or SFML so I'm probably wrong but are you creating an alternative to scratch like the ones on the scratch wiki page? (panther, BYOB etc...) But using C++ for the language on the blocks as I earlier suggested in this topic?

Offline

 

#11 2011-07-13 10:32:56

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Alternate Programming Languages

xX5CR4TCHXx wrote:

fanofcena wrote:

you mean to say scratch should make an IDE for VB or C++ ?

That's exactly what I mean.

That's what I thought. I'm saying that it's not as simple as changing some text, and that (as I said before) anyone ready to understand a more complex programming language can use text, and a block-based system is rather inefficient, especially when working with large libraries.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#12 2011-07-13 16:13:27

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: Alternate Programming Languages

How about a super-simple 'ScratchScript' (that actually doesn't sound bad) that uses normal syntax but simpler words and fewer statements (only as many as there are blocks)?

Offline

 

#13 2011-07-13 16:29:22

xX5CR4TCHXx
Scratcher
Registered: 2011-07-10
Posts: 13

Re: Alternate Programming Languages

This sounds like a good idea. maybe the development team could create a "ScratchBasic" program for seperate download, especially for beginners and new scratchers. However, this is the total opposite to what I was saying as I suggested a more technical scratch in a different programming language for scratchers that have mastered the scratch language and are hungry for a new challenge.

Offline

 

#14 2011-07-14 00:25:47

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: Alternate Programming Languages

Harakou wrote:

xX5CR4TCHXx wrote:

fanofcena wrote:

you mean to say scratch should make an IDE for VB or C++ ?

That's exactly what I mean.

That's what I thought. I'm saying that it's not as simple as changing some text, and that (as I said before) anyone ready to understand a more complex programming language can use text, and a block-based system is rather inefficient, especially when working with large libraries.

well talking about complex languages
its really hard to do what MIT is doing with SmallTak in languages like C++ basically because they arent designed to hyperthread , c++ is unithread when it was born though Windows.h provides extremely amazing hyperthreading but the trouble that occurs here is synchronisation , i mean the Speed of compiled code of C++ can actually desynchronise your scratch application if programmed the same way on it (though theres not a really possible way to code what u can code on Scratch to C++ without xtreme knowledge of programming and a team of developers)and i agree to what Harakou said . when working on large libraries the scratch like IDE's tend to lag badly because they have to process hugeamount of data for showing blocks whereas in text case theres not much tobe "shown".


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#15 2011-07-14 02:15:52

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Alternate Programming Languages

xX5CR4TCHXx wrote:

This sounds like a good idea. maybe the development team could create a "ScratchBasic" program for seperate download, especially for beginners and new scratchers. However, this is the total opposite to what I was saying as I suggested a more technical scratch in a different programming language for scratchers that have mastered the scratch language and are hungry for a new challenge.

I don't think the ST would, but maybe someone could make a mod like that.  wink

Offline

 

#16 2011-07-14 02:30:16

xX5CR4TCHXx
Scratcher
Registered: 2011-07-10
Posts: 13

Re: Alternate Programming Languages

scimonster: yeah that would be a good thing for someone to do and I think that if they did then they should contact the Scratch Developers and maybe if it's good enough they could put a button into scratch that changed the scripts to this.

fanofcena: I know that what you are suggesting is hard but I'm simply suggesting not to change scratch at all but to change the text on blocks so that they have the language used in Visual Basic or a seperate program doing the same thing but using C++ language on the blocks.

Offline

 

#17 2011-09-01 05:07:59

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Alternate Programming Languages

Its a good idea but whats wrong with just learning another language?


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#18 2011-09-06 15:50:16

prokohtu
Scratcher
Registered: 2008-06-19
Posts: 100+

Re: Alternate Programming Languages

great idea i'd love to learn a new programming language but they are all too hard. if a transition was made between scratch and serious pr. languages it would be nice.


Scratch's most realistic F1 simulator
https://lh6.googleusercontent.com/-qIdF-SzbTzw/UU29tK-FYvI/AAAAAAAAAOs/vRFKr1Iwldc/s225/logo.jpg

Offline

 

Board footer