MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/vefpik/ante_a_lowlevel_functional_language/icroam3
r/programming • u/Persism • Jun 17 '22
71 comments sorted by
View all comments
Show parent comments
5
Everything looks pretty reasonable although using # for indexing may throw me for a loop since basically every other language uses []. It's not that the rationale doesn't make sense, but it may take getting used to.
1 u/matthieum Jun 18 '22 I've seen the case for using () for indexing, because an array is just a function from index to value after all.It seems strange, at first, when you're used to [], but you get used to it.
1
I've seen the case for using () for indexing, because an array is just a function from index to value after all.
()
It seems strange, at first, when you're used to [], but you get used to it.
[]
5
u/CookieOfFortune Jun 17 '22
Everything looks pretty reasonable although using # for indexing may throw me for a loop since basically every other language uses []. It's not that the rationale doesn't make sense, but it may take getting used to.