Skip to content
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

Error Syntax #109

Open
benthehenten opened this issue Dec 15, 2014 · 3 comments
Open

Error Syntax #109

benthehenten opened this issue Dec 15, 2014 · 3 comments

Comments

@benthehenten
Copy link
Contributor

Dan and I are wondering what y'all think:

Currently in the LRM, errors are defined like this:

error e = error( ... ); 

Since this looks a lot like instantiating an object, might it make sense to put the new keyword before the error (to keep continuity across the language), and potentially capitalize Error

error e = new error( ... );

or

Error e = new Error( ... );

@rapid-lang/owners

@natebrennand
Copy link
Contributor

i'm indifferent

@schlosser
Copy link
Contributor

I think we should move to new Error

On Mon Dec 15 2014 at 12:22:01 AM Nate [email protected] wrote:

i'm indifferent


Reply to this email directly or view it on GitHub
#109 (comment).

@bfish713
Copy link
Contributor

I agree with new Error()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants