Michel Hermier

Results 438 comments of Michel Hermier

I know that, this would be a best effort solution, not a complete one. To have a complete one, the class compiler would need to remember and resolve this when...

I would say it would have a complexity of O(n^2) but realistically it should be more near of O(n), since it is traversing every possible method to find a an...

Tht capitalization trick can be nice, but in practice it is a huge pain... I'll probably do a deviation on the syntax (at least for my personal use) to remove...

Problems starts to really shows when you are trying to do something like what the original example do: having domain specific constants. But it also shows when you want to...

The problem is that it is not pleasant to the eye (at least for me). Maybe the real problem is that the syntax somehow impose casing so it can be...

There is a quick fix, that was not added to ease writing: forward declaration of class. It would solve a bunch of problems, related to variable lookup...

Your change as the nice property to be able to report the error in the console without debugger.

While I agree it would solve the comment, I'm not sure it is the best way to solve the issue. The fact that stack printing is written in C is...

> but has a huge drawback of being limited at printing native types only. > > *No, this code works with user defined classes also.* (I tested it with >...

Excluding the fact that it can break existing code, I find it not really elegant mainly because it is some kind of method chaining...