You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and so on. Construct new numbers looks trivial (and when you see repesentation of eg. number 4 it is easy to count pattern). In new way, the plus + "means" only adding numbers (cast is implicite - exept 0 and 1 where we use it to cast directly). Also edit number by hand (increasing or decreasing) is easy.
In my opinion this way of write numbers is more easy and redable than old way (which is based on true => !+[])
for person who see old representation first time, it is not trivial task to construct number 3,4,... - also when you look on number 4 it is hard to count pattern and recognize it. Here + character has "not easy" meaning. Edit that number by hand (increasing/decreasing) is no easy
The text was updated successfully, but these errors were encountered:
Hi I found following alternative representation for number 1 based on
true => !![]
(and I construct other numbers using it)0 => +[]
1 =>+!![]
2 => !![]+!![]
3 => !![]+!![]+!![]
4 => !![]+!![]+!![]+!![]
and so on. Construct new numbers looks trivial (and when you see repesentation of eg. number 4 it is easy to count pattern). In new way, the plus
+
"means" only adding numbers (cast is implicite - exept 0 and 1 where we use it to cast directly). Also edit number by hand (increasing or decreasing) is easy.In my opinion this way of write numbers is more easy and redable than old way (which is based on
true => !+[]
)0 => +[]
1 =>+!+[]
2 => !+[]+!+[]
3 => !+[]+!+[]+!+[]
4 => !+[]+!+[]+!+[]+!+[]
for person who see old representation first time, it is not trivial task to construct number 3,4,... - also when you look on number 4 it is hard to count pattern and recognize it. Here
+
character has "not easy" meaning. Edit that number by hand (increasing/decreasing) is no easyThe text was updated successfully, but these errors were encountered: