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
questions about the system, network, or server administration Which system? I think it is clearer without "the": questions about system, network, or server administration
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: Maki...
On that other site that shall not be named, reference request questions are outlawed as "asking for an off-site resource". What do you guys think about such questions? Should they be welcome here?...
1 - Rearrange the code: Open stdin, read all parameters, close stdin, then process the parameters. 2 - Consider adding some validation to the parameters. 3 - Add an explanation of the magic number ...
Let's say I have a table with 10,000 rows and instead of selecting all of the rows at once I select 1,000 at a time like LIMIT 0,1000 LIMIT 1000,1000 etc. Without an ORDER BY statement the or...
This is a class from my personal code library, and from a package which deals with integer sequences. It implements an interface package org.cheddarmonk.math.sequence; public interface IntegerSequ...
If one is using SASS to build a websites CSS and using version control one can either, Keep both the SASS and the resulting CSS files in version control. Only storing the SASS files in version con...
I have tables A and B and then I have a many to many join table with foreign keys to both called a_b. Neither foreign key can be null and the combinations for the foreign keys to A and B are unique...
Already good answers, but I can provide a slightly different perspective here: always use braces if there is a risk of getting into a pitfall. Examples (from C#, but the language is less relevant)...
In SO, I had saw that a person was writing lot of abusive words inside code. Just like, if(a==b){ print("f***") } I had flagged on that post with little bit explanation. The user gave ...
I have a mobile-only HTML contact form divided in source code into three sections; each section should contain fields by a different context. <!DOCTYPE html> <html> <head> ...
Proposal: Can Include Helpful feedback I'd refrain from restricting the topic of feedback, because there are many possible topics: Clarifying the question Explaining why OP would be ...
I agree that these buttons should have tooltips explaining what the buttons are for. That would be far more useful than showing the result of a simple calculation on the displayed votes, and seems ...
If I understand correctly what you are asking for is a static code analysis tool for PHP. A quick search reveals that Psalm would be such a tool.
While learning JavaScript, I started to see =, == and === operators. What's the difference between them?
You can now add "category:###" to a search, where ### is the number in the URL for the category, to restrict the search to one category. For example, Software Dev Q&A is 38 and Code Review is ...
Placing <script> in the <head>: Placing <script> in the <head> might affect the performance since the content won't load until the browser complete downloading the JavaScri...
I posted an answer here and IIRC received one or two upvotes. Then a user falsely accused me of copy-pasting from Wikipedia without citing my sources. To that accusation I replied here. However...
The problem is the fallthrough behaviour of case statements. Basically, once a case's condition is met, all the others after that are also executed. Example: int x = 2; switch (x) { case 1: ...
400 lines is not that big, it should be fine to post the complete program below the Code Reviews post category. I'd post it as separate code formatted blocks with one block per file indeed. A revi...
This should perhaps be a comment rather than an answer, but I want to allow people to vote to indicate agreement or disagreement. "Complete code" doesn't necessarily mean an entire project. It mea...
Hm... there was some weird stuff with Art and me attempting to edit the post at the same time and me making changes to the tag to conform to the standard name (without the additional dash), ...
Your first diagram illustrates a pattern that doesn't really make sense and most likely doesn't reflect what you're actually doing. Specifically, it illustrates a pattern where the feature branch n...
The console.readline tag has been created for Q: How to read lines into an array in Bash, which uses a while read loop. That tag is inappropriate because Readline, the console and the read built-...
Let's consider the following git graph. The initial commit is 1. The colors identify the authors of each commit. Orange has left the project. Green, Blue and Pink are still active. cha...