4 ms·
> You've ignored my earlier point about pure functions that are allowed to have side effects. I was more hoping that you would read what they actually wrote. I
by Tozen 5y ago
> You've ignored my earlier point about pure functions that are allowed to have side effects.
I was more hoping that you would read what they actually wrote. If one bothers to actually click the link on vlang.io which refers to "pure functions" it would go to (https://github.com/vlang/v/blob/master/doc/docs.md#pure-functions-by-default https://github.com/vlang/v/blob/master/doc/docs.md#pure-func...) their documentation where they elaborate on it further.
There you will find, "V is not a purely functional language however".
You are arguing (or condemning) from the perspective of what is a pure function, where there are various opinions about such. V's documentation gives their interpretation and explanation on what is a "pure function".
Thus they are not lying, attempting to deceive, or hiding anything. Click the link, get their explanation about pure functions. Arguing about the "purity" of pure functions or the possibility of side effects happening, is somewhat similar to arguing about what is or is not "real" OOP. There are different interpretations of such. It can become a more philosophical debate than about practical programming.
> ...to be constantly accused of something I'm not doing...
Reading your other comments on this thread (in other locations), it does appear that you are a Go language supporter. Nothing wrong with that and you are definitely entitled to your opinion. Not saying you are doing anything malicious, but rather people are allowed to also have a different opinion to what you have stated, or like the V language as you appear to with Go.