language-agnostic
GET or POST for deletion
As a newbie in the world of web development, I have a handful of general questions regarding web design 开发者_Go百科and here is one of them.[详细]
2023-04-05 17:33 分类:问答DDD: can a repository return boolean values?
Is it ok for a Repository to return boolean values based on objects it (virtually) c开发者_Python百科ontains?[详细]
2023-04-05 17:12 分类:问答Why is modulus defined the way it is in programming languages
I\'m not asking about the definition but rather why the language creators chose to define modulus with asymmetric behavior in C++. (I think Java too)[详细]
2023-04-05 17:10 分类:问答Problem calculating overlapping date ranges
I have a problem trying to work out the correct algorithm to calculate a set of date ranges. Basically I have a list of unordered date ranges (List containing arrays of start and end times) and I wan[详细]
2023-04-05 15:34 分类:问答Real time sorting of an array
This was an interview question. \"Receives 1000 bids/second for a stock. 开发者_开发技巧Want to store the top 50 bids and calculate the mean. How?\"You wouldn\'t \"real-time sort\".You would probably[详细]
2023-04-05 05:02 分类:问答Why set variables inside the construct of a PHP class when you can set them when they are declared?
Is there a reason to set a value for variables in the constructor of a class rather than when you declare them?I realize you can\'t pass data into the variables if you try to set them when they are de[详细]
2023-04-05 03:22 分类:问答Help need for specific boolean logic
CaptchaIsExistCaptchaIsValid=Result -------------- 开发者_如何学Go--------------------- truefalse=false[详细]
2023-04-04 18:13 分类:问答Question for web developers: using an image server for dynamic images
Supposing you were designing an image gallery website that uses dynamic images. By dynamic, I mean that these images can be converted to different formats, scaled, cropped and watermarked on the fly.[详细]
2023-04-04 13:26 分类:问答How to throw throw from finalizers(of resource objects)
Finalizers are not destructors, finalizers are useless. From what I hear a lot of Java resource Objects dispose on finalize() \"just in case\".[详细]
2023-04-04 11:07 分类:问答How can I tell if a crash is my fault or a 3rd-party bug?
I have a recurring intermittent EXC_BAD_ACCESS crash documented here. This question: What steps can I take to make sure that this isn\'t a framework/lib error, and is actually a fault with my code? ([详细]
2023-04-04 03:50 分类:问答