Questions tagged [standards]

Standards are rules and customs that the software industry considers to be important and are codified in some way, either as a formal specification like an ISO standard or a language specification or as a more informal document like rules for behavior at a workplace.

Filter by
Sorted by
Tagged with
4
votes
1answer
138 views

Whatever happened to HTTP SEARCH? [closed]

It seems 5 years ago there was a proposal for a HTTP SEARCH request, but it does not appear to have been adopted and it not widely supported. Are there any factual documents or citations which shed ...
-2
votes
1answer
55 views

Are all sockets implemented as per the Berkeley sockets specification?

Are all sockets implemented as per the Berkeley sockets specification in all platforms or languages? What I am trying to understand is; is this the only standard for sockets implementation or there ...
0
votes
0answers
35 views

SPA connectivity to backend - is there a standard pattern?

At our company, we usually design solutions as an SPA which connects to a redundant backend. We follow either of the patterns below. Clients normally don't care which pattern is followed, as long as ...
1
vote
2answers
140 views

Should we switch to standard functions for utilities?

Many projects need a set of various utilities. There is some discussion about where to place them. But what happens if the utility becomes part of the standard? For example, C++ kept adding to the ...
8
votes
5answers
596 views

Consequences of not doing a REST API the “right” way?

I'll ask this question this way - what are the software engineering concerns for not implementing my REST API the "right" way? What do you mean the "right" way? Well, allow me to explain my ...
5
votes
2answers
98 views

Is there some sort of standardisation for error reporting? [closed]

I'm looking for some sort of standardisation, in a similar vein as POSIX for compatibility and familiarity between different commandline-interfaces, but for error reporting. Notably, I'm looking for: ...
-3
votes
3answers
79 views

Does the implementation of GDPR compliance per site make sense in terms of good practises?

Although I understand privacy concerns, the measure has been imposed by politcians and I want to know what the proper way to put this into place would have been. Right now, each site has to implement ...
-1
votes
1answer
215 views

How to ramp-up software testing from zero on a code base of approximately six years of development and in a team without practical knowledge?

In a feedback for a (deleted) question I asked here last year, I was told that there is not easy way to do software testing. We may find prepared test cases for protocols but in most case the test are ...
3
votes
2answers
154 views

What Software Delivery Guidelines are appropriate when outsourcing?

I started working at a very small company that regularly (not too often) has to outsource some software developments. The external suppliers than have to deliver something. As I now have seen is that ...
113
votes
3answers
15k views

What's the phone number equivalent of example.org?

RFC 2606 standard reserves the domain names example.org, example.net and example.com for the purpose of being used as examples in documentation. What is an equivalent for a phone number (including ...
37
votes
2answers
13k views

Should UTF-8 CSV files contain a BOM (byte order mark)?

Our line-of-business software allows the user to save certain data as CSV. Since there are a lot of different formats (all called "CSV") in use in the wild, we are tying to decide what the "default ...
1
vote
2answers
80 views

RFC5322 (Internet message format) ABNF rule error?

I was recently studying Internet Message Format originally RFC2822 and RFC5322. I was looking at definition of folding whitespace. Each header field is logically a single line of characters ...
1
vote
2answers
122 views

Testing and Debugging Techniques vs. Rice's Theorem

As far as I got it correctly, as a result of Rice's theorem, the equivalence of two programs is generally not decidable. Nevertheless, there exists a wide variety of testing and debugging techniques, ...
2
votes
1answer
165 views

Is the URL 'users/new' RESTful?

I was in a job interview demo-ing a RESTful API in Flask when an argument broke about the API. The interviewer argued that the URL for adding a new user (/users/new) is not proper REST. My API ...
12
votes
3answers
2k views

When should new C projects target very old C standards (>20 years old, i.e. C89)?

Occasionally I see major, relatively new, open source C projects targeting very old C standards, typically C89. An example is systemd. These projects have intelligent people at the helm so they ...
0
votes
1answer
235 views

How to answer someone who says that quality standards in code are irrelevant? [duplicate]

I had a conversation once with a with a senior development manager. I said that I aimed to produce "good" code, meaning code that is high quality. He said that good code is functional, performant ...
3
votes
3answers
2k views

What is actually the difference between the GNU C Library and the C standard Library?

I sometimes see these two terms be used interchangeably. What is the actual difference between these two terms? How are they used differently? Are there any other alternatives to these two libraries?
0
votes
2answers
523 views

IEC62304 SOUP classification of Integrated Development Environments and compilers

I am interested in whether IDEs, compilers or linkers are considered SOUP in IEC62304. I found one website which claimed this is not the case. I think I agree based on my reading of the standard, ...
6
votes
2answers
255 views

What time horizon and level of abstraction is the right for the maintainable and evolvable software? [closed]

From time to time I feel exhausted in my software development efforts because I am pressed to think and develop in very specific and very short term manner. One client here and now requires one ...
3
votes
1answer
110 views

Are tables inside tables a good idea in the right circumstance

I found myself wanting to put a table in a table. I had a momentary war flashback of legacy webpages and email html templates and was about to shelve the idea, but then I considered that it kind of ...
3
votes
1answer
1k views

Why shouldn't you create a custom uri scheme?

In setting up deep linking to android and iOS apps, I've made some use of custom URI schemes, and they work great, especially as a fallback when the mechanism that allows maps from http: fails (as ...
0
votes
1answer
229 views

When were unsigned types first introduced in programming languages?

Recently I learned that standard Fortran does not support unsigned integers. Fortran is a language with a very long history. I suppose that when Fortran was first designed, there simply wasn't any ...
2
votes
2answers
141 views

Is there a standard way to refer to items inside a menu when writing documentation?

At several times in the past while writing software documentation -- including user manuals, user stories, bug reports, test cases, and emails to users/colleagues -- I've needed to be able to refer to ...
0
votes
1answer
29 views

“preempts no lexical conventions” in a Scheme PL report

I am reading "Revised^5 Report on the Algorithmic Language Scheme," "1.3.1. Primitive, library, and optional features." In particular, implementations must support portable code by providing a ...
1
vote
0answers
637 views

Android intent: Using ?q= in a geo: URI [closed]

I noticed that the Airbnb Android app sends such an intent to open a map app at a particular latitude/longitude: geo:0:0?q=77.77%2C88.88 From my simplistic point of view, they should use the ...
0
votes
1answer
65 views

Language code for translation placeholders and translation context?

I'm planning to add a feature to my application where you can switch to the "Translation" locale and then see the names of the translation placeholders in the application instead of the actual ...
144
votes
17answers
33k views

Coding standard for clarity: comment every line of code?

I've worked in shops that produce life critical software and I've dealt with commenting rules that were meant to keep the code readable and potentially save lives. In my experience though the ...
1
vote
0answers
46 views

What should I use for defining recurring events?

CalDAV/iCalendar recurrence rules / rrules seems to be fairly common for defining the recurrence of events, but it also seems that they are very complex and often give unexpected/unintuitive results. ...
1
vote
1answer
90 views

C++ preprocessor search path search order

Is the #include order guaranteed by the standard to be the order of the -I options in the invocation: example: having the folders and files: A/foo.h B/foo.h can it be guaranteed that #include <...
2
votes
2answers
444 views

Why is it CRUD instead of GRAS? [closed]

Why is it Create Read Update Delete instead of Get Remove Add Set ? I've been working with an API that uses ADD and SET and REMOVE. Most accessor functions are named get...() and set...(). I ...
0
votes
2answers
148 views

Are there any formalised minimum quality standards for software development?

I've joined a very large new company who have very different ideas about what constitutes quality in development. In trying to convince managers about what should change, are there any well accepted ...
0
votes
2answers
924 views

Prescriptive and descriptive models of SW development - why it is not clear?

I have always thought that “descriptive” models says “what” but do not specify “how”, while “prescriptive” ones do exactly that. But when I started checking the topic, I found a lot of contradictions. ...
12
votes
1answer
1k views

Why isn't the C standard free? [duplicate]

I'm gradually learning C, and, after my best attempt at piracy, have resigned myself to the fact that I will have to either shell out $60 to ANSI or settle for pirating the penultimate draft hosted on ...
2
votes
3answers
466 views

Should compilers follow the defined language standard?

Why do some compilers violate the defined language standard? I don't understand, in ISO/IEC 10206:1990 Extended Pascal standard on 6.8.3.2 Arithmetic operators section, Page 86. It says that, A ...
1
vote
1answer
60 views

Specifying domain-specific data structures as an open standard

I am interested in creating a specification for the representation of complex hierarchical (domain-specific) data in a way that is independent of implementation. Think of a blueprint from which you ...
2
votes
1answer
143 views

What are good conventions/standards for application messaging through stdin and stdout?

I'm designing and application that spawns another processes to handle some specialized work. The application and the process it spawns will communicate through standard input and standard output (and ...
2
votes
1answer
2k views

Is there a way to show an if statement in a UML Sequence Diagram?

I went on an interview last year and was shown a sequence diagram and was asked to describe the the sequence. There were 2 things in the diagram I had never seen before. I asked what one of them was ...
29
votes
1answer
2k views

How does the C++ standards committee test their design ideas?

Does the C++ committee test their new design specifications with some sort of prototype compiler before releasing a new standard? Or do they release a standard which is, in effect, only theoretical ...
4
votes
2answers
127 views

How do you deal with external sources that do not conform to service standards and protocols?

I'm working on a product that requires a large amount of interactions with different external data providers. These data providers uses a number of standards (primarily xml-based) which are all ...
2
votes
1answer
302 views

“Selected design can be derived from requirements” - meaning and difference against traceability?

ISO 12207 contains interesting points for design verification: a) The design is correct and consistent with and traceable to requirements. c) Selected design can be derived from requirements....
0
votes
1answer
611 views

