Quantcast
Channel: Everyday I'm coding » standards
Browsing latest articles
Browse All 6 View Live

What are the rules about using an underscore in a C++ identifier?

It\’s common in C++ to name member variables with some kind of prefix to denote the fact that they\’re member variables, rather than local variables or parameters. If you\’ve come from an MFC...

View Article


Image may be NSFW.
Clik here to view.

Where do I find the current C or C++ standard documents?

For many questions, especially for C-related ones, the answer seems to be found in “the standard”. However, where do we find that – online? Googling can sometimes feel futile, again especially for the...

View Article


Is there a W3C valid way to disable autocomplete in a HTML form?

When using the xhtml1-transitional.dtd doctype, collecting a credit card number with the following HTML <input type="text" id="cardNumber" name="cardNumber" autocomplete='off'/> will flag a...

View Article

Node.TEXT_NODE and IE7

I’ve some javascript that tests DOM node types against like this: if(node.nodeType == Node.TEXT_NODE) { Of course, it all works fine in Firefox, Safari, and Opera. But Internet Explorer 7 is...

View Article

Are there any suggestions for developing a C# coding standards / best...

I’m a recent AI graduate (circa 2 years) working for a modest operation. It has fallen to me (primarily as I’m the first ‘adopter’ in the department) to create a basic (read useful?) C# coding...

View Article


Are iframes considered ‘bad practice’?

Somewhere along the line I picked up the notion that using iframes is ‘bad practice’. Is this true? What are the pros/cons of using them? Solution: As with all technologies, it has its ups and downs....

View Article
Browsing latest articles
Browse All 6 View Live