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

#1 2010-02-22 15:34:44

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

The If Else block - is it considered an "E" block, or a "Fork" Block

I need this information for a wiki. :)

All of the blocks on scratch can be categorized. One of the most common ways is by color/category; Motion, Control, Looks, etc. But another way is by the shape of the block. There are reporter blocks, there are stack/command blocks, there are C blocks (forever, if, repeat etc.), and a lot more... but what is the if else block?

In the scratch reference guide, it considers the forever, if, repeat () blocks and more, all "C" blocks. But what about If Else? From what I know, it doesn't mention what that is categorized into.

At first, without even knowing about this issue, somebody added the category "Fork" block. I said on the talk page, "Are you sure that it's called a 'Fork' Block :P It sounds a little silly. If it's unnofficial, I don't really mind too much, but I think it would be cool if I asked people what it would be called :P" So that's what I'm doing now. But also recently, somebody mentioned, if the forever blocks and if blocks are "C", than shouldn't If else be another letter, like "E"? So that's another possible idea.

So what do you say? Fork, or E, or something else that the scratch team never told us about? Discuss :)


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

Offline

 

#2 2010-02-22 15:40:29

Cnor
Scratcher
Registered: 2010-01-29
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Its a fork, as it can go either way like a fork in the road, or a fork in chess where you can take either peice, though in scratch (& other languages) it's because it can take either command.


See that post up there ^^^
That post was done by me  wink

Offline

 

#3 2010-02-22 16:27:29

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Cnor wrote:

Its a fork, as it can go either way like a fork in the road, or a fork in chess where you can take either peice, though in scratch (& other languages) it's because it can take either command.

The reason I'm calling it a "fork", is because usually a fork has 3 eh... what do you call em? Throngs or something? So a if else block has 3 pars sticking out from the center, so that's what I'm calling it that.


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

Offline

 

#4 2010-02-22 16:52:49

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Lucario621 wrote:

Cnor wrote:

Its a fork, as it can go either way like a fork in the road, or a fork in chess where you can take either peice, though in scratch (& other languages) it's because it can take either command.

The reason I'm calling it a "fork", is because usually a fork has 3 eh... what do you call em? Throngs or something? So a if else block has 3 pars sticking out from the center, so that's what I'm calling it that.

You'd call them "prongs".  tongue

And I genuinely don't know what it's called technically. But I would call it an "E" block, normally. Although, following that train of thought, a forever block should be called an "O" block, because it has an arrow pointing back to the top. Which it isn't. So I think it should be a fork block, by my logic.


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#5 2010-02-22 17:03:32

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Wolfie1996 wrote:

Lucario621 wrote:

because usually a fork has 3 eh... what do you call em? Throngs or something?

You'd call them "prongs".  tongue

Oh yeah, now I remember...


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

Offline

 

#6 2010-02-22 17:06:21

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

An "E" block - My forks have 4 prongs.

Offline

 

#7 2010-02-22 17:23:32

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

The-Whiz wrote:

An "E" block - My forks have 4 prongs.

Lol.

I don't think my fork has 3 prongs either, but they usually do in the cartoons  tongue


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

Offline

 

#8 2010-02-22 17:40:36

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Since others have pointed out that forks don't always have 3 prongs, I think it's an "E" block.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#9 2010-02-22 19:23:13

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

I just call it an "Else" block.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#10 2010-02-22 19:38:18

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Why not call it a Fork because it forks?  hmm


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#11 2010-02-22 19:47:12

Larry828
Scratcher
Registered: 2007-05-30
Posts: 100+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Lucario621 wrote:

Cnor wrote:

Its a fork, as it can go either way like a fork in the road, or a fork in chess where you can take either peice, though in scratch (& other languages) it's because it can take either command.

The reason I'm calling it a "fork", is because usually a fork has 3 eh... what do you call em? Throngs or something? So a if else block has 3 pars sticking out from the center, so that's what I'm calling it that.

There's another term used for the things that stick out of the end of a fork: "tines".

