SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Member
    Join Date
    Jan 2014
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why learn to code when you can just use a WYSIWYG editor?

    I've been learning to code for a couple of months now but I can see many developers around me using WYSIWYG editors. What are the advantages, if any, of learning code and how far can you go with WYSIWYG editors?

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,807
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    WYSIWYAG editors produce extremely poor code in most cases. There are a few where if you do everything exactly right you get almost correct code but learning how to use the editor to do that will take at least as long as learning to code by hand.

    Most professionals I know only use the WYSIWYAG mode as a quick way to check if what they hand coded looks approximately right before they check it in various browsers.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Zealot bronze trophy mawburn's Avatar
    Join Date
    Apr 2014
    Posts
    193
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Everything can be explained differently.

    Are you talking about styling and CSS? Or are you talking about Visual Programming?

  4. #4
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,395
    Mentioned
    81 Post(s)
    Tagged
    3 Thread(s)
    I like to have more control over my code and WYSIWYG editors are to restrictive.
    I use php and for example I can generate pages of images from a folder with a few lines of code and some css; when a new image is put into the folder the image is displayed on the page straight away. With WYSIWYG you would have to add the image to the page and upload the page and the image.

    If you use Dreamweaver try running it through clean up program and see what effect it has.

  5. #5
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,938
    Mentioned
    214 Post(s)
    Tagged
    12 Thread(s)
    Quote Originally Posted by Rubble View Post
    If you use Dreamweaver try running it through clean up program and see what effect it has.
    The fact that that tool even exists, says something

  6. #6
    SitePoint Addict WolfShade's Avatar
    Join Date
    Mar 2014
    Location
    St. Louis, MO, USA
    Posts
    253
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Pullo View Post
    The fact that that tool even exists, says something
    While I will admit that DW writes less-than-excellent JS code, I think the real reason for that tool is Microsoft (both Word and FrontPage).

    ^_^

  7. #7
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,395
    Mentioned
    81 Post(s)
    Tagged
    3 Thread(s)
    While I will admit that DW writes less-than-excellent JS code, I think the real reason for that tool is Microsoft (both Word and FrontPage).
    We are not just talking about JS but normal HTML. A friend uses Dreamweaver and it did daft things like put a span and/or new font around a space - this was a few years ago now and I can not remember fully. But from memory a single white space character was expanded to: <span><font ="verdana" > </font></span>

    This was DW 4 and may have been corrected by now.

    I have also just remembered it never put a Doctype either but even after pointing out the problems the user could not care as the page worked.

    Anyway I am not a DW hater; it is just not for me.

  8. #8
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,807
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by WolfShade View Post
    I think the real reason for that tool is Microsoft (both Word and FrontPage).
    Word has never been a web tool - the "HTML like" code it can produce was intended for transferring documents from recent versions of Word to earlier versions while retaining as much of the formatting as possible. Nothing to do with the web unless you are the type of person who believes in using a hammer for fitting screws, bolts, windows and anything else where a tool is required.

    Frontpage was abandoned by Microsoft many years ago. It worked fine in creating HTML for IE5 and IE6 which were the only browsers people used at the time it was around and so no cleanup of its code was required. When other browsers that didn't understand its proprietary code became popular Microsoft abandoned it and bought out a new replacement program they called "Expression Web" which they have also since abandoned and replaced.

    So that can't be the explanation for a cleanup program existing as one couldn't create web pages and the other created web pages that worked at the time it was in use without any cleanup needed.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  9. #9
    SitePoint Member
    Join Date
    Jan 2014
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys. Not once did I consider using a WYSIWYG editor because I actually like to sit a write code but I was only wondering why so many Web Designers around me used those softwares. I felt silly at first but the more you learn to code the more you realise how handicapped those people really are (no offence to anybody here who uses a WYSIWYG software).

  10. #10
    SitePoint Member coreyk's Avatar
    Join Date
    May 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can only make a ridiculous website using WYSIWYG


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •