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

#1 2012-08-16 09:12:48

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

What programming language should I use for...

I moved the discussion to the Coders' Shed. It can be found here. You may still post you ideas here, but I would rather you post it on Coders' Shed if you have an account.
Thanks, and scratch on.

-PullJosh

Last edited by PullJosh (2012-08-26 15:44:06)


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#2 2012-08-16 09:14:18

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: What programming language should I use for...

JavaScript. For easy portability and sharing. Bad because you can't do file I/O, but good in practically all other respects. :


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#3 2012-08-16 09:15:50

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: What programming language should I use for...

I seem to recall a trend in doing this in Scratch. So I'm sure it's possible here, but if you want to get a little more advanced, I would suggest using either Basic, or Python. Python's really easy to learn, and I suggest that more than basic.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#4 2012-08-16 10:29:22

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: What programming language should I use for...

If I were you I'd use Python - it's very powerful and flexible. If you want to design an editor for it, probably use Java for that but still Python for the interpreter.


/* No comment */

Offline

 

#5 2012-08-16 20:25:19

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: What programming language should I use for...

C++ or Java. If you're serious about it, use a real language.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#6 2012-08-17 00:27:18

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: What programming language should I use for...

bobbybee wrote:

C++ or Java. If you're serious about it, use a real language.

Are you saying Python is not a real language? :\


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#7 2012-08-17 00:49:16

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: What programming language should I use for...

henley wrote:

bobbybee wrote:

C++ or Java. If you're serious about it, use a real language.

Are you saying Python is not a real language? :\

Yes.  tongue


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#8 2012-08-17 01:05:43

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: What programming language should I use for...

bobbybee wrote:

C++ or Java. If you're serious about it, use a real language.

but java was made in C


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#9 2012-08-17 03:38:33

Twiddlemaster
Scratcher
Registered: 2011-12-22
Posts: 44

Re: What programming language should I use for...

Javascript.
and just in case you don't know where to start, here:
http://forums.devshed.com/other-programming-languages-139/how-does-an-interpreter-compiler-work-312483.html


http://i48.tinypic.com/1enfkg.jpg

Offline

 

#10 2012-08-17 04:02:27

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: What programming language should I use for...

Python's lovely. Go with Python.  smile

You might also want to look at a toolkit such as lex/yacc for writing the tokenizer/parser -- the Python version, called PLY, is very good. I've been using it to write a scratchblocks parser for Kurt, and it does a lot of the work for you. There are quite a few decent PLY tutorials around as well, and I'd be happy to help you with Python stuff.


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#11 2012-08-17 07:10:00

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: What programming language should I use for...

slayerrobe7 wrote:

bobbybee wrote:

C++ or Java. If you're serious about it, use a real language.

but java was made in C

Yeah. And c++ was made in C. But C++ and Java are more powerful.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#12 2012-08-17 10:51:12

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: What programming language should I use for...

MathWizz wrote:

henley wrote:

bobbybee wrote:

C++ or Java. If you're serious about it, use a real language.

Are you saying Python is not a real language? :\

Yes.  tongue

yikes








http://i49.tinypic.com/fvlnr4.jpg


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#13 2012-08-17 11:21:19

Pitusky12
Scratcher
Registered: 2011-09-21
Posts: 500+

Re: What programming language should I use for...

Javascript and C++


Scratch 2.0 Beta Tester  wink

Offline

 

#14 2012-08-17 12:59:36

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: What programming language should I use for...

C++ would make it fast, efficient, etc... so it's my vote if you're committed enough to learn it well.

Offline

 

#15 2012-08-17 14:52:00

lallaway12
Scratcher
Registered: 2012-01-04
Posts: 500+

Re: What programming language should I use for...

Well I'd chose C++ and Java and (mabey) python



Java:

This would be good for storing files the user is needs for his program (Imgs,Virables)

C++ :

This has a large range of commands for your progamming languages capabilty

Python:

Servers I know work good on it and plugins could have the .PY format

more :

I chose these so it could be the best


