News for hackers. Stuff that matters.
Re:Where is Ruby Headed in 2021? by phendrenad2 on Friday November 19, 2021 @03:00PM (#29281597)
That's true, however I think you're misunderstanding how languages work. The Ruby interpreter knows the "type" of everything. How could it not? It was there when you defined a variable, and it was there when you added data to it. It's there when you define interfaces and other things that might affect the type of something. It's perfectly capable of holding all of that information. And there's no meaningful difference between parsing "int x = 3;" and "var x = 3;" in a program.

There are no comments on this comment yet.