Top "Standards" questions

Standards are officially published or well agreed upon formats, procedures, or protocols.

PHP array vs [ ] in method and variable declaration

I have a question about PHP syntax. When defining functions and variables, which convention should I use? I know they …

php standards
Why is javascript the only client side scripting language implemented in browsers?

Why don't browsers add support for, say, Python scripting as an alternative to Javascript? Or more general purpose scripting languages? …

javascript browser web standards
Why does C++ output negative numbers when using modulo?

Math: If you have an equation like this: x = 3 mod 7 x could be ... -4, 3, 10, 17, ..., or more generally: x = 3 + k * 7 where …

c++ standards modulo
What is the rationale for parenthesis in C++11's raw string literals R"(...)"?

There is a very convenient feature introduced in C++11 called raw string literals, which are strings with no escape characters. …

c++ c++11 standards string-literals
What differences are expected of XHTML5 versus HTML5?

What differences are expected of XHTML5 versus HTML5? I understand that XHTML5 is the XML form of the language and …

accessibility standards html
Are there machines, where sizeof(char) != 1, or at least CHAR_BIT > 8?

Are there machines (or compilers), where sizeof(char) != 1? Does C99 standard says that sizeof(char) on standard compliance implementation MUST …

c char standards sizeof c99
1 Mbit = ? bytes

I always get confused about this. Is there a "standard" conversion of Megabits to bytes? Is it: 1 Megabit == 1,000,000 bits == 125,000 bytes …

standards bits megabyte
C++, do private functions really need to be in the header file?

I have always thought of header files as a sort of 'public interface' describing a class, in which case it …

c++ standards conventions
Do you quote HTML5 attributes?

Attribute quotes are optional in HTML5. What are the pros/cons to quoting them? id=example <!--quotes optional--> …

html performance standards
Does new[] call default constructor in C++?

When I use new[] to create an array of my classes: int count = 10; A *arr = new A[count]; I see …

c++ arrays standards new-operator