You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just to start a dialog. I love crystal and what the team has done thus far.
One thing I dislike about ruby is the ambiguity of the require syntax. I don't think requires should become global objects or constants. You should be able to control the assignment of other dependencies in the language. As someone who is debugging a certain file, I believe it is much easier to chase the rabbit when your dependencies are specified locally.
Other languages where this exists:
Go
Python
Node.js
ES6
The text was updated successfully, but these errors were encountered:
jwaldrip
changed the title
Discussion: Disambiguity of requires
Discussion: Disambiguation of requires
Jun 21, 2016
I think we discussed this pretty throughout by now and I still feel like it doesn't fit into some of the core language design decisions already taken, at all.
One thing I dislike about ruby is the ambiguity of the require syntax. I don't think requires should become global objects or constants. You should be able to control the assignment of other dependencies in the language. As someone who is debugging a certain file, I believe it is much easier to chase the rabbit when your dependencies are specified locally.
Other languages where this exists:
The text was updated successfully, but these errors were encountered: