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

#1 2007-07-13 11:20:30

budhajeewa
Scratcher
Registered: 2007-07-13
Posts: 3

We want a "Java Scratch" or "VB Scratch"

Scratch is a good work and I think the best work I have seen in this field. How ever, I have a suggession for you people, who develop "Scratch". It is good if you write a programm to make Java or Visual Basic (I mean any programming language) programms with your revolutionary "BBT" (Bilding Blox Technolofy). This may be the best help ever to the application programmers all over the world and they all will thankful to you.

I hope that you will soon take a action for this, and I hope a reply from you to budhajeewa@gmail.com.

Thanks!

Offline

 

#2 2007-07-13 15:33:03

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

Draggin gbuilding blocks around is great for beginning programmers, but it is slower and more likely to lead to carpal tunnel syndrome than typing, so is not likely to be much of an aid to professional programmers.  The blocks also take up more screen space per command, so large progams are harder to read.  It's a great teaching tool, but not a great development tool (the two are not at all the same thing).

Offline

 

#3 2007-07-14 09:40:05

CAPAT
Scratcher
Registered: 2007-06-16
Posts: 13

Re: We want a "Java Scratch" or "VB Scratch"

Kevin
Are you not seeing this suggestion as a computer person rather than a general teacher?  We have had a similar reaction regarding from a local University computing teacher. 

Many Scratch users will undoubtedly see Scratch as a wonderful opportunity to introduce computing in a simple way to the wider population, particularly to those who learn more easily visually and practically. 

Unfortunately, too many creative people have been put off computers by the complicated jargon, handbooks constructed by persons with clearly little general teaching or communication experience, and the high cost of software and the secrecy surrounding it.

Scratch now provides an opportunity to tear away all the mystery and let people see how simple computing can be. 

Scratch may initially have been intended for kindergarten but its potential is  much much wider.
And indeed some day some computer scientists may look back and thank Scratch for introducing them to a subject in which they never thought they would be interested or have the ability.

For those interested in using Scratch as a stepping stone,  it would be great if a selection of Scratch scripts illustrating the different things that can be done with Scratch, could also be converted, rewritten in a "traditional" (for want of a better word) language, JavaScript, for example.  If these were freely available, could not looking at each side by side be of considerable educational value?    Any offers?

Offline

 

#4 2007-07-14 10:18:23

mdusoe
Scratcher
Registered: 2007-06-14
Posts: 32

Re: We want a "Java Scratch" or "VB Scratch"

I am a business software developer.  While I can see your point, CAPAT, I don't think it would be as useful as you are saying.

If there were to be a "drag n drop" entity for any construct available to me in VB.NET, for example, I would spend way too much time looking for the right block, and productivity (yes, project managers care about productivity  wink  ) would go WAY down.

Now, that is not to say that using visual tools can't help with the development process.  UML (or any other form of logic modeling) can be a great tool for defining data/logic/business flows.  And there are plenty of tools that will convert the UML models into workable objects with their methods and properties defined for you.

But I think that is where it should stop.  Dragging a "class" object onto a page, and then applying properties to it to give me code like:

Code:

Public Class MyClass
  Private _myProp As String
  Public Property MyProp As String
    Get
      Return _myProp
    End Get
    Set (value as String)
      _myProp = value
    End Set
  End Property
End Class

