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.

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
 
77%
+5 −0
Q&A noreturn function with non-void return type

Is it legal ISO C to declare a function as noreturn with a non-void return type (but of course not actually returning)? As far as I can read from the standard, it seems legal. Example: noreturn ...

1 answer  ·  posted 3y ago by alx‭  ·  edited 3y ago by alx‭

Question c language-lawyer noreturn void
77%
+5 −0
Q&A Is it OK to use scanf with a void pointer?

Void pointers are compatible with every other object pointer type and as mentioned in another answer, 7.21.6/10 speaks of the type of the pointed at object, not the type of the pointer. This is con...

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

Answer
77%
+5 −0
Q&A Conditions which always matches returns no result with CTE

Wrong operator. To test for NULL, use the IS NULL and IS NOT NULL operators ... You cannot use arithmetic comparison operators such as =, <, or <> to test for NULL.

posted 3y ago by Peter Taylor‭

Answer
77%
+5 −0
Meta Specify framework / library version in the answer

As Stack Exchange (Stack Overflow mostly) is struggling to deal with outdated answers, they came with a proposal that we can learn from: Version labels for answers As already most of the feedback...

2 answers  ·  posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Question discussion answers
77%
+5 −0
Meta Are general questions (hopefully resulting in comprehensive, 'canonical' answers) in scope

Generally these questions are fine, though they should come with specific examples, so that they become clearer and can get narrowed-down. I've done a lot of self-answered Q&A here and the hard...

posted 3y ago by Lundin‭

Answer
77%
+5 −0
Meta Are general questions (hopefully resulting in comprehensive, 'canonical' answers) in scope

I think that questions about programming paradigms fall under the umbrella of "questions about software design or software architecture" and are thus on topic. There have also been several questio...

posted 3y ago by meriton‭

Answer
77%
+5 −0
Q&A How to open a file and edit its content in groovy script

I have a Makefile in my Jenkins job's workspace, that I want to edit out certain parts from and then save it, before running next part of the script that uses this Makefile. The part that I want t...

2 answers  ·  posted 3y ago by Megan‭  ·  last activity 3y ago by Alexei‭

Question jenkins shell groovy
77%
+5 −0
Q&A Is it possible to write protocols for enumerations in Python?

There's one big difficulty with the proposed pattern. Enum instances are singleton instances of their particular class, and in general two enums from different classes are not equal even if they wr...

posted 3y ago by r~~‭

Answer
77%
+5 −0
Q&A How this recursive treewalker works?

To understand the concept of recursive tree traversal, I would like to give you an analogy. Imagine a labyrinth of rooms connected like a tree structure. That is, there is an entry to the first r...

posted 3y ago by Dirk Herrmann‭  ·  edited 3y ago by Dirk Herrmann‭

Answer
77%
+5 −0
Q&A Explaining the result of an arithmetic expression in JavaScript

The concept that is important to understand here is the concept of operator precedence. Assume you have an expression a + b * c. What does it mean? You could have the following options: (a + b) ...

posted 3y ago by Dirk Herrmann‭  ·  edited 3y ago by Dirk Herrmann‭

Answer
77%
+5 −0
Q&A How should one match a specialized version of a variant?

Let's say I have a variant that can hold a bunch of different types of values (say I got them from parsing a JSON or similar). using Value = std::variant<std::monostate, int, double, std::strin...

1 answer  ·  posted 3y ago by Moshi‭  ·  last activity 2y ago by Baum mit Augen‭

Question c++ variant
77%
+5 −0
Q&A Why can't a derived class add a const qualifier to a method?

Say we have an abstract class Foo declared as so: class Foo { public: virtual void test() = 0; }; Let's say that we make a derived concrete class FooDerived, and decide to mark it's ve...

2 answers  ·  posted 3y ago by Moshi‭  ·  last activity 3y ago by Dirk Herrmann‭

Question c++ const-correctness
77%
+15 −3
Meta Questions easily answered by studying a beginner-level book

This scenario is not yet a problem for this site, but we will get there, since it's a huge problem for Stack Overflow: Someone just picks up a well-known programming language for the first time. T...

6 answers  ·  posted 3y ago by Lundin‭  ·  last activity 1y ago by Karl Knechtel‭

Question discussion on-topic
76%
+8 −1
Meta Should we allow UI/UX questions in our community?

Yes I would allow UI/UX questions with some limitations. Examples: on topic - UI/UX questions related to an interface that also involves some programming (e.g. web interfaces) offtopic -...

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

Answer
76%
+8 −1
Meta Email alerts for notifications

How can I get an email when I get a notification on Codidact? I missed an answer because I thought I would get an email for it.

2 answers  ·  posted 1y ago by LyndonGingerich‭  ·  last activity 1y ago by Olin Lathrop‭

Question support feature-request notifications
76%
+8 −1
Q&A Styling with classes vs styling with CSS

I've noticed that a lot of sites have something like this going on: <div class="has-margin-0 has-padding-4"> <div>...</div> <div>...</div> ... </div>...

1 answer  ·  posted 4y ago by Moshi‭  ·  last activity 4y ago by luap42‭

Question software-practices html css
76%
+11 −2
Meta Do we want a wiki (or similar) alongside Q&A?

In addition to Q&A, Codidact supports another post type, article. Articles can be used for blog posts, wiki pages, and other resources. Articles, like questions, use tags, so searching for a ...

5 answers  ·  posted 4y ago by Monica Cellio‭  ·  last activity 1y ago by matthewsnyder‭

Question discussion
76%
+11 −2
Meta Should we allow answers generated by ChatGPT?

Now that we've had a few of these answers, I really don't like them. It seems there are three separate problems with the ChatGPT answers we have seen: Quote-only. Just like we don't allow link-o...

posted 2y ago by Olin Lathrop‭

Answer
75%
+4 −0
Q&A How would I fix my IntelliJ IDE? It cannot open and re-installing does not work.

So I was looking around for some async solutions and I found one on github, https://github.com/electronicarts/ea-async I follow the setup instructions for maven. Only to realize it didn't work (I ...

1 answer  ·  posted 2y ago by cuzzo‭  ·  last activity 2y ago by cuzzo‭

Question installation intellij-idea
75%
+4 −0
Q&A How would I fix my IntelliJ IDE? It cannot open and re-installing does not work.

While I removed the -javaagent argument from the vmoptions file within my Program Files, it persisted in my roaming AppData folder and that seems to be what the IDE was referencing, not the main bi...

posted 2y ago by cuzzo‭  ·  edited 2y ago by cuzzo‭

Answer
75%
+7 −1
Meta Should asking about book recommendations directly connected to software development be on-topic?

As someone who spent a lot of time trying to get this to work on Stack Overflow, I would advise against it. Some background story of my merry adventures with book lists: The story starts around...

posted 2y ago by Lundin‭  ·  edited 1y ago by Lundin‭

Answer
75%
+4 −0
Meta The size of the code format window is much too small.

I apologize for the long delay in getting such a small change made and deployed. Someday I would like the blocks to be resizable, but in the meantime, a code block now shows 40 lines before the sc...

posted 2y ago by Monica Cellio‭  ·  edited 2y ago by trichoplax‭

Answer
75%
+4 −0
Meta Should asking about book recommendations directly connected to software development be on-topic?

Are we talking about questions asking for book recommendations, or for a way to share/compile book recommendations? A question doesn't have to be the vehicle for the latter. A question like "what...

posted 2y ago by Monica Cellio‭

Answer
75%
+7 −1
Q&A How can I provide additional information when raising an exception?

Suppose I have some code like: filename = "bad_dir" print(f"File not found: {filename}.") raise(FileNotFoundError) When the exception isn't caught, the stack trace is printed at the end of ...

2 answers  ·  posted 2y ago by mcp‭  ·  edited 1y ago by Karl Knechtel‭

Question python exception
75%
+4 −0
Meta Are questions about language design on-topic?

The ambition of this site was always to give more room for subjective and big picture questions compared with Someplace Else. However, I believe programming language design falls under the topic of...

posted 2y ago by Lundin‭

Answer