objectionary / eo

EOLANG, an Experimental Pure Object-Oriented Programming Language Based on 𝜑-calculus
https://www.eolang.org
MIT License
1.01k stars 126 forks source link

Atom `go` not needed #3215

Closed Chamber6821 closed 3 months ago

Chamber6821 commented 3 months ago

Now this atom is not used anywhere. And the only viable point to use is already implemented without go in pure EO - atom while

I think atom go must be removed

github-actions[bot] commented 3 months ago

@Chamber6821 thanks for the report, here is a feedback:

Problems

I would recommend adding software version and operating environment details for better context and easier bug reproduction.

Please fix the bug report in order it to get resolved faster. Analyzed with gpt-4

yegor256 commented 3 months ago

@Chamber6821 we understand it's anti-OOP nature, but we do need it for some programs, which are translated from procedural programming languages, like C, for example. Just having while may not be enough for them.

Maybe we should explain this in the docblock of the go object. @maxonfjvipon wdyt?

Chamber6821 commented 3 months ago

@yegor256 may be atom go should be moved to special package for compatibility with other languages?

Chamber6821 commented 3 months ago

@maxonfjvipon may be atom go should be moved to special package for compatibility with other languages?

maxonfjvipon commented 3 months ago

@Chamber6821 go is not atom actually, it's just a regular object. Atoms are objects that implemented on some back-end language, like int.plus or dataized. Speaking about special package - I'm not sure but it seems that there will be only one object go in this package)

Chamber6821 commented 3 months ago

@maxonfjvipon I think this package could contain objects that have direct representation in other languages, for example switch case

maxonfjvipon commented 3 months ago

@Chamber6821 switch is quite convenient object and it would be not reasonable to move it out from eo-runtime. The object go is good candidate for such movement but for now there's only one such object so it's not really rational

maxonfjvipon commented 3 months ago

@Chamber6821 I'm closing it for now because there'll be no activity here. We can get back to the topic when we fix some critical issues