View Single Post
  #103   Report Post  
Posted to uk.d-i-y
Adam Funk[_3_] Adam Funk[_3_] is offline
external usenet poster
 
Posts: 1,591
Default OT - Programming Languages

On 2015-01-30, Dennis@home wrote:

On 30/01/2015 10:53, John Rumm wrote:
On 29/01/2015 15:26, Adam Funk wrote:
On 2015-01-28, John Rumm wrote:

Or for even easier, look at "scratch"

The neat thing about Scratch is that it makes multithreaded,
event-driven GUI stuff work so easily (e.g., make the little
characters dance around the screen & react when they bump into each
other). I guess the problem is that you get used to that, then try to
do the same in some other language, like Java.


It can give the wrong idea about some aspects, but the event driven
model integrates quite nicely with modern GUI style programming.



If its event driven stuff that's wanted then lego mindstorms is pretty good.
You can also program in other languages if you want.


The Lego NXT 2 "standard" IDE doesn't do what looks to me like
event-driven programming; you have to put in a lot of explicit loops
like "repeat ... until touchSensor1.isPressed()", rather than sticking
an event-handler off to one side of the rest of the code.