http://i49.tinypic.com/2re4ied.png

Offline

 

#16 2012-08-17 16:14:34

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: What programming language should I use for...

JS:  JS and python are the ONLY 2 text-based languages I know, and I think JS is easier.
EDIT:  JS is just what you want, anyways....

Last edited by Firedrake969 (2012-08-17 16:15:04)


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#17 2012-08-17 17:35:22

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: What programming language should I use for...

Hardmath123 wrote:

JavaScript. For easy portability and sharing. Bad because you can't do file I/O, but good in practically all other respects. :

That doesn't seem like too steep of a learning curve. Scratch -> about 1/2 of html (I should really finish that, shouldn't I?) -> Javascript... Not a bad idea. Thanks for mentioning it!

henley wrote:

I seem to recall a trend in doing this in Scratch. So I'm sure it's possible here, but if you want to get a little more advanced, I would suggest using either Basic, or Python. Python's really easy to learn, and I suggest that more than basic.

Yeah. I actually started learning python a few days before posting this. Seems fine to me! Thanks for the input!

TheSuccessor wrote:

If I were you I'd use Python - it's very powerful and flexible. If you want to design an editor for it, probably use Java for that but still Python for the interpreter.

Thanks! That seems like a good idea. I don't know if I'll make an editor or not. If I do, Java will be one of the top options.

bobbybee wrote:

C++ or Java. If you're serious about it, use a real language.

C++ seems a bit hard. But maybe! Cheddargirl went strait from scratch to C++! We'll see. Thanks for your input!

Twiddlemaster wrote:

Javascript.
and just in case you don't know where to start, here:
http://forums.devshed.com/other-programming-languages-139/how-does-an-interpreter-compiler-work-312483.html

Okay. Thanks for the link!

...This is getting quite boring. I guess I'll just say this to everyone else: Thanks for your input!

Last edited by PullJosh (2012-08-17 17:36:26)


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#18 2012-08-23 06:02:40

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: What programming language should I use for...

C++ is definitely the fastest, so if you're going for efficiency, use that. It is, however, the hardest to use. Ruby is a good way to go too, if you want something easier.


http://i50.tinypic.com/312u714.jpg

Offline

 

#19 2012-08-23 08:07:02

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: What programming language should I use for...

Java if you want it cross-platform, if not then a .net language like c# will suit what you want well.


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#20 2012-08-23 08:17:07

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: What programming language should I use for...

Daffy22 wrote:

Java if you want it cross-platform, if not then a .net language like c# will suit what you want well.

.NET languages sure can make amazing stuff. Just look at your sig  tongue

Offline

 

#21 2012-08-23 08:20:00

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: What programming language should I use for...

MathWizz wrote:

henley wrote:

bobbybee wrote:

C++ or Java. If you're serious about it, use a real language.

Are you saying Python is not a real language? :\

Yes.  tongue

well then i prefer programming in unreal languages
c/c++ is worse then french

Offline

 

#22 2012-08-23 08:26:23

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: What programming language should I use for...

roijac wrote:

c/c++ is worse then french

Whoa, hold it there. French? Easier that C++? No way  lol
At least C follows some sort of logic!

Offline

 

#23 2012-08-23 09:32:59

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: What programming language should I use for...

LS97 wrote:

roijac wrote:

c/c++ is worse then french

Whoa, hold it there. French? Easier that C++? No way  lol
At least C follows some sort of logic!

lol


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#24 2012-08-23 09:35:06

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: What programming language should I use for...

LS97 wrote:

roijac wrote:

c/c++ is worse then french

Whoa, hold it there. French? Easier that C++? No way  lol
At least C follows some sort of logic!

+1 xD


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#25 2012-08-23 11:45:08

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: What programming language should I use for...

MathWizz wrote:

LS97 wrote:

roijac wrote:

c/c++ is worse then french

Whoa, hold it there. French? Easier that C++? No way  lol
At least C follows some sort of logic!

+1 xD

So does French, n'est pas? I found C revolting when I first saw it.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

Board footer