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?
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.
Everything can be explained differently.
Are you talking about styling and CSS? Or are you talking about Visual Programming?
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.
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).
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.
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.
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).
you can only make a ridiculous website using WYSIWYG