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

#3776 2011-10-04 19:16:20

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

150 pages of BYOB 3 discussion isn't bad.... though perhaps we should wait until the official Snap! release before starting a new thread.

Offline

 

#3777 2011-10-05 00:03:58

Scatcycle
Scratcher
Registered: 2010-07-22
Posts: 17

Re: BYOB 3 - Discussion Thread

Bring your own bombs?

Offline

 

#3778 2011-10-05 02:50:26

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

Scatcycle wrote:

Bring your own bombs?

How did you guess?


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#3779 2011-10-05 09:12:22

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Scatcycle wrote:

Bring your own bombs?

LOL no its build your own blocks, but that would work too... byob doesn't hand out bombs very often...


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#3780 2011-10-05 14:27:05

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: BYOB 3 - Discussion Thread

rookwood101 wrote:

14God wrote:

joefarebrother wrote:

What we need is a feature to turn a script into a list of blocks.

I agree

Elaborating on this idea, do you mean that say for example you were building a script in the byob interface, you could have a "[List blocks in script()]"?

No, like i mean if you had

Code:

(the script {
  move (10) steps
  if <<touching [mouse pointer]> and <mouse down>>{
     some custum block
     set [var] to (4)
  }
  run ((script) of (clone))
 })

this block would turn it into

Code:

(list (the script {
          move (10) steps
        }) (the script {
               if <<touching [mouse pointer]> and <mouse down>>{
                  some custum block
                  set [var] to (4)
               }
            }) (the script {
                    run ((script) of (clone))
                }))

Last edited by joefarebrother (2011-10-05 14:28:05)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#3781 2011-10-06 14:27:14

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

I've been learning C for a few days now, my parents are letting me learn C instead of Spanish  big_smile  Wish me luck.


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#3782 2011-10-06 19:02:56

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

C? Ouch, that's a tough one. I found its lack of flexibility completely frustrating.

Offline

 

#3783 2011-10-06 19:27:53

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

C? Ouch, that's a tough one. I found its lack of flexibility completely frustrating.

I plan to write an interpreter in C. My dad says I need to make something impressive because my mom is skeptical about me not learning Spanish.


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#3784 2011-10-07 03:58:17

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

14God wrote:

...because my mom is skeptical about me not learning Spanish.

I agree with her!  You should learn C and Spanish.  Computer languages are great but human languages are important too.  Here in Europe everybody speaks three or four languages and it's embarrassing being an ignorant American.  (I speak English and French, but that's not much by European standards.  If you'd been born in Switzerland you'd have spoken three languages right out of the box.)

And I wish I spoke Spanish in particular because in some parts of the US it's become the majority language.  Not in Berkeley, but it's a pretty close second to English.  I wish I spoke Chinese, too.

shadow_7283 wrote:

I found its lack of flexibility completely frustrating.

Interesting.  Some people complain that C is too flexible.  You can take a pointer to any data type and cast it into a pointer to any other data type.  You can cast an integer into a pointer and then dereference it, to refer directly to a specific memory address.

The notation is a little obscure, though, I grant you.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#3785 2011-10-07 04:03:21

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

14God wrote:

...because my mom is skeptical about me not learning Spanish.

I agree with her!  You should learn C and Spanish.  Computer languages are great but human languages are important too.  Here in Europe everybody speaks three or four languages and it's embarrassing being an ignorant American.  (I speak English and French, but that's not much by European standards.  If you'd been born in Switzerland you'd have spoken three languages right out of the box.)

And I wish I spoke Spanish in particular because in some parts of the US it's become the majority language.  Not in Berkeley, but it's a pretty close second to English.  I wish I spoke Chinese, too.

shadow_7283 wrote:

I found its lack of flexibility completely frustrating.

Interesting.  Some people complain that C is too flexible.  You can take a pointer to any data type and cast it into a pointer to any other data type.  You can cast an integer into a pointer and then dereference it, to refer directly to a specific memory address.

The notation is a little obscure, though, I grant you.

I speak part Japanese, a little italian, a little french and a little spanish.  Is that enough?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#3786 2011-10-07 04:45:45

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

ssss wrote:

I speak part Japanese, a little italian, a little french and a little spanish.  Is that enough?

Given your Scratch name, you should probably learn Parseltongue next.  smile


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#3787 2011-10-07 05:39:41

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ssss wrote:

I speak part Japanese, a little italian, a little french and a little spanish.  Is that enough?

Given your Scratch name, you should probably learn Parseltongue next.  smile

lol

Offline

 

#3788 2011-10-07 05:40:27

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ssss wrote:

I speak part Japanese, a little italian, a little french and a little spanish.  Is that enough?

Given your Scratch name, you should probably learn Parseltongue next.  smile

I already learnt that.


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#3789 2011-10-07 12:45:05

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: BYOB 3 - Discussion Thread

14God wrote:

I've been learning C for a few days now, my parents are letting me learn C instead of Spanish  big_smile  Wish me luck.

I prefer C++, that is why i made this suggestion.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#3790 2011-10-07 14:13:06

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

@Bharvey, I still have the opportunity to start next year if I change my mind but for now I see little use for me to learn Spanish and I can't bring myself to be interested in it. If I can't see myself using something, I usually can't focus on it. In Europe, countries are smaller and speak a great variety of languages, its more practical for them to learn many langauges then it is for me. I do hear that learning another language is a good experience that makes your mind more flexible so I do intend on learning another language some time soon, but this year I'd like to start learning C and want more time to focus. I also don't like the pressure of grade based motivation on such a new and difficult concept for me so as long as I'm not officially in Spanish class I'm fine with self motivated/self paced study.

