-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does EO allow null
values?
#3545
Comments
@yegor256 Could you help here, please? |
@volodya-lombrozo the "empty bytes" is not null. Instead, it's similar to |
@yegor256 What's the difference with |
@volodya-lombrozo even though we claim that "we don't have NULL", there is something that people may consider to be NULL in EO. We can do this, in EO (pseudo-code):
Here, we can think that |
@volodya-lombrozo here,
|
@yegor256 However, if I try to access
|
@volodya-lombrozo indeed, if you do |
@yegor256 What about just |
@volodya-lombrozo if you say |
@yegor256 I guess it's related to this issue more #3546. I don't use |
@volodya-lombrozo did I answer the original question? Or still not clear why NULL is here?) |
@yegor256 You answered, yes, thank you! Actually However, as for Maybe we can mention these important findings somewhere in the README? What do you think? |
@volodya-lombrozo we can write a blog post about it: objectionary/news.eolang.org#74 |
@yegor256 Blog posts are just news. We need a proper reliable documentation. |
@volodya-lombrozo we don't have "language manual" so far, we use blog posts instead, while the language is in active development |
@yegor256 Even if it's in active development, it's better to have some document to rely on. Otherwise, it makes the development of tools related to the language extremely hard. Blog posts do not solve the problem—they aren't reliable. To put it another way, just as an analogy: If I want to make people use my imaginary "server," I need to provide an API for them. Otherwise, how will they know about the endpoints and in what format to make HTTP requests? The same applies here. Of course, we can say that we are in "development," but that means we block the development of tools around the language. |
@volodya-lombrozo I can move this ticket to this repo: https://github.com/objectionary/eo-book Eventually, we will put this information into the book. How does this sound? |
@yegor256 a bit better. Thank you. |
I thought, that EO doesn't use
null
objects, references or values. I read it from this README excerpt:However, from this comment I can see, that EO actually can define some mysterious "empty" bytes which are null values actually:
It seems, we need to fix the README and say the truth.
The text was updated successfully, but these errors were encountered: