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.
Posts by dmckee
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...
tl;dr I'd like to learn a compact, cross-compiler way of selectively suppressing compiler warnings. Consider the case where you really mean to make an exact floating-point comparison using ==, o...
tl;dr: Allowing beginner-level "help me diagnose this" questions will generate large volumes of duplicates if the site ever scales. We need to think about how to structure things if we want them. ...
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...
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...
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...
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...
Because you are using Qt in particular there is something to be said for not solving this problem yourself. Instead, create a single object that owns the stream or file and offers a writeLine slot...
I'm in the "Use the braces. Just use them every time" camp [1]. As others have suggested you or your tooling will catch a lot of cases where you screw up on this, but the ones that slip through can...
When working with a qmake subdirs project you may want to share configuration between multiple projects. In a less common case you may including a external project within your own as code and want ...
This is another argument for a fullstack tag not being appropriate. Or perhaps an elaboration of Peter's argument. The manner in which a problem could be a "fullstack problem" is by being a commun...
Options There are three basic channels to choose from Shared build-include (.pri) files CONFIG .qmake.conf and I discuss the practicalities of each below. Shared .pri files Set or add to...
Just to have a differing viewpoint represented. Addressing questions and answers The stated reason for stripping politese Somewhere Else (which I largely agree with) is that while posts are creat...
Currently the tag [stl] 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 ...