Questions tagged [standards]

Standards are officially published or well agreed upon formats, procedures, or protocols. They allow individuals or organizations to collaborate by setting ground rules or boundaries. Standards often come with a set of preconditions or assumptions, which allow collaborators to take those conditions or assumptions as ground truth.

The concept of "standard" is at least as old as the Roman Empire, where the standard was a rod of wood often decorated with a headpiece or banner and carried at the front of an army's march. This one rod was used to establish a common length for contructing camps and buildings. By using the same length, workers constructing a door could operate independently of other workers constructing a door frame. And when the pieces were brought together, they fit.

Modern standards are often created by jurisdiction-based entities like national standards organizations (like ANSI in the USA) or the International Standards Organization (ISO).

3387 questions
3
votes
2 answers

Why is it recommended not to use double quote unless we are writing JSON in Node.js Style?

I came across an interesting article. Which states unless until we are defining JSON we should use only single quote. var foo = 'bar'; //Right way var foo = "bar"; //Wrong way Can anyone put light on this, why is it so? Any help greatly…
Amol M Kulkarni
  • 21,143
  • 34
  • 120
  • 164
3
votes
1 answer

Using the memory of an object of an empty class type

Since in C++ sizeof of an empty class is 1 byte, is the following code valid? class A { }; int main() { A a; char* p = reinterpret_cast(&a); *p = 'a'; } I know its pretty much useless, but just wanted to see whether I can do…
Asha
  • 11,002
  • 6
  • 44
  • 66
3
votes
2 answers

Which "standard" is the C++11 standard?

I am confused about what is a C++11 final standard and if there is such a thing, what are standard updates, and where is an authoritative and trustworthy source of that information. ISO web site offers the "final standard" for purchase at their…
Vlad Didenko
  • 4,481
  • 4
  • 25
  • 34
3
votes
0 answers

SQL Server 2012 WKT differs from OGC specification

It is said that SQL Server is following OGC standards. In SQL Server 2012 WKT representation of a 2D point (e.g. 10,10) with measure value (e.g. 40) is like this: "POINT (10 10 NULL 40)" however in OGC it is defined as follow: "Point M (10 10…
Hossein Narimani Rad
  • 31,361
  • 18
  • 86
  • 116
3
votes
3 answers

Expected Behavior: Sort a Paged Table's Column

When a user is viewing a paged table and requests it to sorted by a particular column, what page is shown? Is there a standard expected behavior for this scenario? I can imagine several possible outcomes, but want to know if there is a standard.
Glenn
  • 6,455
  • 4
  • 33
  • 42
3
votes
4 answers

Are there any alternatives to the MVC frameworks for PHP that would be considard best practice?

I'm looking for a good framework for PHP and see most offer the MVC approach, are there any other (or better) design methods/approaches that would be considered more efficient or best practice? MVC is starting to look dated but I wanted to know if…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
3
votes
3 answers

Is there a standard implementation for Electronic Signatures on fill-in-form web applications?

I have a client who is interested in adding in electronic signature support to a long (40 question) seller application form. I'm a little stumped on whether there is an existing standard or process that's out there that folks in the financial world…
Tim Howland
  • 7,919
  • 4
  • 28
  • 46
3
votes
2 answers

How to write a good RFC standard and where to get started?

I was wondering what it requires to write a standard which targets programmers (e.g. JSON) and where to get started? Does anyone has hands-on experience on that?
Michal
  • 3,141
  • 5
  • 27
  • 29
3
votes
1 answer

Why are the UUID standards complex and should I follow them?

RFC 4122 defines UUIDs in quite some detail. There are currently 5 variants defined, all 128-bit but varying in how the bits are derived. Why should one care about abiding by a particular variant; once the ID is created what reason would someone…
Mike
  • 2,417
  • 1
  • 24
  • 33
3
votes
1 answer

Does u'\U0001ABCD' have implementation-defined value or is it ill-formed?

The standard seems to have two different responses to char16_t literals containing a character that can't be represented by char16_t. First of all, if the code point value can't be represented in 16 bits (i.e. it is not in the basic multilingual…
Joseph Mansfield
  • 108,238
  • 20
  • 242
  • 324
3
votes
3 answers

Is it legal C++ to use a typedef in a method declaration but the canonical type in the method definition?

The GNU C++ (g++ -pedantic -Wall) accepts this: typedef int MyInt; class Test { public: MyInt foo(); void bar(MyInt baz); }; int Test::foo() { return 10; } void Test::bar(int baz) { } int main(void) { Test t; …
atomice
  • 3,062
  • 17
  • 23
3
votes
8 answers

Is there a standard or guideline for creating XML files?

I’m curious if there is standard or guideline for determining what types of things should be attributes vs elements within the xml file. I’m also curious about creating xmlarray and xmlarrayitem lists using XMLSerializer. For example if I have the…
SwDevMan81
  • 48,814
  • 22
  • 151
  • 184
3
votes
4 answers

Spring - Decoupling Vs Performance

I have an application that has the following java files: Services: AccountService.java UserService.java MessageService.java DAOs: AccountDAO.java UserDAO.java MessageDAO.java Tables: ACCOUNTS USERS MESSAGES In MessageService.java, I have a…
th3an0maly
  • 3,360
  • 8
  • 33
  • 54
3
votes
2 answers

What are all Financial Industries - Standards, Protocols and Data Model?

When I was preparing for TOGAF exam, I came across Open Standard available for DataModel, Service Model, Architecture for many industries. (Example: ARTS has defined a data model for the Retail industry. Energistics has defined a data model for the…
Mohan Narayanaswamy
  • 2,149
  • 6
  • 33
  • 40
3
votes
3 answers

Inconsistent behaviour accessing private nested class definition

I have code that declares a subclass template as private and then a member as protected: class X { private: template class Y { public: void somethingToDo(); // definition }; protected: Y
shroudednight
  • 605
  • 4
  • 16
1 2 3
99
100