semaphore-protocol / website

Semaphore official website.
http://semaphore.pse.dev/
MIT License
9 stars 17 forks source link

New glossary term: Zero value #21

Closed cedoor closed 1 year ago

cedoor commented 2 years ago

Why do you think it is important?

People may be confused as it is not clear what it is used for and how to choose the right value. Groups are an abstraction of Merkle trees, but it is still necessary to explain how a Merkle tree works for those who want to go deeper.

DezyIC commented 1 year ago

Zero value: variables declared without an explicit initial value are termed 'zero value'.

The zero value is:

0 - for numeric types, false - for the boolean type, and " " - (the empty string) for strings.

Jo-Shino commented 1 year ago

@cedoor Hello. DezyIC already wrote a sample explanation of Zero value above though, may I add it to the glossary on the website?

cedoor commented 1 year ago

Hi @Jo-Shino, that definition doesn't reflect what a zero value is in Semaphore actually. It can even be a number different from 0. Also, that parameter is now defined automatically, so it may not be necessary anymore to have a definition in our glossary 🤔

@vplasencia

Jo-Shino commented 1 year ago

Oh I see, then I'd like to tackle this #46 issue instead of this issue. Is it possible?

vplasencia commented 1 year ago

Hey @Jo-Shino! Sure, go for #46 👍

Jo-Shino commented 1 year ago

thank you!