Object Oriented System Enhancement Proposal. (REP-2) #49
Labels
enhancement
New feature or request
OOP
Object Oriented Programming
proposal
Radon Enhancement Proposal (REP)
syntax
Language Syntax
Milestone
We are making Radon a true object oriented language like Python. We are willing to add almost all natures a OOP language supports.
class
keyword support.BuiltInClass
functionality to add built in classes like we haveBuiltInFunctions
. We have mentioned this on Need BuiltInClass or Object for defining internal classes. #23BuiltInInstance
to handle classes objective behaviours.A basic sudo implementation of OOP in Radon will be like this.
__add__
we can set__sub__
,__mul__
,__div__
,__len__
etc. more will be added as we move forward.len(object)
to get length from a class which will be come from__len__
. And will support more methods so on... #120__constructor__
.__destructor__
method to delete the object. #93fun
and it will be fixed untill any second thoughts arrives. Methods will be same like functions.pass
keyword support. #88...
orEllipsis
support. #89del
to delete objects. #92static
keyword support for static methods.Realistic OOP behaviors.
abstract
keyword support.public
,private
,protected
keyword support.Operator overloading is a part of polymorphism, which is already done.
If anything missing, will be updated later.
We will update this issue as we change our plans.
The text was updated successfully, but these errors were encountered: