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‭

167 posts
66%
+2 −0
Q&A typeof_unqual behaves differently in gcc and clang

The C23 example as well as clang are correct. This is apparently a gcc bug in the latest 14.2 release, fixed in the "gcc (trunk)" unreleased version. The relevant part of the C23 standard here is ...

posted 4mo ago by Lundin‭  ·  edited 4mo ago by Lundin‭

Answer
63%
+5 −2
Meta Do we want a wiki (or similar) alongside Q&A?

Please no. I had a bad experience of SO's failed and cancelled "Documentation" project. I raised the same concerns on the Electronics site here. I'll quote that post: The worst that can happen is ...

posted 4y 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 4y ago by Lundin‭

Answer
62%
+3 −1
Meta Strategy to migrate meaningful content from Stack Overflow

Please note that migrate in this context means grabbing the exact post as-is from a SE site and importing it here. This is allowed, with attribution given, as per licensing model. Codidact staff c...

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

Answer
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 4y ago by Lundin‭

Answer
62%
+8 −4
Meta Site scope - draft proposal [duplicate]

EDIT: This discussion thread is mostly obsolete now that a new draft has been posted on the site. Please take further discussion & proposals to this meta post instead: Community feedback: What ...

6 answers  ·  posted 4y ago by Lundin‭  ·  closed as duplicate 4y ago by Lundin‭

61%
+6 −3
Q&A Which functions in the C standard library must always be avoided?

Standard library functions that should never be used: setjmp.h setjmp() Together with longjmp(), these functions are widely recogniced as incredibly dangerous to use: they lead to spaghetti ...

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

Answer
60%
+7 −4
Q&A Are there references in C?

Yes there are references and pass-by-reference in C, though the language has no explicit syntax item called "reference" like C++. In a C context, it is irrelevant that C++ happens to have something...

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

Answer
60%
+1 −0
Meta How are software recommendations handled?

See Software recommendations category. Referring to my own answer there, I think these questions should only be on-topic in case the OP manages to narrow down the scope sufficiently. In case the qu...

posted 2y ago by Lundin‭

Answer
60%
+1 −0
Meta Should self-answered Q&A use separate answers for different techniques/approaches (even if there's a caveat that applies overall)?

the answer is incredibly long It really isn't - though it might look that way because of the extensive use of large font headlines. I think it is a good answer - there's no problem in discussi...

posted 1y ago by Lundin‭

Answer
60%
+1 −0
Meta Should beginner-oriented Q&A here include basic use of a terminal (command line) for developers?

Shell scripts, BASH, batch files, PowerShell etc etc are all on-topic here and so questions about command line commands ought to be as well. We may however require the question to include enough r...

posted 9mo 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 4y 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 4y ago by Lundin‭  ·  edited 4y ago by Lundin‭

Answer
50%
+1 −1
Meta On self-answered questions, is it inappropriate to mark my own answer "Works for me" immediately?

On the contrary, I think that it is appropriate and recommended practice. That way you (the poster of the question) can pick your own answer as the "official" one, since these post often (ought to...

posted 1y ago by Lundin‭

Answer
50%
+0 −0
Meta Handling common wrong approaches and misguided motivations for basic technique questions

I think this is important to consider because it doesn't only concern questions about bad practices or XY questions, but also if we should allow questions with artificial requirements or questions ...

posted 1y ago by Lundin‭

Answer
50%
+0 −0
Meta I created a tag, now it need edit.

Streams is an universal concept not specific to any particular language. It originates from ancient Unix, most famously the stdout and stdin streams. And so they exist in pretty much any "C family"...

posted 7mo ago by Lundin‭  ·  edited 7mo ago by Lundin‭

Answer
40%
+2 −4
Q&A Should I check if pointer parameters are null pointers?

The kind of comments telling you to add checks against null are typically coming from programmers mostly used to deal with higher level programming languages. They think that generally, more explic...

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

Answer