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 »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by Lundin‭

143 posts
71%
+3 −0
Q&A Static and thread_local initialization order

TL;DR The initialization of the variables a and b in your question are indeterminately sequenced in relation to each other. The initialization order is not guaranteed between them. The initiali...

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

Answer
83%
+8 −0
Q&A Is MISRA-C useful outside safety-critical and embedded programming?

It is true that MISRA-C has a heavy focus on embedded system, though it has become somewhat more generic over time. The MISRA guidelines have been changed and improved several times over the years ...

posted 3y ago by Lundin‭  ·  edited 3y ago by ghost-in-the-zsh‭

Answer
83%
+8 −0
Q&A Is MISRA-C useful outside safety-critical and embedded programming?

When discussing best or safest C programming practices with various C gurus on the Internet, the "MISRA-C guidelines for the use of C language in critical systems" often pops up as a source. This ...

1 answer  ·  posted 3y ago by Lundin‭  ·  last activity 3y ago by ghost-in-the-zsh‭

Question c misra-c
62%
+3 −1
Meta Do we really need the [tools] tag?

No, it's not helpful, it's far too broad and doesn't make sense to use in combination with any other tag either. It can't be used for searching or categorizing questions either.

posted 3y ago by Lundin‭

Answer
89%
+15 −0
Meta Growing software.codidact

We can't go and shamelessly promote Codidact in SO comments etc just for the sake of it - that's regarded as spamming and might get you banned, plus it will give Codidact a nasty rep. Similarly, SE...

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

Answer
88%
+13 −0
Q&A Is omitting braces for single statements bad practice?

Not using braces is considered bad practice by widely recognized industry coding standards (MISRA-C:2012 rule, 15.6, CERT C EXP19-C and others). Once upon a time I liked to skip out braces too, bu...

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

Answer
71%
+3 −0
Code Reviews Counting number of assignments that a `fscanf` format strings implies

Consider using look-up tables to increase execution speed (at the cost of some 200 bytes .rodata use). For example this: static const char specifiers[] = "diouxaefgcspAEFGX"; could be replaced wit...

posted 3y ago by Lundin‭

Answer
85%
+16 −1
Meta The size of the code format window is much too small.

When posting a lot of code on the site, the "code format window" is much too small: 1 I'm talking about this thing 2 3 4 5 6 7 8 9 10 11 12 13 14 15 The scroll bar appears after...

3 answers  ·  posted 3y ago by Lundin‭  ·  last activity 1y ago by trichoplax‭

77%
+5 −0
Meta What is our policy on tags?

Luckily, we are in a position where we don't have to re-invent the wheel. We can see what went either wrong or horribly wrong at SO, then avoid making the same mistakes. Some common problems: Maki...

posted 3y ago by Lundin‭

Answer
50%
+1 −1
Meta Are reference requests welcome here?

If we ignore the part of recommendation questions leading to opinion-based answers, the main concern against these kind of questions is that they don't add anything of value to this site. But also ...

posted 3y ago by Lundin‭

Answer
83%
+8 −0
Meta Renaming sheets to the more specific google-sheets?

Google Sheets isn't a company name, it's a product name. A tag called google-sheets is perfectly fine. Google doesn't market this product as "Sheets", they market it as "Google Sheets". What is not...

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

Answer
63%
+5 −2
Meta Community feedback: What type of questions can I ask here?

I propose that the following is added as off-topic: Off-topic Questions with artificial requirements and no practical use, including code golf and code obfuscation. This also covers artificial hom...

posted 3y ago by Lundin‭

Answer
80%
+6 −0
Q&A What's the difference between null pointers and NULL?

There are three different, related concepts that are easy to mix up: null pointers null pointer constants the NULL macro Formal definitions The first two of these terms are formally defined in C1...

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

Answer
62%
+3 −1
Q&A What's the difference between null pointers and NULL?

Someone told me that I shouldn't write "NULL pointer" with capital letters, because a null pointer and NULL are different terms. And that NULL is a "null pointer constant". What's the meaning of th...

3 answers  ·  posted 3y ago by Lundin‭  ·  last activity 3y ago by EJP‭

75%
+4 −0
Meta Community feedback: What type of questions can I ask here?

I propose that the following is added: On-topic questions asking for code review that follow [the site policies for the code review category]. Where [the site policies for code reviews] is a li...

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

Answer
75%
+4 −0
Meta Community feedback: What type of questions can I ask here?

On-topic questions about SQL programming ... Off-topic questions about database administration I propose that these two are changed to clarify that we allow questions about database design an...

posted 3y ago by Lundin‭

Answer
71%
+3 −0
Meta Community feedback: What type of questions can I ask here?

On-topic questions dealing with how to write software documentation I propose that a note about tool use is added: On-topic questions dealing with how to write software documentation or how t...

posted 3y ago by Lundin‭

Answer
50%
+2 −2
Meta Community feedback: What type of questions can I ask here?

On-topic questions about best practices as long as enough detail is provided to answer using external references or expertise consensus I propose that this should be re-phrased: On-topic non-...

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

Answer
75%
+4 −0
Meta Community feedback: What type of questions can I ask here?

There is a new page What type of questions can I ask here? (found under Help -> Guidance.) I'll quote it as whole below, for convenience. Please give feedback on specific items in the list that ...

15 answers  ·  posted 3y ago by Lundin‭  ·  last activity 2y ago by Lundin‭

81%
+7 −0
Meta Should we have a Code Review Section / category?

I agree and I think it should be a separate category, with separate posting rules. There are several examples of how the rules for each category would likely be fundamentally different: Main Q&...

posted 3y ago by Lundin‭

Answer
85%
+10 −0
Q&A Why can't we mix increment operators like i++ with other operators?

These examples have undefined behavior and unspecified behavior all at once! Operator precedence has nothing to do with the order of execution, see What is the difference between operator precedenc...

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

Answer
81%
+7 −0
Q&A Why can't we mix increment operators like i++ with other operators?

I'm experimenting with different operators and have a hard time understanding the outcome of certain expressions. I try to combine the ++ operators with other operators such as assignment in the sa...

1 answer  ·  posted 3y ago by Lundin‭  ·  last activity 3y ago by Lundin‭

72%
+6 −1
Meta Are questions about web browsers on topic on Software Applications?

The site is called Software Development, not "Applications". Meaning programming. On-topic: Questions about different behavior of web browsers in the context of web application programming. Questi...

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

Answer
66%
+2 −0
Meta Give actionable feedback when closing questions

We rather need to make a close reason for every kind of off-topic reason. In this specific case, the reason could for example be Purely subjective question rather than the old "primarily opinion-ba...

posted 3y ago by Lundin‭

Answer
75%
+4 −0
Q&A What is the difference between a hook and a code injection?

I believe the term "hook" comes from the Windows API where you can register "hooks" - callback functions - to respond to certain events, optionally replacing the original behavior. Not necessarily ...

posted 3y ago by Lundin‭  ·  last activity 3y ago by Lundin‭

Answer