Is there a standard for use case specifications?

I've been discussing about whether "logging in" is a use case and I've been wondering: is there some "official" standard where to look up the definition of a use case or what the point of a use case ...
2
votes
1answer
151 views

REST Standard for changing SPA Model after fetched from REST API

Let's imagine. I have following data from database. ====================================== id | Title | parentId ====================================== 100 Asia NULL ----------...
3
votes
1answer
404 views

“Vendor” name changes when the vendor name changes

PHP (PSR-2, anyway) recommends using the vendor name as the root namespace for projects. At face value, this seems to mean we should use the current name of our company. But I work for an enterprise ...
-4
votes
1answer
4k views

Difference between admin and super admin? [closed]

In our company we use the term admin and super admin. Admin - refers to the person who will handle the users, this is preferably from the external (maybe a manager of our client) Superadmin - refers ...
6
votes
3answers
2k views

Is there anything wrong with putting comments in an HTML closing tag?

I often write comments like this <div id="wrapper"> ... </div> <!-- id="wrapper" --> But what if I wrote them like this? <div id="wrapper"> ... </div id="wrapper"> ...
1
vote
1answer
235 views

Is there a software attribute (like reliability) that describes a bug free experience?

TL;DR Do non-crashing bugs always affect Functionality, despite possibly affecting other quality attributes as well? Or is there a more specific quality attribute that non-crashing bugs always ...
5
votes
8answers
871 views

Is it okay to return the “wrong” HTTP status code in order to show a more user-friendly error page?

Located here, RFC 7231 is all about the HTTP protocol (status codes) I'm developing an in-house web application for my university's department and I'm at a (probably unimportant) impasse. I'm ...
5
votes
1answer
389 views

In the IEEE/EIA 12207.1-1997 Standard, what does “notation for description” refer to?

The IEEE 12207.1-1997 guide (Software life cycle processes - life cycle data) has a list of general content requirements for all description documents (section 5.1, page 12). This includes "notation ...
3
votes
0answers
178 views

Is there a language for defining restful web services? [closed]

I'm implementing a restful service automation tool for client applications. Basically, the tool takes a config file that defines restful resources, and creates some DTOs and resource classes for ...
1
vote
1answer
711 views

Functionality in ISO 9126 is Non-functional quality? Contradiction in ISTQB and many sources

I have been doing some research and realized that I missed the fact that in ISO 9126 and ISO 25010, all characteristics are quality characteristics and represent (according to various papers) just non-...