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 #278924 @dmckee DRY is probably the most overrated and dangerous design principle out there, though. Often it causes more problems than it solves, due to overly complex and obscure code. Maintaining a template metaprogramming hell will almost certainly cause more bugs than maintaining 2 functions with code r...
(more)
over 3 years ago
Comment Post #278924 Yet another option is to [KISS](https://en.wikipedia.org/wiki/KISS_principle) and not use templates at all, but to provide & overload functions for the supported types only. Because restricting the type-generic interface to only support certain types kind of goes against common sense.
(more)
over 3 years ago
Edit Post #278932 Initial revision over 3 years ago
Answer A: Growing software.codidact
We can't go and shamelessly promote Codidact in SO comments etc just for the sake of it - that's regarded as spamming and might get you banned, plus it will give Codidact a nasty rep. Similarly, SE and many other sites frown upon using "signatures" in your posts. What you can do - and what I've be...
(more)
over 3 years ago
Comment Post #278907 "Aviation safety is built, pretty much completely, on that kind of "anecdotal evidence"" Well, not really. Rather a group of experts getting together and agreeing on how things should be done. If you can quote for example DO-178, then that's a well-respected standard and canonical source.
(more)
over 3 years ago
Edit Post #278899 Question closed over 3 years ago
Comment Post #278899 Questions about the _use_ of software for other purposes than programming is clearly off-topic. Whether we have somewhere to direct such questions or not doesn't matter. This is not about scripting but about how to use a command line zip program.
(more)
over 3 years ago
Comment Post #278895 If you enforce a style that always uses braces you can check it with static analysis tools though. Unlike using the wrong variable and similar application level bugs.
(more)
over 3 years ago
Edit Post #278896 Post edited:
over 3 years ago
Edit Post #278896 Post edited:
over 3 years ago
Comment Post #278896 But in the end experienced C programmers have already been through missing semicolon, missing brace hell. It's an initiation rite that everyone learning C must go through. After you have coded for some 5+ years you can spot and fix these kind of bugs even if you wake up in the middle of the night wit...
(more)
over 3 years ago
Edit Post #278896 Initial revision over 3 years ago
Answer A: Is omitting braces for single statements bad practice?
Not using braces is considered bad practice by widely recognized industry coding standards (MISRA-C:2012 rule, 15.6, CERT C EXP19-C and others). Once upon a time I liked to skip out braces too, but every C (or other language) programmer using that style will ultimately write missing brace/indentio...
(more)
over 3 years ago
Comment Post #278893 So the phantom answer was caused by ‭luap42 is a ghost 👻? Makes sense, [status-haunted] :)
(more)
over 3 years ago
Edit Post #278869 Initial revision over 3 years ago
Answer A: Counting number of assignments that a `fscanf` format strings implies
Consider using look-up tables to increase execution speed (at the cost of some 200 bytes .rodata use). For example this: static const char specifiers[] = "diouxaefgcspAEFGX"; could be replaced with static const bool specifiers[UCHARMAX] = { ['d'] = true, ['i'] = true, ...
(more)
over 3 years ago
Edit Post #278868 Post edited:
over 3 years ago
Edit Post #278868 Post edited:
over 3 years ago
Edit Post #278868 Initial revision over 3 years ago
Question The size of the code format window is much too small.
When posting a lot of code on the site, the "code format window" is much too small: 1 I'm talking about this thing 2 3 4 5 6 7 8 9 10 11 12 13 14 15 The scroll bar appears after only 13 lines for me, so I can only view ...
(more)
over 3 years ago
Comment Post #278832 @Peter Taylor‭ Combining several tags to form a meaning rarely ends well. I think making one tag per program will work better in the long run.
(more)
over 3 years ago
Comment Post #278841 Command line is not programming. Everyone else but conservative programmers have stopped using command line, but that doesn't make it programming still. Once upon a time, regular users used command line, in the days of UNIX and DOS.
(more)
over 3 years ago
Comment Post #278847 Threaded comments would be awesome!
(more)
over 3 years ago
Comment Post #278830 Anyway, I think such recommendation lists may work out well if they are extensively curated and there are rules for them. I tried to make a push for quality [here](https://meta.stackoverflow.com/a/379637/584518) but nobody was interested in that. From what I hear the C++ book list is of decent qualit...
(more)
over 3 years ago
Comment Post #278830 I've been fighting a losing battle to get that one as well as the ["list of random books that exist and some might even be about programming"](https://stackoverflow.com/questions/1711/what-is-the-single-most-influential-book-every-programmer-should-read) deleted. SE community managers went in and ban...
(more)
over 3 years ago
Comment Post #278830 The C book list on SO is _not_ canonical, it's a complete fiasco and a perfect example of how horribly wrong community-maintained resource collections can go when they aren't actually maintained. Note the "Warning!" disclaimer on top of the post and the meta discussion.
(more)
over 3 years ago
Comment Post #278780 Physical vs virtual memory has nothing to do with the subject. From a general computer perspective, memory segments either reside in RAM or ROM, where RAM is a sloppy but industry standard term for "read/write memory".
(more)
over 3 years ago
Comment Post #278791 Regarding stack & heap specifically, that was a good call. There is the data type stack and there is heapsort. Dynamic memory allocation and heapsort in particular have nothing to do with each other.
(more)
over 3 years ago
Edit Post #278817 Initial revision over 3 years ago
Answer A: What is our policy on tags?
Luckily, we are in a position where we don't have to re-invent the wheel. We can see what went either wrong or horribly wrong at SO, then avoid making the same mistakes. Some common problems: - Making too generic or ambiguous tags that could mean a lot of different things. - Allowing crap tags th...
(more)
over 3 years ago
Comment Post #278780 Why did you think that RAM was an irrelevant tag to a question discussing different memory segments in RAM (as opposed to NVM)?
(more)
over 3 years ago
Edit Post #278813 Initial revision over 3 years ago
Answer A: Are reference requests welcome here?
If we ignore the part of recommendation questions leading to opinion-based answers, the main concern against these kind of questions is that they don't add anything of value to this site. But also one of the main design concerns of SO: they didn't want to end up as yet another low quality programm...
(more)
over 3 years ago
Comment Post #278792 The intention is to make things like Doxygen and Javadocs on-topic. No, you can't ask questions about that on Writing...
(more)
over 3 years ago
Comment Post #278790 This is meant to label the endless "which language is best", "which compiler should I use", "where can I find a library about..." questions. And now you mean to make them on topic?
(more)
over 3 years ago
Comment Post #278788 Way too vaguely phrased in my opinion. We could however say something about copy/paste homework dumps. I've been meaning to suggest that such dumps should always lead to user suspension since they are rude, but that's for another post.
(more)
over 3 years ago
Comment Post #278785 Also if we can't narrow the scope enough, I don't think the site will attract enough experts - they tend to shy away from "everything about software & stuff" sites were random hobbyist trade bad advise with each other. We already have some 100 sites like that on the Internet.
(more)
over 3 years ago
Comment Post #278785 This isn't about first time visitors as much as defining what the site is actually about & provide guidance to moderators. I'm thinking the site will be fairly tolerant, but in case someone decides to close bad questions, they need some community consensus to prove the point if someone starts arguing...
(more)
over 3 years ago
Comment Post #278752 Similarly, "formula" is another garbage tag which is way too generic and ambiguous.
(more)
over 3 years ago
Edit Post #278752 Post edited:
over 3 years ago
Edit Post #278752 Initial revision over 3 years ago
Answer A: Renaming sheets to the more specific google-sheets?
Google Sheets isn't a company name, it's a product name. A tag called google-sheets is perfectly fine. Google doesn't market this product as "Sheets", they market it as "Google Sheets". What is not OK is using the tags "google" and "sheets" together. That's one of the issues that the company name ...
(more)
over 3 years ago
Comment Post #278728 Mandatory pun: should we start over with a clean sheet?
(more)
over 3 years ago
Comment Post #278648 @‭Alexei This post could be used in the long term too. I don't think we should change anything unless there's strong community consensus, whatever that means in practice (+5 score?). If something is updated, a moderator might want to leave an edit comment in the answer along the lines of: "Status-com...
(more)
over 3 years ago
Comment Post #278708 I think this is a hypothetical question since there's almost always something to say about code if enough of it is posted. If that isn't the case, well, _why_ is it fine? This or that is good practice, so point that out.
(more)
over 3 years ago
Edit Post #278698 Initial revision over 3 years ago
Answer A: Community feedback: What type of questions can I ask here?
I propose that the following is added as off-topic: Off-topic - Questions with artificial requirements and no practical use, including code golf and code obfuscation. This also covers artificial homework requirements that "ban" the use of certain common language features when writing the progra...
(more)
over 3 years ago
Edit Post #278658 Post edited:
over 3 years ago
Comment Post #278666 Yeah good call, the actual core of the site is missing. I liked my definition from the previous discussion thread: "Specific programming problems, where the poster includes their own attempts to solve or debug the problem." But the proposed change in this answer works too.
(more)
over 3 years ago
Comment Post #278649 @‭r~~ No the intention is to not allow questions of the nature "Which language is fastest, C# or Java?". With no specifics or "best" criteria what-so-ever. "Fastest" in this case could mean a whole lot of things. But if the question goes into details about differences of lets say the underlying VM on...
(more)
over 3 years ago