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
I have noticed that most tags lack any usage information and moreover a more detailed wiki: I would like to add the information for some of these tags, but I do not see how. I assume there is so...
This error doesn't do a good job at all of highlighting the important thing! You can't define an inherent impl on a type parameter. You have to make it the impl of some trait. Here's an example: Tr...
A "hook" is a method provided by the developer of a piece of software so that other developers can easily write software which modifies the behavior of that software to fit their particular requir...
I am building an Android app to perform a DICOM C-Echo. (DICOM is a standard for storing and transferring medical images; the specification is at dicom.nema.org). My purpose is to learn more about ...
Right now, just type out the username, preceded by an @ sign. There is not currently any auto complete. Good news, though; a total rework of the comment system is in the works right now, including...
Since C++11 the standard mandates the _Pragma operator which is intended for use inside macros. With this you can improve the situation by wrapping all this compiler switching into a central macro...
I was wondering if somebody can review my code? I am creating a simple login desktop application, just to get used to the MVVM pattern using WPF. View <Window x:Class="Login_App.MainWindow" ...
I tried to reply comment but no autocomplete, so if I want to reply, how to notice a user?
It's just depend on PHP version. Above PHP 7 PHP object is faster and slightly heavier than array. On PHP 5 and below array is faster and lighter. My test code: <?php $jsonobj = '{"Peter":3...
There are a few main and a few minor factors involved in most "which tool should I use" decisions. Evaluation Criteria "What do I already know how to competently use?" OR "What do I want to lea...
On the cppreference page for std::async, there's an example where the object for a PMF invocation is passed by value. So clearly, that is okay; in fact there is nothing on the cppreference page say...
There are two broad types of build environments - in-source and out-of-source. "In-source" means the compiled files will appear in the same directory as source files. "Out-of-source" means there is...
I would definitely allow code review questions (requests) as they are an important part of any professional software developer. A special category might make sense, although a designated special ta...
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...
When using Result or Option to get a value, the value is wrapped in a Ok or Some. For example, with pattern matching to get a Result: let var: Json = match serde_json::from_str(&my_string) { ...
Your question is a bit ambiguous. Usually when one talks about something being "completely abstract", one means the details of the representation are opaque. This is the sense of "abstract" in "abs...
Proposal, based on the feedback here so far: because code-review questions have special rules, create a category. This allows (and we would need proposed text from the community for): Category d...
The problem I am working on a simple drawing app for Android. I have a custom view on which the user can draw. This means that a lot of data (a list of points) is generated in this View. I want t...
The objective here is to create a set of square kml coordinates centered on a point. I use this to create a square map centered on a mountain peak and then turn that into a STL that I can 3D print....
I will provide an answer from a pragmatic perspective, rather than a direct answer to your question. This is particularly important when working on a real project (as opposed to homework). Short an...
I'd like to move the frame out a little and use that as a discussion for how to make these decisions. Input models You've listed two input models, but I think we need to add a third before we begin...
Update: With the rollout of threaded comments, autocomplete has now been implemented. :) This feature doesn't currently exist. We're planning on revamping comments entirely at some point in the...
We currently have quite a few questions tagged with formula. However, [formula] seems so general that I am inclined to replace it to a more specific formula based on the context. Examples: [excel-...
Just to stir the pot a little, on Physics SE we ended up allowing them within certain limits. Though I was against it I would say that the results were rather better than I expected. We did set u...
Summary I'm building an internal system (hardware simulator, using Rust) to help test some Python-based services that talk to hardware. (The services talk to hardware via TTYs.) To trick the Pytho...