File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to respond to such claims?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
A lot of savvy web developers don't like generated code, some like to have full control on what being done, others may don't trust the generated code.
How to respond to these claims?
Personally, I believe in GWT and I can't imagine building an enterprise Ajax application without it and I'm pretty sure the generated code is much, much more better than mine.
Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can't come up with any compelling reasons that generated code and maintaining a UI in Java code is superior, perhaps there aren't very many?
[ November 15, 2007: Message edited by: Bear Bibeault ]
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For me, maintaining a Java code is much more easier than maintaing JavaScript code.
I was working on HTML page that is supposed to create HTML DOM elements at runtime as the user is clicking on some buttons.
No need to say it is a nightmare due browsers incompatibilities.
For the generated JavaScript from GWT compiler, I have a blind faith that Google is putting their JavaScript
experience in GWT.
 
Josh Brown
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Todd:
For the generated JavaScript from GWT compiler, I have a blind faith that Google is putting their JavaScript experience in GWT.


I'd recommend against using this statement to convince others that GWT is a great tool. From my experience, blind faith is never a convincing argument.

Some questions to think about:
  • Does the generated code perform better than hand written code?
  • Does generated code speed up the development process?
  • Is there a reason not to trust the generated code? Any evidence?


  • Perhaps searching for the answers to these questions will help you answer your origninal question. I'm not going to tell you one way is better - in order for you to argue your point effectively, you'll have to find out what their issues are with generated code and address them appropriately. Ask why they don't trust it, and structure your argument in a way that addresses their specific concerns.
    [ November 16, 2007: Message edited by: Josh Brown ]
     
    Bear Bibeault
    Author and ninkuma
    Marshal
    Pie
    Posts: 64188
    83
    IntelliJ IDE Java jQuery Mac Mac OS X
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by Josh Brown:
    blind faith is never a convincing argument.
    Indeed. You might as well just say "I have no evidence whatsoever to base my assertions upon so I'm just making something up".
     
    Hussein Baghdadi
    clojure forum advocate
    Bartender
    Posts: 3479
    Clojure Mac Objective C
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Does generated code speed up the development process?

    My personal experience with GWT, I say yes.
    Does the generated code perform better than hand written code?

    According to Google yes and the pay attention to Internet Explorer memory leaks.
    Yes, I understand Google is trying to sell us a software and it is not possible to say it is a bad one but with their all great web based applications (GMail, Reader, Docs, Maps), I think their argument is valid.
    Sorry if I looked GWT fanatic but GWT gives me the ability to build a fancy Ajax applications without worrying about JavaScript issues (I'm not a web developer).
     
    Gregg Bolinger
    GenRocket Founder
    Ranch Hand
    Posts: 15302
    6
    Chrome IntelliJ IDE Mac OS X
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by John Todd:
    Sorry if I looked GWT fanatic but GWT gives me the ability to build a fancy Ajax applications without worrying about JavaScript issues (I'm not a web developer).


    Great! Then use it. I choose not to.

    How to respond to these claims?

    Why do you feel you need to respond?
     
    Hussein Baghdadi
    clojure forum advocate
    Bartender
    Posts: 3479
    Clojure Mac Objective C
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Great! Then use it. I choose not to

    Would you please tell us why?
    Why do you feel you need to respond?

    No need
    But as the ranch is hosting Mr. Ryan, it is nice to ask the expert.
    Me too, I don't like generated code (particularly Java code) but GWT benefits were great to me.
     
    Gregg Bolinger
    GenRocket Founder
    Ranch Hand
    Posts: 15302
    6
    Chrome IntelliJ IDE Mac OS X
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Would you please tell us why?

    Because I prefer something else that makes my development easier.
     
    Bear Bibeault
    Author and ninkuma
    Marshal
    Pie
    Posts: 64188
    83
    IntelliJ IDE Java jQuery Mac Mac OS X
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by John Todd:
    gives me the ability to build a fancy Ajax applications without worrying about JavaScript issues (I'm not a web developer).

    Which makes you GWT's target audience -- people who know little about web development. Most web developers would find it much easier to write the code for real rather than faking it with generated code.

    Sort of like the Hamburger Helper of web development.
     
    Bear Bibeault
    Author and ninkuma
    Marshal
    Pie
    Posts: 64188
    83
    IntelliJ IDE Java jQuery Mac Mac OS X
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    P.S. This in no way denigrates our guest's book, which I'm sure is wonderful. It is merely my opinion on the target audience for tools such as GWT.
     
    Hussein Baghdadi
    clojure forum advocate
    Bartender
    Posts: 3479
    Clojure Mac Objective C
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I use Prototype & Scriptaculous, I'm not that bad :roll:
    jQuery is also on my list.
     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic