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.

Activity for Lundin‭

Type On... Excerpt Status Date
Comment Post #289837 I'm not sure if the last AND gate analogy is relevant. These work with 2 or more inputs that are evaluated simultaneously at the edge of a clock pulse, whereas software has to evaluate each operand one at a time. And there is hopefully no such thing as a short circuit anywhere in sight when dealing w...
(more)
over 1 year ago
Edit Post #289831 Post edited:
over 1 year ago
Edit Post #289831 Post edited:
over 1 year ago
Edit Post #289831 Initial revision over 1 year ago
Answer A: What is the meaning of "short circuit" operators?
It's an unfortunate analogy. Apart from being confusing, it does indeed assume some basic electronics knowledge. In electronics a short circuit (or the common jargon "a short") does not necessarily refer to a catastrophic event like cables burning up - it just means that you connect two signals/condu...
(more)
over 1 year ago
Edit Post #289828 Post edited:
over 1 year ago
Edit Post #289828 Post edited:
over 1 year ago
Edit Post #289828 Initial revision over 1 year ago
Question What is the meaning of "short circuit" operators?
When reading about various operators used by programming languages, the term "short circuit behavior" is often used. For example in this C code: int a = 0; a && b++ Someone explained that `b++` is never executed because the logical AND operator "short circuits". What do they even mean ...
(more)
over 1 year ago
Edit Post #289709 Post edited:
over 1 year ago
Edit Post #289709 Post edited:
over 1 year ago
Edit Post #289709 Initial revision over 1 year ago
Answer A: How can we grow this community?
Search engine optimization? I thought this goes without saying, but apparently we aren't doing too well there for some reason. The other day I was having a discussion with someone at SO regarding how hard it was to find specific information about anything on SO, even when using Google for the ...
(more)
over 1 year ago
Edit Post #289707 Initial revision over 1 year ago
Answer A: 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 about code obfuscation. Currently we have no rule for/against any of this. As for if we should ca...
(more)
over 1 year ago
Edit Post #289703 Initial revision over 1 year ago
Answer A: 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 discussing multiple ways of doing something, addressing every angle. That's good engineering, rather. > Would...
(more)
over 1 year ago
Comment Post #289692 You could expand this further than the machine word by simply using an array of boolean, which is "language agnostic" and might even boil down to an actual a bit-field if you are lucky. Also, pretty much all languages support bool but not all languages support bitwise arithmetic.
(more)
over 1 year ago
Edit Post #289624 Initial revision over 1 year ago
Answer A: What categories could we benefit from having?
Categories should be used when the posting rules for certain types of question differ. For example a debugging question posted below Q&A should have a minimal, relevant example. Whereas a code review question should have the complete code as-is, without modification. This merits different categories,...
(more)
over 1 year ago
Edit Post #287123 Post edited:
over 1 year ago
Edit Post #287123 Post edited:
over 1 year ago
Edit Post #283441 Post edited:
over 1 year ago
Comment Post #285870 @#61018 This isn't the actual rules but a draft when something was changed at one point. (Nothing gets changed without the community having a say first.) The most recent version is found by clicking help -> What type of questions can I ask here? https://software.codidact.com/help/on-topic
(more)
over 1 year ago
Edit Post #289497 Post edited:
over 1 year ago
Edit Post #289497 Post edited:
over 1 year ago
Edit Post #289497 Post edited:
over 1 year ago
Edit Post #289497 Post edited:
over 1 year ago
Comment Post #289488 "I heard it through the grapevine"? :) This was just recently discussed at SO, I may be to blame for starting that discussion https://stackoverflow.com/a/76945224/584518.
(more)
over 1 year ago
Edit Post #289497 Post edited:
over 1 year ago
Edit Post #289497 Post edited:
over 1 year ago
Edit Post #289497 Initial revision over 1 year ago
Answer A: Why does calloc accept 2 arguments, and with what arguments should one call it?
It has 2 parameters for weird historical reasons that nobody seems to know the rationale for any longer. Like most functions in the C standard library, the function API was not well-designed. Keep in mind that many of these functions were designed in the 1960s(!) and early 1970s, some 20 years before...
(more)
over 1 year ago
Comment Post #289415 @#64628 That sounds like a different question you could ask separately. I'd rather not derail this post with yet another "spaghetti programming" debate - basically programmers have been debating this endlessly since the 1960s.
(more)
over 1 year ago
Edit Post #289415 Post edited:
over 1 year ago
Edit Post #289415 Post edited:
over 1 year ago
Comment Post #289429 Ok so this one "provide some sort of meaningful info" was where we have different opinions over at EE. Taking a look at the front page of Software Development now, tags that would fall for this rule would be `package`, `format`, `output`, `focus`, `text` - these arguably adds _no_ meaningful info and...
(more)
over 1 year ago
Comment Post #289429 I'm so used at SO that I didn't even consider that Codidact allows case-sensitive tags until very recently. After getting used to the idea, it sounds like it could be a very useful thing to a programming community in particular - few communities care about upper/lower case but we ought to. As a rando...
(more)
over 1 year ago
Comment Post #289415 @#64047 Basically any embedded compiler. Codewarrior in particular is known to whine about return values, but if you use a MISRA checker you'll get that as well - some compilers like IAR have MISRA checkers integrated as an option.
(more)
over 1 year ago
Edit Post #289420 Initial revision over 1 year ago
Question Tag creation/deletion criteria for Software Development?
Ok so we have fairly lax tagging rules here, as do most Codidact sites. Recently the Electrical Engineering community has started a clean-up of strange and off-topic tags. I wrote this over there: Tag creation/deletion criteria. Those who have a background at SO might recognize the huge system pr...
(more)
over 1 year ago
Edit Post #289415 Post edited:
over 1 year ago
Edit Post #289415 Post edited:
over 1 year ago
Edit Post #289415 Initial revision over 1 year ago
Answer A: What is C23 and why should I care?
C23 will be a major revision, certainly the biggest one since C99. It contains lots of changes and new features, both big and small. The linked draft in the question contains a complete list of changes, but it might be a bit overwhelming to read unless you are a "C nerd" and if you aren't used at rea...
(more)
over 1 year ago
Edit Post #289414 Initial revision over 1 year ago
Question What is C23 and why should I care?
The C language has gone through many iterations and the latest one not yet released is informally called "C23", supposedly because they hoped to release it in 2023. The latest draft version N3096 is available for free from the ISO C working group. The previous standard C17 (ISO 9899:2018) didn't r...
(more)
over 1 year ago
Comment Post #289327 @#53398 In this context, a function can return a value and that is the expected outcome. Other things changing the program or environment are side effects. An interrupt is never re-entrant because it always has side effects. It may be "thread safe" or interrupt safe might be a better name in that sit...
(more)
over 1 year ago
Edit Post #289327 Post edited:
over 1 year ago
Edit Post #289327 Initial revision over 1 year ago