Hey guys,
is it possible to always remove ambiguity? May be by changing precedence?
Can you always do it? Or no?
Hey guys,
is it possible to always remove ambiguity? May be by changing precedence?
Can you always do it? Or no?
I don't know about other languages, but in c++ I think it is always possible to remove it, because there is such a thing as namespaces and function overloading. Often an "ambiguous" error message means there is a programming error in the parameters (such as mis-matched data types) and the compiler doesn't know which of several overloaded functions/methods to call.
I meant not in a particular language, in a grammar is it possible?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.