Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Post History

81%
+7 −0
Meta Default Rules: Extensions

The answer header must specify the minimum implementation & environment required If there are multiple implementations of a language and an answer depends on features of one, it must be specif...

posted 3y ago by dzaima‭  ·  edited 3y ago by dzaima‭

Answer
#2: Post edited by user avatar dzaima‭ · 2021-08-19T00:01:40Z (over 3 years ago)
  • ## The answer header must specify the implementation & environment required
  • If there are multiple implementations of a language and an answer depends on features of one, it must be specified. Otherwise, it can just specify the language.
  • That specification can be done mostly in any form, as long as it's complete (or unspecified things are the default). In general, there shouldn't be a need to specify a precise version of an implementation, but if there's explicit reliance on it, it should be noted too.
  • For example, "C (gcc)" specifies that `gcc` must be used, with the default settings. "C (clang 12) `-std=c11` + boost" means `clang-12` with the "ISO C 2011" standard and the boost library. "C" alone would mean any implementation that follows the standard. (whether a standard can be considered an implementation by itself is a separate question)
  • ## The answer header must specify the minimum implementation & environment required
  • If there are multiple implementations of a language and an answer depends on features of one, it must be specified. Otherwise, it can just specify the language.
  • That specification can be done mostly in any form, as long as it's complete (or unspecified things are the default). In general, there shouldn't be a need to specify a precise version of an implementation, but if there's explicit reliance on it, it should be noted too.
  • For example, "C (gcc)" specifies that `gcc` must be used, with the default settings. "C (clang 12) `-std=c11` + boost" means `clang-12` with the "ISO C 2011" standard and the boost library. "C" alone would mean any implementation that follows the standard. (whether a standard can be considered an implementation by itself is a separate question)
#1: Initial revision by user avatar dzaima‭ · 2021-08-18T23:59:39Z (over 3 years ago)
## The answer header must specify the implementation & environment required

If there are multiple implementations of a language and an answer depends on features of one, it must be specified. Otherwise, it can just specify the language.

That specification can be done mostly in any form, as long as it's complete (or unspecified things are the default). In general, there shouldn't be a need to specify a precise version of an implementation, but if there's explicit reliance on it, it should be noted too.

For example, "C (gcc)" specifies that `gcc` must be used, with the default settings. "C (clang 12) `-std=c11` + boost" means `clang-12` with the "ISO C 2011" standard and the boost library. "C" alone would mean any implementation that follows the standard. (whether a standard can be considered an implementation by itself is a separate question)