Discuss Scratch
- theonlygusti
-
1000+ posts
Scratch 3 should be case sensitive
<[a] = [A]> // false
(uppercase of [theonlygusti] :: operators) // THEONLYGUSTI
(lowercase of [DaSpudLord] :: operators) // daspudlord
- gdpr533f604550b2f20900645890
-
1000+ posts
Scratch 3 should be case sensitive
Would certain projects become broken if the behavior of the equality block were to be changed?
- theonlygusti
-
1000+ posts
Scratch 3 should be case sensitive
Would certain projects become broken if the behavior of the equality block were to be changed?
Yes
- theonlygusti
-
1000+ posts
Scratch 3 should be case sensitive
Text engines, base64, username encryption, username decryption, cloud projects, understanding other programming languages, passwords, best practices, sanitising user input, understanding how a computer handles characters internally, the list goes on it would in fact be useful for text engines.
- The4thPixel
-
1000+ posts
Scratch 3 should be case sensitive
I don't support because you can just type the values out in upper or lower case manually. If the ST really needs to take the time to make a block like this which such an easy workaround, then we're probably the laziest generation of all time. GG.
- dude341
-
1000+ posts
Scratch 3 should be case sensitive
No support, like many others have said, this would break lot's of projects, and the workaround is easy.
- Firedrake969
-
1000+ posts
Scratch 3 should be case sensitive
You're forgetting about user input. I don't support because you can just type the values out in upper or lower case manually. If the ST really needs to take the time to make a block like this which such an easy workaround, then we're probably the laziest generation of all time. GG.
- gdpr533f604550b2f20900645890
-
1000+ posts
Scratch 3 should be case sensitive
What do you mean? The suggestion isn't about typing out the string literal; it's about making Scratch compare characters and strings differently! I don't support because you can just type the values out in upper or lower case manually. If the ST really needs to take the time to make a block like this which such an easy workaround, then we're probably the laziest generation of all time. GG.
Even though I said that projects would be broken, I still support this suggestion. Also, would you mind providing a convenient workaround? No support, like many others have said, this would break lot's of projects, and the workaround is easy.
EDIT: Firedrake969 ninja'd me again! >

Last edited by gdpr533f604550b2f20900645890 (Jan. 8, 2017 19:10:16)
- SuperHal989
-
88 posts
Scratch 3 should be case sensitive
There should be a seperate block for case sentitive __ = __, and leave the current one as is.
- gdpr533f604550b2f20900645890
-
1000+ posts
Scratch 3 should be case sensitive
Thank you for providing a solution to the backwards-compatibility problem instead of engaging in sophistry like the forum regulars. There should be a seperate block for case sentitive __ = __, and leave the current one as is.
- Empty-Map
-
100+ posts
Scratch 3 should be case sensitive
Wow I was about to create a post about the exact thing. My reasons for why I agree:
1) There are workarounds for (A = a - True)
2) There are no workarounds for (A = a - False)
That one reason should be enough to make the scratch team reconsider. If anyone does find a workaround for (A = a - False) then please tell me cause I'm working on a game which requires that.
1) There are workarounds for (A = a - True)
2) There are no workarounds for (A = a - False)
That one reason should be enough to make the scratch team reconsider. If anyone does find a workaround for (A = a - False) then please tell me cause I'm working on a game which requires that.
- theonlygusti
-
1000+ posts
Scratch 3 should be case sensitive
The suggestion isn't about typing out the string literal; it's about making Scratch compare characters and strings differently!
No it isn't; it's about making these all report false:
<[Hello] = [hello]>
<[theonlygusti] = [TheOnlyGusti]>
<(letter (1) of [abracadabra]) = [A]>
- theonlygusti
-
1000+ posts
Scratch 3 should be case sensitive
Lol, when do you ever have to compare two non-variables? Think about it, this feature would be most useful in the following cases: I don't support because you can just type the values out in upper or lower case manually.
<(letter (i) of (CHARACTERSET)) = (letter (j) of (username))>
<(answer) = [PasSwOrd123]>
<(letter (i) of (string :: custom-arg)) = (letter :: custom-arg)>
GG.
Out of interest, what does that mean? At the end of your post?
- gdpr533f604550b2f20900645890
-
1000+ posts
Scratch 3 should be case sensitive
That's what I'm saying. Currently, Scratch ignores case when comparing characters and strings, but you want the case to matter. The4thPixel was saying something about typing the string value.The suggestion isn't about typing out the string literal; it's about making Scratch compare characters and strings differently!
No it isn't; it's about making these all report false:<[Hello] = [hello]>
<[theonlygusti] = [TheOnlyGusti]>
<(letter (1) of [abracadabra]) = [A]>
EDIT: Oh, I see the ambiguity in my sentence; it could also mean that characters and strings should not be equal. Just ignore the part about characters; I consider the “letter n of str” block to report a character, but I guess Scratch doesn't have chars.
Last edited by gdpr533f604550b2f20900645890 (Jan. 8, 2017 20:38:02)
- theonlygusti
-
1000+ posts
Scratch 3 should be case sensitive
But Scratch does not differentiate between characters and strings, and I am not suggesting that they start doing this. I feel that all strings should be treated case-sensitively, regardless of their length. That's what I'm saying. Currently, Scratch ignores case when comparing characters and strings, but you want the case to matter. The4thPixel was saying something about typing the string value.
- gdpr533f604550b2f20900645890
-
1000+ posts
Scratch 3 should be case sensitive
I understand that. Did you see my edit? My wording was ambiguous.But Scratch does not differentiate between characters and strings, and I am not suggesting that they start doing this. I feel that all strings should be treated case-sensitively, regardless of their length. That's what I'm saying. Currently, Scratch ignores case when comparing characters and strings, but you want the case to matter. The4thPixel was saying something about typing the string value.
EDIT: Here is what I meant in simple terms:
Currently:
"a" == "A" //true
"a" == "A" //false
"a" == "A" //false
'a' == 'A' //false
'a' == "a" //false
Last edited by gdpr533f604550b2f20900645890 (Jan. 8, 2017 20:46:49)
- 1a3c5e7g9i
-
100+ posts
Scratch 3 should be case sensitive
workaround is easy.Please show me what it is. No support, like many others have said, this would break lot's of projects, and the
Are you being sarcastic or supportive?Thank you for providing a solution to the backwards-compatibility problem instead of engaging in sophistry like the forum regulars. There should be a seperate block for case sentitive __ = __, and leave the current one as is.
- gdpr533f604550b2f20900645890
-
1000+ posts
Scratch 3 should be case sensitive
I'm being supportive.workaround is easy.Please show me what it is. No support, like many others have said, this would break lot's of projects, and theAre you being sarcastic or supportive?Thank you for providing a solution to the backwards-compatibility problem instead of engaging in sophistry like the forum regulars. There should be a seperate block for case sentitive __ = __, and leave the current one as is.
- 1a3c5e7g9i
-
100+ posts
Scratch 3 should be case sensitive
Ok then.I'm being [highlight] -snip-supportive[/highlight].Are you being sarcastic or supportive? -snip-
Thank you for providing a solution to the backwards-compatibility problem instead of engaging in sophistry like the forum regulars.
———————————————————————————–
What would it look like? This?: There should be a seperate block for case sentitive __ = __, and leave the current one as is.
<"case sensitive"[foo] = "case sensitive"[Foo]::operators>Or something different?
- Sheep_maker
-
1000+ posts
Scratch 3 should be case sensitive
A separate case sensitive equals operator has already been suggested.
<[a] is exactly [A]::operators>