arturo icon indicating copy to clipboard operation
arturo copied to clipboard

[Exceptions/throws?] rename function?

Open github-actions[bot] opened this issue 11 months ago • 0 comments

[Exceptions/throws?] rename function? if not though it appears a natural name, every time I look at this function I think it does sth different than what it actually does, and - in connection with throw - in the end there may be something confusing... No real suggestion from me here, just stating it - so that I don't end up forgetting about it myself... lol

https://github.com/arturo-lang/arturo/blob/4bed4542b3306aaeb55fe7d11f5193b2f90c3fef/src/library/Exceptions.nim#L98

            raise error 

    # TODO(Exceptions/throws?) rename function?
    #  if not though it appears a natural name, every time I look
    #  at this function I think it does sth different than what it 
    #  actually does, and - in connection with `throw` - in the end
    #  there may be something confusing... No real suggestion from me
    #  here, just stating it - so that I don't end up forgetting about
    #  it myself... lol
    #  labels: open discussion, error handling, library
    builtin "throws?",
        alias       = unaliased, 
        op          = opNop,

423319b8f4626dd165c172aaf69d763740f44e1b

github-actions[bot] avatar Mar 15 '24 16:03 github-actions[bot]