Re: How to get from A to B (actually, from type "A" to type "B")
On 1/6/2013 3:16 PM, Ramon F Herrera wrote:
On Jan 6, 2:06 pm, Arne Vajh?j <a...@vajhoej.dk> wrote:
On 1/6/2013 2:42 PM, Ramon F Herrera wrote:
Maybe Java lends itself more to the implementation of this type of
feature?
> I doubt it.
>
> The only relevant difference I can think of is that Java
> does not support user defined casts.
I guess I was thinking of "Programming by Example" (Java Window
Builder Pro and XAML type of stuff). In order to implement those
properly, bidirectionally (JavaBeans uses a hack inside the comments)
the language must support Introspection, or at the very least,
Reflection, right?
That is why C# has such a nice graphical generating code tool, but C++
(in the same IDE) lacks it.
Somehow I see the period issue as related.
The easy reflection in Java and makes it easier for the
IDE writers to provide the completion functionality. But
VS has had that for C++ since before C# was invented and
maybe even before Java was invented.
GUI builder and bidirectional GUI builder are different problems
than the completion.
You can certainly create such for C++ GUI's. VS provide such
for .NET Win Forms - well it is C++/CLR but let us ignore
that little difference.
I don't know why VS never had GUI builder for Win32 API and
MFC. I can not see any technical reasons why they could not
have done it, so it is most likely a business decision.
Arne