Top new questions this week:
|
Over the last few months, I stumbled a few times over the following technique / pattern. However, I can't seem to find a specific name, nor am I a 100% sure about all its advantages and disadvantages.
…
|
The Java team has done a ton of great work removing barriers to functional programming in Java 8. In particular, the changes to the java.util Collections do a great job of chaining transformations …
|
I have been reading about the (un)convenience of having null instead of (for example) Maybe. After reading this article, I am convinced that it would be much better to use Maybe (or something …
|
The problem is the following.
There's a set of simple entities E, each one having a set of tags T attached.
Each entity might have an arbitrary number of tags.
Total number of entities is near 100 …
|
To make this question answerable, let's assume that the cost of ambiguity in the mind of a programmer is much more expensive then a few extra keystrokes.
Given that, why would I allow my teammates to …
|
I'm integration testing a system, by using only the public APIs. I have a test that looks something like this:
def testAllTheThings():
email = create_random_email()
password = …
|
We are currently using Entity Framework as an ORM across a few web applications, and until now, it has suited us well as all our data is stored in a single database. We are using the repository …
|
Greatest hits from previous weeks:
|
Instead of a database I just serialize my data to JSON, saving and loading it to disk when necessary. All the data management is made on the program itself, which is faster AND easier than using SQL …
|
I know that Microsoft has said
ASP.NET MVC is not a replacement for WebForms.
And some developers say WebForms is faster to develop on than MVC. But I believe speed of coding comes down to …
|
Can you answer these?
|
I have built a restful json api for an online store using Laravel.
I now wish to create an AngularJS app to run the front-end web application. Product prices for my store need to update every second, …
|
The question itself is already in the title, so here I will just provide additional details.
I call a regular expression "deterministic", if, after converting the regular expression into a …
|
I use a pattern that I call "ensure" extensively in my repository layer. In short, it does the following when I call an Ensure(...) method:
It uses the arguments in the method to attempt to …
|