In summary: Need time for C, still plan to learn Spanish, C is priority.

Last edited by 14God (2011-10-07 14:14:37)


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#3791 2011-10-07 14:45:59

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

14God wrote:

In summary: Need time for C, still plan to learn Spanish, C is priority.

Lo que flota su barco.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#3792 2011-10-07 17:26:45

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

14God wrote:

In summary: Need time for C, still plan to learn Spanish, C is priority.

Lo que flota su barco.

Thank god for google  big_smile


http://i.imgur.com/zeIZW.png

Offline

 

#3793 2011-10-07 18:00:49

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Harry Potter reference just made my day.  big_smile

My issue with C is the many many specific libraries needed for each situation. (That, and it isn't high-level programming)

Offline

 

#3794 2011-10-08 11:16:32

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

14God wrote:

In summary: Need time for C, still plan to learn Spanish, C is priority.

Suggestion: Rethink about learning C, but maybe Python or Perl or Ruby. These will have much more applications in the real world, are better than C (Sorry, everyone says so  smile  ), and have some qualities of OOP (Ruby is epic).

Personally, I think C is garbage, which sits with C++ and Java in my dumpster, getting ready to be compressed and thrown into the landfill.

EDIT: Something to look at: Python vs. Perl vs. C++

Last edited by Sidharth (2011-10-08 13:42:29)


http://www.danasoft.com/citysign.jpg

Offline

 

#3795 2011-10-08 13:09:36

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Python ftw. I agree, C and Java can go far far away.

Offline

 

#3796 2011-10-08 15:46:57

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

Personally, I think C is garbage, which sits with C++ and Java in my dumpster, getting ready to be compressed and thrown into the landfill.

D: Java isn't garbage.

Minecraft = awesome

Minecraft = Java

Therefore, Java = awesome


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#3797 2011-10-08 16:31:22

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

rubiks_cube_guy238 wrote:

Sidharth wrote:

Personally, I think C is garbage, which sits with C++ and Java in my dumpster, getting ready to be compressed and thrown into the landfill.

D: Java isn't garbage.

Minecraft = awesome

Minecraft = Java

Therefore, Java = awesome

if minecraft was written in another language, more optimised for 3D gaming, then it would be a lot better.


http://i.imgur.com/zeIZW.png

Offline

 

#3798 2011-10-09 12:24:30

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

Personally, I think C is garbage, which sits with C++ and Java in my dumpster, getting ready to be compressed and thrown into the landfill.

<Sigh.> The language wars, round 17.

[Retyping because when I hit "submit" after five paragraphs the hotel told me my free half hour was used up.  sad  ]

1.  The golden rule of learning about computer programming: It's not about learning more languages.  There's still plenty for you to learn about BYOB, let alone the other languages you know.

1.5.  And, if you do want to learn another language, you should pick one outside your comfort zone.  So for example if you know Python and Javascript and you're trying to decide between Ruby and Java, what you really should learn is Prolog, which will teach you about declarative (logic) programming, not just another notation for the same old ideas.

2.  I don't much like C++ or Java either, because I think they incoherently try to be at both a low and a high level of abstraction.  But that criticism doesn't apply to C, which, imho, does a brilliant job of filling a particular niche: a low-level language that exposes the organization of data in memory to the programmer via pointers, which are an important nontrivial idea, even if not on the same level as lambda.  smile   If you want to write a memory manager or a device driver, C's just the ticket.

2.5.  So you might want to learn C in the context of learning about Machine Organization, which is a substring of the titles of several good books such as this one.

3.  What else might you learn instead of another language?  There's Data Structures and Algorithms, there's Computer Graphics, there's Discrete Mathematics, or even Programming Languages, which isn't learning a particular language but learning how languages are implemented.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#3799 2011-10-09 12:58:56

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

I wrote:

Personally, I think C is garbage, which sits with C++ and Java in my dumpster, getting ready to be compressed and thrown into the landfill.

Sorry if I didn't elaborate. I was generalizing and comparing these languages to Python, Perl, and Ruby based on how easy they would be to learn, and the range of possibilities of applications.

bharvey wrote:

If you want to write a memory manager or a device driver, C's just the ticket.

Heh, maybe if novice programmers (ME) wrote device drivers  smile


@rookwood101: THANK YOU! Minecraft uses way too much physical memory! Not necessary. Think about other PC games, they don't destroy your computer if it only has 2GB of RAM. The Java VM is not an option for 3D gaming.

Last edited by Sidharth (2011-10-09 12:59:41)


http://www.danasoft.com/citysign.jpg

Offline

 

#3800 2011-10-09 13:33:23

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

I wrote:

Personally, I think C is garbage, which sits with C++ and Java in my dumpster, getting ready to be compressed and thrown into the landfill.

Sorry if I didn't elaborate. I was generalizing and comparing these languages to Python, Perl, and Ruby based on how easy they would be to learn, and the range of possibilities of applications.

bharvey wrote:

If you want to write a memory manager or a device driver, C's just the ticket.

Heh, maybe if novice programmers (ME) wrote device drivers  smile


@rookwood101: THANK YOU! Minecraft uses way too much physical memory! Not necessary. Think about other PC games, they don't destroy your computer if it only has 2GB of RAM. The Java VM is not an option for 3D gaming.

Your welcome  smile  normal pc games would make me worry if they were using 2GB of my 8GB of ram, but minecraft does that all the time.. which is VERY annoying. Although I can imagine the problem is much worse if all you have is 2Gb  big_smile  I'm not really in trouble with 8  smile


http://i.imgur.com/zeIZW.png

Offline

 

Board footer