Thursday, December 12, 2013

Re: GWT/JavaScript code generation tool

What if there were some level of interaction? for instance "tick the types supported" whenever it's ambiguous, and then it generates accordingly.


On Wednesday, 11 December 2013 20:19:26 UTC+1, Jens wrote:
For example take the following JS code

function doSomething(o){

}

How would a tool what the type of o is. Object ? Number ? String ? 


That's what I thought too and I think thats the reason why such a tool does not exist. JavaScript is too dynamic to make such code generation work reliably.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment