Programmers Weekly Newsletter
Programmers Weekly Newsletter

Top new questions this week:

Why not embed styles/scripts in HTML instead of linking?

We concatenate CSS and JavaScript files to reduce the number of HTTP requests, which improves performance. The result is HTML like this: <link rel="stylesheet" …

javascript html css front-end  
asked by mtoast 15 votes
answered by delnan 44 votes

What is idiomatic use of arbitrary blocks in C?

A block is a list of statements to be executed. Examples of where blocks come up in C are after a while statement and in if statements while( boolean expression) statement OR block if (boolean …

c syntax  
asked by Jonathan Gallagher 10 votes
answered by Caleb 7 votes

Why is the copying instruction usually named MOV?

In quite many assemblers, a value copying instruction is usually named "MOV" and its description in manuals usually also contains "move" (however, other words can be used, like "load", "store", …

history assembly  
asked by Netch 8 votes
answered by supercat 5 votes

How discrete should a RESTful API be?

I've never built a RESTful API before and I am wondering how discrete should it be? For example lets say I have a customer which has a name, address, phone number, email address, language, etc. Does …

api rest  
asked by satur9nine 7 votes
answered by thorsten müller 10 votes

Which way to terminate reading loop is the preferred approach?

When you have to iterate a reader where the number of items to read is unknown, and the only way to do is it to keep reading until you hit the end. This is often the place you need an endless loop. …

c# code-quality readability  
asked by Mathew Foscarini 5 votes
answered by Eric Lippert 10 votes

Calculator with 3+ values

I am new to c++ and have been making the good old Calculator. I have gone forward from a 2 value calculator to a 3 value calculator and wondered.. How is it possible to make a 10 digit calculator …

c++  
asked by Matt 5 votes
answered by user40989 10 votes

Why isn't exponentiation hardware-implemented?

Why is there no exponentiation operation in hardware, even though many languages have builtin operators for it? Is it because even hardware implementations would need to use the same algorithm as …

hardware operators computer-architecture  
asked by user1358 5 votes
answered by Donal Fellows 5 votes

Greatest hits from previous weeks:

Which hashing algorithm is best for uniqueness and speed?

Which hashing algorithm is best for uniqueness and speed? Example (good) uses include hash dictionaries. I know there are things like SHA-256 and such, but these algorithms are designed to be …

algorithms hashing  
asked by Earlz 437 votes
answered by Ian Boyd 912 votes

Why use a database instead of just saving your data to disk?

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 …

database sql mysql nosql  
asked by Dokkat 104 votes
answered by Robert Harvey 182 votes

Can you answer this?

Team Git workflow working with a multi-project Sitecore solution using TDS

We are a team of 8-10 developers working on different parts of a Sitecore instance. In the past we've used SVN and more recently (and successfully) Hg, but are moving to using Git as our primary …

git  
asked by Jon Upchurch 5 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3