Hacker News new | past | comments | ask | show | jobs | submit login

doh! good point.

I am not able to spin that into "And besides it's better to force it to be in two files anyway!", I don't think it is, but I guess it's not so easy to do different.




Header files suck. Anything is better than a separate file.


> Anything is better than a separate file.

I dunno. Massive breakages of backward compatibility in an established language may not be better than that.


It is a major version change, right? It seems like the best time to introduce some breaking changes for the betterment of the language.


Syntax changes of this magnitude would make the Python 3 migration timeline look quick and painless.


If we could write tests in .rbs files it would more naturally fit into existing 2 file workflows.

Mind you, if we could write tests in .rbs then I guess .rbs could form the basis of a new ruby syntax without breaking compatibility with old code in .rb files.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: