Discuss Scratch

Cream_E_Cookie
Scratcher
1000+ posts

Rename the mod block.

You know this block:
(() mod (0))
When i was new, i had no idea what it did. IT actually gives the remainder of those numbers divided.
It should be name like this:
remainder of () / () :: operators reporter
You see, less confusing.
Deerleg
Scratcher
1000+ posts

Rename the mod block.

Support!
gdpr533f604550b2f20900645890
Scratcher
1000+ posts

Rename the mod block.

Support!
Blank1234
Scratcher
500+ posts

Rename the mod block.

no support.

modulus is a main function in programming. if you don't know what it means, you can just right click it, and click help

if we're going to rename it to anything, we should rename it to:
(() % (0) :: operators)

Last edited by Blank1234 (Aug. 30, 2015 23:43:23)

gdpr533f604550b2f20900645890
Scratcher
1000+ posts

Rename the mod block.

Blank1234 wrote:

no support.

modulus is a main function in programming. if you don't know what it means, you can just right click it, and click help
In Scratch, “arrays” are called “lists,” even though most programming languages call them “arrays.” A beginner is more likely to understand “list” than “array.” Why can't mod be renamed?
rollercoasterfan
Scratcher
1000+ posts

Rename the mod block.

Chibi-Matoran wrote:

Blank1234 wrote:

no support.

modulus is a main function in programming. if you don't know what it means, you can just right click it, and click help
In Scratch, “arrays” are called “lists,” even though most programming languages call them “arrays.” A beginner is more likely to understand “list” than “array.” Why can't mod be renamed?
Because it's a realy math function.

No support, it's a real math function. You can google ‘modulo’ and figure out what it means.
thebriculator
Scratcher
100+ posts

Rename the mod block.

Chibi-Matoran wrote:

In Scratch, “arrays” are called “lists,” even though most programming languages call them “arrays.” A beginner is more likely to understand “list” than “array.” Why can't mod be renamed?
If it ain't broke don't fix it. There are a lot of things in scratch that don't correspond to real programming languages. There are also things that aren't even necessary. I too think Scratch is designed to be introductory and simple, but MIT has done a great job of making some things complicated and some things simple. Consider these:
10^ of (), e^ of (), log of (), ln of ()
Anyone who hasn't taken algebra or trigonometry won't know what they are. I'm a HS graduate and have finished 4 terms of college calculus- within that I think the modulus is an amazing tool. Leaving the name as “mod” should generate curiosity in people to find out what that means. Just because there have been a few posts in ‘Questions About Scratch’ asking about the mod doesn't mean that it's too complicated for beginners to understand it, young or old. Consider this: “mod” or “modulus” isn't even the C++ syntax for this function! The syntax is “10 % 3” for “10 mod 3”.

Blank1234 wrote:

you can just right click it, and click help
Touche.

rollercoasterfan wrote:

You can google ‘modulo’ and figure out what it means.
Touche.
__init__
Scratcher
1000+ posts

Rename the mod block.

Rename it to
() % ()::operators reporter

Last edited by __init__ (Aug. 30, 2015 22:26:33)

thebriculator
Scratcher
100+ posts

Rename the mod block.

Cream_E_Cookie wrote:

(…)
remainder of () / () :: operators reporter
You see, less confusing.

__init__ wrote:

Rename it to
() % ()::operators reporter

^^ even more confusing to a beginner
TheAwesomeMaster
Scratcher
1000+ posts

Rename the mod block.

Support. I never figured out what it was until now.
__init__
Scratcher
1000+ posts

Rename the mod block.

thebriculator wrote:

__init__ wrote:

Rename it to
() % ()::operators reporter

^^ even more confusing to a beginner
imo it's better. first of all, with % the user is more likely to right-click and click “Help”, but with “mod” scratchers easily confuse them with scratch mods (modifications). also if the user is more experienced with math they would immediately recognize the % symbol, rather than “mod”.
Znapi
Scratcher
500+ posts

Rename the mod block.

The modulo block is not just a remainder block though, it works a little differently. Try putting in combinations of positive and negative numbers, and you will see. 10 mod 3 gives 1 (the remainder), but -10 mod -3 gives -2 (not the remainder, but rather the remainder + -3).

Last edited by Znapi (Sept. 18, 2015 23:33:25)

ev3coolexit987654
Scratcher
1000+ posts

Rename the mod block.

NO SUPPORT.
Blank1234
Scratcher
500+ posts

Rename the mod block.

Chibi-Matoran wrote:

Blank1234 wrote:

no support.

modulus is a main function in programming. if you don't know what it means, you can just right click it, and click help
In Scratch, “arrays” are called “lists,” even though most programming languages call them “arrays.” A beginner is more likely to understand “list” than “array.” Why can't mod be renamed?
lists are different then arrays.

when you set arrays, you have to set them to only have a certain amount of variables
lists can have infinite
DaSpudLord
Scratcher
1000+ posts

Rename the mod block.

Chibi-Matoran wrote:

Blank1234 wrote:

no support.

modulus is a main function in programming. if you don't know what it means, you can just right click it, and click help
In Scratch, “arrays” are called “lists,” even though most programming languages call them “arrays.” A beginner is more likely to understand “list” than “array.” Why can't mod be renamed?
^^
Support. That block confused me for a while.
ChocolatePi
Scratcher
1000+ posts

Rename the mod block.

ev3coolexit987654 wrote:

NO SUPPORT.
Wow.
Really?
thebriculator
Scratcher
100+ posts

Rename the mod block.

Znapi wrote:

The modulo block is not just a remainder block though, it follows different rules. Try putting in combinations of positive and negative numbers, and you will see. 10 mod 3 gives 1 (the remainder), but -10 mod -3 gives -2 (not the remainder, but rather the remainder + -3).
Now that you mention it I've never thought about negative numbers! That's neat to learn about.

interesting fact:
-10%3=-(10%-3) and 2*(10%3)=(2*10)%(2*3)
which means I think modulus follows the multiplicative rules of distribution

Last edited by thebriculator (Aug. 31, 2015 03:25:10)

charlesdog
Scratcher
1000+ posts

Rename the mod block.

Support!!!
Zro716
Scratcher
1000+ posts

Rename the mod block.

mod can mean modulo/modulus/moduli, modification, and moderator… so it would make sense to clarify it just a little. Using % might be good for users who know real programming, but can easily confuse beginners into thinking it's the percentage of x block. Remainder of x/y clarifies it completely, but it's a bit too long for a simple operation. Especially on some certain projects which make heavy use of the modulo block and will greatly widen if renamed to something more than three letters.

Lots of functions in scratch/other languages are abbreviated for who knows what reasons (less typing?), e.g. sqrt (square root), abs (absolute value), sin (sine), cos (cosine), you get the gist. However I have yet to see anyone who doesn't know what any of those do, and I'm glad it's staying like that. With lots of sources of information for immediately knowing what something does (wiki, search engine, school, tutorials), you'd have to be super lazy to ask someone, and even lazier to not find out at all. just sayin

My verdict is keep it how it is. It's concise, it has little ambiguity when used in the right context, and I have never seen a legit complaint about it.

Last edited by Zro716 (Aug. 31, 2015 05:43:31)

matey1234
Scratcher
1000+ posts

Rename the mod block.

rollercoasterfan wrote:

Chibi-Matoran wrote:

Blank1234 wrote:

no support.

modulus is a main function in programming. if you don't know what it means, you can just right click it, and click help
In Scratch, “arrays” are called “lists,” even though most programming languages call them “arrays.” A beginner is more likely to understand “list” than “array.” Why can't mod be renamed?
Because it's a realy math function.

No support, it's a real math function. You can google ‘modulo’ and figure out what it means.

Powered by DjangoBB