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.
Search
Firstly, the technology stack of a commercial project should be selected based on several different decision factors. Staff availability is paramount. The developers, QA and associated team m...
I have found this nice library for parsing/writing .elf files as output by e.g. the GCC toolchain: ELFIO I have a bare metal embedded project with an ARM Cortex M target. My goal is to overwrite...
My work tasks have recently started requiring me to use the type_traits header to restrict the classes that may be used in template functions, methods, and classes. And while I used it for a long t...
When I open the search, I can only search across all categories of this site. I'd like to filter down the search results to only Meta (or Code review).
Oooops. You have discovered my little secret superpower. Just kidding of course. (Unfortunately) I closed the first question upon some flags. On the second post, there was a spam answer, which...
I find myself often writing code like this. try { // code } catch( FailedReadException const & ex) { file.close(); std::cerr << "Read failure " << ex.readFailure() <&...
This can't be done with the standard library. It's quite common for people who want to do this to define their own extension method public static void Foreach<T>(this IEnumerable<T> it...
You are right, the on-topic page is confusing - trouble-shooting and general programming questions should obviously be on-topic! Perhaps we considered it so obvious that it fell between the lines ...
The concept of field separator has some private cases in different operating system shells and their utilities (IFS on Bourne shell and derivates, RS on AWK and perhaps more) but I am having troubl...
Before doing any performance testing, I think you have already noticed that the payload is significantly smaller by missing those double quotes. However, what I think is more important, especially ...
Yes, it is generally good practice to always cast the return value of functions to (void) if not used. This is self-documenting code showing that you aren't using the return value on purpose and di...
I personally have several (10s) of Q&A where I posted the question and\or answer, on related SE sites. These Q&A are ones I go back to for reference for myself and others. I know and under...
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...
I think we have a UI problem with the "add link" dialog box in the editor: it doesn't capture enter keystrokes which then fall through to the submit button. I'm merrily typing a post when I real...
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&...
I propose adding, at the top of the list: On-topic questions about writing software, where software is understood to include any means of specifying to a computer actions to be performed later. (...
questions about best practices as long as enough detail is provided to answer using external references or expertise consensus It's not a "detail" if it is essential, is it? Can we explicitly sta...
questions about software design, software architecture, or modeling questions related to software design/review - what item goes where when using a certain technology stack These seem redundant...
Consider the following posts which have essentially become canonical references in their own right within their respective communities on SE: The Definitive C++ Book Guide and List (viewed 2.5 mil...
I have a variable that contains a string: $CCSR = "branches/features/arm_and_musl" I want to get only the part after the last /. In this case it's "arm_and_musl" but it can be anything. So som...
Indeed, the $HOME/.application-name is the old way. Doing that nowadays is frowned upon (this is an example of what happens if you try), mostly because, as you said, it clutters the home directory....
While I agree with Dirk Herrmann that basename is the right tool for the job, I think it is still worthwhile to know how to do it with grep, because you might one day encounter a sufficiently simil...
After spending my time on SO, I found that some of the FAQ style questions were VERY helpful, especially with things such as SQL injection in PHP/MySQL (for example How can I prevent SQL injection ...
Context We have recently received a suggestion to allow questions about recommending books directly connected to software development. The way I see this now (pros and cons) Pros: allow more ...
I've heard that in modern C++, smart pointers are preferred to raw pointers for ownership (the so-called RAII principle, as I understand it). This makes sense, and since then I've always used them...