Discuss Scratch

Tierage27
Scratcher
100+ posts

if <> then

This may seem weird, but I don't remember there being a then there. Was that just added? I don't think I saw it 30 minutes ago when making a few scripts and blocks.
Laternenpfahl
Scratcher
500+ posts

if <> then

Yeah, it was added. I dislike it.
bobbysq
Scratcher
100+ posts

if <> then

Despite the fact that that's how it's worded in every other programming language?
veggieman001
Scratcher
1000+ posts

if <> then

bobbysq wrote:

Despite the fact that that's how it's worded in every other programming language?
Since when?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
Laternenpfahl
Scratcher
500+ posts

if <> then

veggieman001 wrote:

bobbysq wrote:

Despite the fact that that's how it's worded in every other programming language?
Since when?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
Obj-c (:-/) also
veggieman001
Scratcher
1000+ posts

if <> then

Laternenpfahl wrote:

veggieman001 wrote:

bobbysq wrote:

Despite the fact that that's how it's worded in every other programming language?
Since when?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
Obj-c (:-/) also
By C/++/# I just meant versions of C.
bobbysq
Scratcher
100+ posts

if <> then

veggieman001 wrote:

bobbysq wrote:

Despite the fact that that's how it's worded in every other programming language?
Since when?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
Lua, but I guess that's considered “BASIC-like”
botcrusher
Scratcher
500+ posts

if <> then

for the less serious programers as an example the lego coding system (i dont mean nxt) is worded like that
veggieman001
Scratcher
1000+ posts

if <> then

bobbysq wrote:

veggieman001 wrote:

bobbysq wrote:

Despite the fact that that's how it's worded in every other programming language?
Since when?
Not in Java, C/++/#, JavaScript, Python, PHP…etc.
Still, it's worded like that in several BASIC-like languages. I think it makes more sense TBH because it helps explain why it's got a little hole in the middle a little better for beginners. Plus it's like the exact same block so it's not really that big of a deal.
Lua, but I guess that's considered “BASIC-like”
I don't think it is considered BASIC-like, actually, but I'm not familiar with its syntax so that'd explain why I excluded it. ^^
Nomolos
Scratcher
100+ posts

if <> then

Yeah, I don't like this ‘then’ either. Why can't they keep it to just ‘if <>’?!
Tierage27
Scratcher
100+ posts

if <> then

Nomolos wrote:

Yeah, I don't like this ‘then’ either. Why can't they keep it to just ‘if <>’?!
I think it's because that then makes it more simple, and like some other programming languages.

Powered by DjangoBB