(That's incredibly important to know.)   smile

Offline

 

#12 2010-02-22 19:59:54

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Why don't you call it an E fork? Or a ForkE?  tongue

Accually, I like fork block better. It's like a fork in the road, you go down the program and if something is true you take one road and if it isn't you take the other. (Strange metaphore)

Fork... what a strange word.


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#13 2010-02-22 22:42:10

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

We agree.  big_smile


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#14 2010-02-22 23:12:46

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

E block makes more sense. Don't know why they chose "fork"...


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#15 2010-02-22 23:38:58

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Because it forks.  tongue

To fork is to split into two paths... like the else block.

(Uh-oh, this could become a full-sized argument...  yikes )


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#16 2010-02-23 15:35:53

Cnor
Scratcher
Registered: 2010-01-29
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

It's a fork block.

[blocks]
<if> Something can go either way
  <( It  <=> A fork  )>
<else>
You're an idiot  tongue
<end>[/blocks]

Only joking at the idiot bit.

But it's a fork block people.

Last edited by Cnor (2010-02-23 15:36:19)


See that post up there ^^^
That post was done by me  wink

Offline

 

#17 2010-02-23 20:46:39

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

It is easier to consider this block when you consider the programmking constructs behind scratch blocks.
In text based languages, there are generally 3 different command types:
1) function. This returns a value, and takes multiple arguments. Examples in scratch are all of the numbers blocks (with pointed or round ends).
2) Procedure (or command). This simply does something.
3) statement. This separates sections of code, and controls what to do with them. conditionals and loops fit into these.
The bars are statements, in that they control how sections of code are executed. The if..else block simply takes two blocks of code.
In this sense, they are 'double bars.'
When scratch gets switch case or if..ifelse..else syntax, they will just become 'multi bars.'

So given this, no, they are not E's or forks.


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#18 2010-02-23 20:51:46

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Larry828 wrote:

Lucario621 wrote:

Cnor wrote:

Its a fork, as it can go either way like a fork in the road, or a fork in chess where you can take either peice, though in scratch (& other languages) it's because it can take either command.

The reason I'm calling it a "fork", is because usually a fork has 3 eh... what do you call em? Throngs or something? So a if else block has 3 pars sticking out from the center, so that's what I'm calling it that.

There's another term used for the things that stick out of the end of a fork: "tines".

(That's incredibly important to know.)   smile

You are correct. I had something related to that happen earlier.

I believe it was:
My dad was joking around about sporks along time ago, and called it a foon.
Then on Wikipedia they referredd to both. And then I forgot the name of tines.

So yeah . . . it's a fork block to me also.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#19 2010-02-24 15:46:28

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

I consider it a 42 block.

Meh, I say E


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#20 2010-02-24 17:44:36

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

Does it really matter? Just pick one  tongue

Offline

 

#21 2010-02-24 19:22:07

CloudTails
Scratcher
Registered: 2010-01-04
Posts: 39

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

It's probably a combo block, combining two "ifs"


Warning: may induce laughter.

Offline

 

#22 2010-02-24 21:55:37

DarkMark3
Scratcher
Registered: 2009-06-18
Posts: 500+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

The-Whiz wrote:

An "E" block - My forks have 4 prongs.

my forks have 4 prongs too! *<(8)>--<


http://img841.imageshack.us/img841/7403/vamp3m.gif

Offline

 

#23 2010-02-24 21:56:46

DarkMark3
Scratcher
Registered: 2009-06-18
Posts: 500+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

juststickman wrote:

I consider it a 42 block.

Meh, I say E

42!!!!!!!!! I also own the acount 421ist


http://img841.imageshack.us/img841/7403/vamp3m.gif

Offline

 

#24 2010-02-26 23:16:10

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

E
<if>
<else>
<end>

Offline

 

#25 2010-02-26 23:18:52

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: The If Else block - is it considered an "E" block, or a "Fork" Block

But... it forks!  yikes


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

Board footer