... would be (and is, with Visual Studio's Class Designer for example) very useful. But having to drag 4 blocks to have code like

Code:

    x = y+2

would become VERY tedious indeed.

So while this tool is AMAZING in an academic learning setting, it would absolutely not work (at least to this granularity) in a business setting. 

</soapbox>

Mike.

Last edited by mdusoe (2007-07-14 10:25:26)

Offline

 

#5 2007-07-14 12:19:20

budhajeewa
Scratcher
Registered: 2007-07-13
Posts: 3

Re: We want a "Java Scratch" or "VB Scratch"

Dear All,

When you become more familier with "Java Scratch" (Later I thought "Java Scratch" would be better !), you need not to look here and there for Classes, Objects, Variables or others.

Simply, "Java Scratch"  must have a built-in form designer (Visual Interface Designer) and code writter (I mean code builder !). Talking about the Visual Interface Designer, there is no problem, because I think most of us had worked with a VID, like the one in VB.  But talking about the Code Builder, that is the revolutionary part of "Scratch Java", because, coding for a programm might not be as easy as this ever !

But I dont agree with "mdusoe", because, his complain would be resolved easily. All the things in Java would be categorized in "Class", "Objects", "Variables"... just like now we have in Scratch "Motion", "Looks", "Sensing"... . Then you can find what you want atleast within 2 or 3 clicks.

Actually, in some cases, code writing may be easier for you. Then you can imply use the code editor - without playing with building blocks. Also, Sun Microsytems will not stop developing Java in their side. If you don't like to use "Scratch Java" you can use "Sun Java", but rember "mdusoe" there may be thousands (even millions) of people around the world who don't have enough time and a knowledge to design softwares for there needs. But with the "Scratch Java"'s building blocks system, they can simply doo what they want to do.

I think it would be good, if Scratch Team look forward for this idea.

Offline

 

#6 2007-07-14 13:20:58

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

The input time for a scratch program is far longer than for a corresponding keyboard-entry program.  It is great for beginners, but experienced programmers would quickly get frustrated with the slowness of a mouse-based interface, and would be in danger of repetitive stress injuries (already a major occupational hazard).

The interface is good for beginners of all ages, but is not likely to replace existing development environments for professionals.  One of the programs that I work on a lot is over 77000 lines of c++ code (over 85% of which I wrote).  While I love scratch as a teaching tool, I could not imagine having to do a big program in it.  The interfaces that are appropriate for building toy programs and for building big programs are just not the same.

Offline

 

#7 2007-07-14 18:37:32

CAPAT
Scratcher
Registered: 2007-06-16
Posts: 13

Re: We want a "Java Scratch" or "VB Scratch"

Kevin thanks for your continued interest.

As we suggested previously, it would be helpful if the computer competent could illustrate what you are saying by providing  us some examples in JavaScript, of some of the existing short, (not “toy ), Scratch projects,  which can be easily  incorporated into a webpage, without the need to go back to some foreign server.   A JavaScript equivalent of our own first small illustrative project, or  the latest beautiful “Swap it  programme of Mike, is presently beyond most of us!
   
Not only would this be valuable educationally to some of us who have struggled with Java, it would also enable higher resolution images to be used for  backgrounds and costumes rather than being limited to 640 by 480 pixels. 

Some of us in distant countries, even find it difficult to get information about how to personally make gif animations without having to pay one way or another, and cannot afford to buy Flash or Photoshop. 

Scratch has been a revelation.  The more that can be incorporated,  or linked, to this freely available single, didactic package, the greater the benefit to all.  Surely it can be done without it becoming over-complicated.

Offline

 

#8 2007-07-14 22:06:52

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: We want a "Java Scratch" or "VB Scratch"

To paraphrase Samuel Goldwin (I think) - once you have "an opportunity to tear away all the (fake) mystery" surrounding programming, what you're likely to see is the "real mystery" underneath - namely how difficult computer programming actually is in most "real world" situations and how amazing it is that things works as well as they do.

Just to take Kevin's example - if he can generate code at 100 lines an hour (an amazing productivity rate - even with extensive reuse), just writing 77,000 lines of C++ code would require almost half of a person-year.  After that (or actually in parallel) there is debugging, application and reliability testing, documentation (occasionally), etc., etc. 

Finally, just when a project is close to completion, someone comes up with new hardware, a new basic algorithm, a better (but totally different) interface - or all of the above - and you start over.  (As a specific example, this last was exactly what happened to a lot of programs when Pixar introduced efficient subdivision modeling for 3D animation.)

It's probablly this last fact that has doomed most "simplification" efforts over the years - if you wait the added cycle for the "simplification" tool - your own product will be well behind that of someone who chose to do it "the hard way." 

Not to say that simplification isn't a worthy goal - and certainly a successful effort would be applauded by all - but don't invest your life savings in such a project. (I might be able to find some Thinking Machines stock (http://en.wikipedia.org/wiki/Thinking_Machines_Corporation ) if you'd like an example as a warning - it will make pretty wallpaper.)

As far as doing an animated GIF - one of the easiest free programs around (IMO) is Benton Movie GIF available at http://software.benetonfilms.com/Beneton_Movie_GIF/.  In addition to providing the tools, the user interface makes actually creating the animation a fairly straightforward process. However, it's not the most powerfull program around - I'm sure there will be other recommendations of tools that are much more powerfull - and much more difficult to master.

Offline

 

#9 2007-07-14 22:21:12

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: We want a "Java Scratch" or "VB Scratch"

kevin_karplus wrote:

...  danger of repetitive stress injuries (already a major occupational hazard).

Rereading this, I wonder if newcomers are aware of how serious this can be - and how unnecessary the problem is.  If you aren't - please take a few minutes to read up on the subject.

Hints to avoid the problem - keep your chair and keyboards at comfortable (non-stressing) heights, stretch your wrist, arms and neck every 10 or 15 minutes whele working, consider using a wrist support - and above all get help EARLY if you feel pain in your wrists, arms and shoulders.

Offline

 

#10 2007-07-15 01:15:50

budhajeewa
Scratcher
Registered: 2007-07-13
Posts: 3

Re: We want a "Java Scratch" or "VB Scratch"

By posting this topic, I expected more possitive replies ! Because there may be number of people who like to design his/her own programms with a programming language like "Scratch Java".

Is there a way to contact Scratch Team directly ?

Offline

 

#11 2007-07-15 10:35:52

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

At the bottom of this page (and probably all the pages on the scratch site) there is a link "contact us" for contacting the Scratch team directly.  They are very good about responding to e-mail, and they do read and respond to the forums on a regular basis.

There may indeed be some people who would like a visual, drag-and-drop interface to java.  You might want to look at http://processing.org/ as the "processing" group seems to have similar ideas to yours.  The Green Foot group http://greenfoot.org/ might also be of interest to you.

Offline

 

#12 2007-07-15 19:32:39

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: We want a "Java Scratch" or "VB Scratch"

A couple of interesting and rather fun sites - thay may also illustrate one of the points (complexity) that I was trying to make in an earlier posting.  Also, as a serious note, I think providing examples of interesting Scratch programs translated to other programming languages is a good idea - the question I have is which translations would give the highest payback?

http://www.roesler-ac.de/wolfram/hello.htm shows how to write the classic "Hello World" program in 330 programming languages.  The site also translates the phrase "Hello World" into 57 different human languages (imagine just the font management problem) and has a phonetic guide for the phrases when the Roman alphabet isn't used (in case you want to add text-to-speech).

A couple of interesting notes - there are five different dialects of Java listed - plus Java Script which is only remotely related to the Java programming language.  Also Scratch (and Squeak and Etoys) are not listed. (The same language difficiency also occurs in another list, http://www.99-bottles-of-beer.net/ , which claims to have examples of 1103 different languages. It only has four Java dialects but includes two versions of J Script in addition to Java Script.)

Last edited by DrJim (2007-07-15 19:34:15)

Offline

 

#13 2007-07-16 17:15:40

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

budhajeewa: thanks for posting your suggestion about using Scratch as the interface to program in other languages.

While I think that your idea is worthwhile pursuing, our main efforts are focused on creating tools for children and novices to express themselves using digital technology, not so much on making better tools for professional programmers.

We would be really happy if our ideas inspire others to create better tools for professional programmers and other professions.

For example, I know of an oil exploration company that has played with the idea of using a Scratch-like interface for their complex software for geophysicists.

Maybe you could talk to some people that work on developing IDE's like Eclipse and explore with them the idea of using blocks.

Thanks again.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#14 2007-08-18 11:58:09

lifeisnow
Scratcher
Registered: 2007-08-18
Posts: 3

Re: We want a "Java Scratch" or "VB Scratch"

Hi, Im a pofessional architect/developer and work in the areas where different industry participants have widly different levels of IT capabilities. I have previously developed drag drop languages that share many feastures of Scratch, and feel that scratch represents a very good evolutionary step for non-it specialists struggling to develop code.

My approach has been to take the picture and generate C# code from it, then roll that into "normal" code. Id be interested to know if there is a way to seperately use scratch as a component and extend the scratch interface for use as a code generator for non-it people.

I understand the point about not wanting to write 77,000 lines of C# using scratch, but many of these people struggle to get the syntax for < 50 lines, and that I think a scratch like interface could be of great assistance to them.

Thanks

Offline

 

#15 2007-08-19 01:07:06

DrJim
Scratcher
Registered: 2007-05-26
Posts: 100+

Re: We want a "Java Scratch" or "VB Scratch"

This is a serious question but I'm afraid I may not have posed it very well.  I really would like some thoughts on this - so if anyone has some, feel free to comment.

The question is - say I use a drag and drop tool to develop 50-150 lines of C# code with good structure, perfect syntax, etc.  What good is it?

It seems to me that about all I can do with it is hand it over to someone with Visual Studio installed, hope they have the necessary support libraries and hardware drivers  and have them compile (and maybe test) the code, then add a minimal user interface and give me the result - not sure this is much of a step forward from having nothing at all except "off the shelf" application packages.

Offline

 

#16 2007-08-21 22:02:26

lifeisnow
Scratcher
Registered: 2007-08-18
Posts: 3

Re: We want a "Java Scratch" or "VB Scratch"

Hi Jim

Not quite, Scratch as a scripting tool. The ability for Scratch to be an add on to an application, so that the script fragments direct the operation of the underlying application.

.NET is able to compile link and run .NET languages on the fly, enabling it to be a scripter. Thus scratch looks like its interpreted by the application. Just as Scratch programming runs the sprite.

Offline

 

#17 2007-08-22 09:10:52

vikaros
Scratcher
Registered: 2007-06-04
Posts: 100

Re: We want a "Java Scratch" or "VB Scratch"

There are so many different conversations happening here! 

I teach Java to educators at Teachers College, which means I try to introduce a complex Object Oriented language to teachers with little to no technical backgrounds.  Scratch has been a AMAZING...not in its ability to teach Java, but in the immediacy (if thats a word) and motivating nature of its instantaneous feedback.  Users can focus more on what they WANT to produce, rather than the technicalities required to get there.  This helps them grasp basic computational concepts more quickly.  Very soon they find themselves interested in pushing the boundaries and begin thinking about how to do more advanced projects...making them very receptive to discussing and experimenting with more advanced computational designs (like working with data structures, design patterns, etc). 

However, as Andres points out, Scratch is limited in that it is designed to be entry level and accessible at ages as young as 7 & 8!  It is not object oriented, and has only minimal encapsulation (in that scripts are grouped together within their Sprites).  Also the Drag-Drop can be tedious for experts...however a great way to fix this is to add an intelli-coding like feature where each block coincides with text syntax and as a user types the first few characters a list of matching blocks is pulled up to then choose from.  This can be seen in newer versions of Star Logo TNG.

For me, easing novice students into advanced Java programming has required a flexible mix of tools:
Scratch - for early and motivating introductions to basic computational logic
BlueJ - for a way of visualizing the difference between instances and objects in an OO Lang.
Greenfoot - for Rapid Application Development of Object Oriented games too advanced to be built in Scratch (it provides an API for making games, perfect for learning about inheritance & polymorphism)
NetBeans - for first introductions to Java's clumsy GUI interfaces.  Luckily NetBeans now has drag and drop WYSIWYG gui tools that are slowly approaching the ease of workking with GUIs as found in Visual Basic.
UML - finally as a way of translating higher-level design discussions into workable code structure

So from an educators perspective Scratch and RAD development tools are sorely needed to ease the learning curve of advanced programming.  They still have a place in professional development, where the less technically inclined can be enabled to work up prototypes and examples of systems that often defy text/verbal descriptions.  Also in distributed development teams its often great to have a few junior programmers able to "use a drag and drop tool to develop 50-150 lines of C# code with good structure, perfect syntax" which the more advanced programmers can then integrate into a design.  However the big debate is that such code produced is rarely considered readible, scalable, or more simply - "good".

Offline

 

#18 2007-08-22 10:21:28

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

So many discussions, indeed.

But I do believe that <liveisnow> has pointed out something that is often neglected over the shiny 'playing-with-blocks' UI: That Scratch is a *dynamic* language, in which you can actually keep coding while your project is live and running (!) You just don't have to "compile, link, and run". That's why the Scratch blocks aren't just an easy way of producing code, but controls to directly manipulate a running project.
This is something you just cannot accomplish with an early-binding language like all the C-flavors out there. There is plainly no way to 'remix' a running C-based application. In fact, it's not 'remixing' at all, more like reproducing the whole application from its various 'sources' and 'resources', that you do in C-like languages. And that's IMO precisly where Scratch is *completely* different.

So the question to me is not so much weather draggable blocks make for easier coding, but weather they resemble real components of a project/an application. Therefore I personally see no use for draggable blocks-interfaces to conventional languages. It's the combination of blocks and a late-binding / interpreted language that's the real inovation.

I agree with vikaros, however, that such code usually doesn't scale well, and is often downright ugly. Maybe a way to cope with this would be to allow for 'nested' blocks which could be 'expanded' or 'zoomed into'.

But that's another different discussion!

Last edited by Jens (2007-08-22 10:22:36)


Jens Mönig

Offline

 

#19 2007-08-22 13:54:57

lifeisnow
Scratcher
Registered: 2007-08-18
Posts: 3

Re: We want a "Java Scratch" or "VB Scratch"

What is scratch written in (Java, C, .NET C#, VB)?

What was used to get the graphic effects for the blocks, I would be interested to see if part of it could be recreated for use as a scripter. Would there be any interest in the Scratch team followingthis path?

Offline

 

#20 2007-08-23 03:31:21

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

The Scratch IDE is written in Squeak Smalltalk, the online version is done in Java. You can have a look at how Scratch is implemented by following these instructions:
http://scratch.mit.edu/projects/Jens/22355
Also, you might want to have a look at the corresponding forum thread:
http://scratch.mit.edu/forums/viewtopic.php?id=953
If you know about Smalltalk you can (in theory) modify the current Scratch implementation, but I wouldn't recommend it just yet...

Last edited by Jens (2007-08-23 03:38:03)


Jens Mönig

Offline

 

#21 2007-08-23 08:34:36

vikaros
Scratcher
Registered: 2007-06-04
Posts: 100

Re: We want a "Java Scratch" or "VB Scratch"

There has been discussion in the past of refactoring the block images and related code into a Scratch Interface API.  This would be a big endeavor, and I anticipate that other features will continue to take priority over this in the near future, however the team is for this idea  smile

Offline

 

#22 2008-04-12 10:25:16

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

budhajeewa wrote:

Scratch is a good work and I think the best work I have seen in this field. How ever, I have a suggession for you people, who develop "Scratch". It is good if you write a programm to make Java or Visual Basic (I mean any programming language) programms with your revolutionary "BBT" (Bilding Blox Technolofy). This may be the best help ever to the application programmers all over the world and they all will thankful to you.

I hope that you will soon take a action for this, and I hope a reply from you to [THERE'S AN E-MAIL HERE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!].

Thanks!


~ihaveamac - visit ihaveamac.net

Offline

 

#23 2010-08-17 16:46:54

mXsoft11
Scratcher
Registered: 2010-05-10
Posts: 100+

Re: We want a "Java Scratch" or "VB Scratch"

budhajeewa wrote:

Scratch is a good work and I think the best work I have seen in this field. How ever, I have a suggession for you people, who develop "Scratch". It is good if you write a programm to make Java or Visual Basic (I mean any programming language) programms with your revolutionary "BBT" (Bilding Blox Technolofy). This may be the best help ever to the application programmers all over the world and they all will thankful to you.

I hope that you will soon take a action for this, and I hope a reply from you to budhajeewa@gmail.com.

Thanks!

The player is java, so normal scratch IS scratch java.


http://bannerbreak.com/banners/4/696/129702802765745581.gif

Offline

 

#24 2010-08-17 17:12:21

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: We want a "Java Scratch" or "VB Scratch"

mXsoft11 wrote:

budhajeewa wrote:

Scratch is a good work and I think the best work I have seen in this field. How ever, I have a suggession for you people, who develop "Scratch". It is good if you write a programm to make Java or Visual Basic (I mean any programming language) programms with your revolutionary "BBT" (Bilding Blox Technolofy). This may be the best help ever to the application programmers all over the world and they all will thankful to you.

I hope that you will soon take a action for this, and I hope a reply from you to budhajeewa@gmail.com.

Thanks!

The player is java, so normal scratch IS scratch java.

I think he's talking about the main Scratch application, which is Squeak. Regardless, this topic is quite old and we would really appreciate it if you wouldn't bump up topics like this unless it's a particularly riveting point. Besides, since Scratch is being rewritten in Flash anyways, I will close this.

Last edited by coolstuff (2010-08-17 17:22:30)

Offline

 

Board footer