Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How to respond to such claims?

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • 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.
 
Marshal
Posts: 67451
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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
Posts: 3479
Mac Objective C Clojure
  • 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.
 
Ranch Hand
Posts: 35
  • 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
    Marshal
    Posts: 67451
    173
    Mac Mac OS X IntelliJ IDE jQuery Java
    • 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
    Posts: 3479
    Mac Objective C Clojure
    • 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).
     
    Ranch Hand
    Posts: 15304
    6
    Mac OS X IntelliJ IDE Chrome
    • 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
    Posts: 3479
    Mac Objective C Clojure
    • 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
    Ranch Hand
    Posts: 15304
    6
    Mac OS X IntelliJ IDE Chrome
    • 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
    Marshal
    Posts: 67451
    173
    Mac Mac OS X IntelliJ IDE jQuery Java
    • 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
    Marshal
    Posts: 67451
    173
    Mac Mac OS X IntelliJ IDE jQuery Java
    • 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
    Posts: 3479
    Mac Objective C Clojure
    • 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.
     
    Thanks tiny ad, for helping me escape the terrible comfort of this chair.
    the value of filler advertising in 2020
    https://coderanch.com/t/730886/filler-advertising
    reply
      Bookmark Topic Watch Topic
    • New Topic