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 dmckee‭

Type On... Excerpt Status Date
Edit Post #279013 Initial revision about 4 years ago
Question I object to [stl]
Currently the tag [[stl]](https://software.codidact.com/categories/38/tags/3925) is marked as a sub-tag of c++, implying a meaning of "standard-template-library". However I see both of the questions currently using the tag mean the 3D object description format). As I see it both meanings are relev...
(more)
about 4 years ago
Comment Post #278988 This. But if we wanted a “don’t add the parent tags” ethos locally we could compensate with a do/don’t include child tags options when registering a favorited tag.
(more)
about 4 years ago
Comment Post #278924 @jrh The sample code is made up for this post. I used `is_floating_point` because I can spell it without a search (I really don't use this stuff much). Where it appears in my project there is a cascade of SFINAE tests that cover quite a few classes of possible inputs (floating point, other numeric, s...
(more)
about 4 years ago
Comment Post #278924 @jrh I wouldn't call it controversial at all. Doing anything sophisticated with templates results in code that is hard to read, harder to debug, and simply brutal on edit-compile-test cycle times. We don't reach for this stuff first and we've got it in less than 1% of our headers (and plain template ...
(more)
about 4 years ago
Edit Post #278941 Post edited:
about 4 years ago
Comment Post #278846 While I largely agree that all bash (or other shell) features are candidates for programming questions, the emphasis of programming answers to bash questions may be a bit different from the emphasis of using-the-CLI answers. You'd need a working consensus to maintain culture that prefers the former t...
(more)
about 4 years ago
Edit Post #278941 Initial revision about 4 years ago
Answer A: Are reference requests welcome here?
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 up a post notice for the category that reads: > Before answering, please see our policy on resourc...
(more)
about 4 years ago
Comment Post #278924 @Lundin The flip side of KISS is [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself). Restricting the type-generic interface does make sense for things like writing a specialized STL-like algorithm that only works on random access containers. In principle you could accomplish that with polym...
(more)
about 4 years ago
Edit Post #278924 Initial revision about 4 years ago
Question Pros and cons of various type_traits idioms
My work tasks have recently started requiring me to use the `typetraits` header to restrict the classes that may be used in template functions, methods, and classes. And while I used it for a long time now, I learned C++ on the job. I've seen at least four patterns (see below) for actually coding ...
(more)
about 4 years ago
Edit Post #278858 Initial revision about 4 years ago
Answer A: For scripting what are the pros and cons of command line arguments versus capturing input at the start?
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. I'm going to call them 1. Command line arguments 2. Interactive read at run-time 3. Non-int...
(more)
about 4 years ago
Comment Post #278606 I'm actually quite interested in this question for myself. We're using Doxygen for the rest of our code, but we don't have any tooling for the DB beyond a schemacrawler script that generates a PDF schema diagram. Notes about how a table is intended to be used are written in un-formatted comments, but...
(more)
about 4 years ago
Edit Post #278390 Post edited:
about 4 years ago
Edit Post #278390 Post edited:
about 4 years ago
Comment Post #278202 I'm fairly sure the term existed at least as early as the eighties.
(more)
about 4 years ago
Edit Post #278393 Initial revision about 4 years ago
Question Add link dialog should capture enter
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 realize that it would be improve by linking a phrase. So, I copy the link, highlight the text, click the L...
(more)
about 4 years ago
Comment Post #277882 I'd go further than calling the new syntax an "alternative". I wouldn't use the `SIGNAL` and `SLOT` macros in new code. Indeed, unless I was still trying to support Qt4 I wouldn't write new instances of the macros even in a legacy code base.
(more)
about 4 years ago
Edit Post #278390 Post edited:
about 4 years ago
Edit Post #278390 Post undeleted about 4 years ago
Edit Post #278390 Post edited:
about 4 years ago
Edit Post #278390 Post deleted about 4 years ago
Edit Post #278390 Initial revision about 4 years ago
Answer A: What gets allocated on the stack and the heap?
While Lundin has written a reasonably complete answer, I think it suffers a bit from the expert view: conflating core issues with implementation details related to modern hardware architecture. I'd like to try to separate these notions. Kinds of variables To start with I'm going to divi...
(more)
about 4 years ago