Programmers Weekly Newsletter
Programmers Weekly Newsletter

Top new questions this week:

Internal-use websites: Is there a compelling case against SQLite?

Many web frameworks, such as Flask or Django use SQLite as their default database. SQLite is compelling because it's included in python, and administrative overhead is pretty low. However, most high …

sql frameworks scalability web-framework sqlite  
asked by Mike Pennington 13 votes
answered by Brian 7 votes

Does Java development typically involve more subclassing than C#/.Net?

I've recently started looking at Android development. This has brought me back into the work of Java software development. The last time I worked with Java, I'll admit, I didn't understand OOP …

java c# inheritance  
asked by MetaFight 13 votes
answered by Telastyn 8 votes

Should a class know about its subclasses?

Should a class know about its subclasses? Should a class do something that is specific for a given subclass for instance? My instincts tells me that is a bad design, it seems like an anti-pattern of …

object-oriented object-oriented-design class-design class  
asked by m4design 12 votes
answered by Kilian Foth 23 votes

Semantic versioning when fixing an important bug

I currently manage a library which has a lot of public usage, and I had a question about semantic versioning. I want to refactor one fairly important part of the library which is implemented …

versioning release-management semantic-versioning  
asked by hohner 12 votes
answered by Doc Brown 16 votes

Which of these old criticisms of common lisp still apply today?

In A Critique of Common Lisp written by Rodney A. Brooks and Richard P. Gabriel from Stanford in 1984, some design decisions retained by the normalizing committee of Common Lisp are discussed. While …

common-lisp  
asked by user40989 12 votes
answered by Robert Harvey 13 votes

How many strings are created in memory when concatenating strings in Java?

I was asked about immutable strings in Java. I was tasked with writing a function that concatenated a number of "a"s to a string. What I wrote: public String foo(int n) { String s = ""; for …

java strings object  
asked by ahalbert 9 votes
answered by MichaelT 16 votes

How do you identify a problem as being suitable for dynamic programming?

I have been reading up on dynamic programming lately. Would like to hear from someone who started from scratch and now is pretty good at identifying and solving DP problems. I am struggling in …

algorithms dynamic-programming  
asked by user110036 8 votes
answered by Sklivvz 7 votes

Greatest hits from previous weeks:

Single statement if block - braces or no?

Which is better/more generally accepted? This: if(condition) { statement; } Or: if(condition) statement; I tend to prefer the first one, because I think it makes it easier to tell what …

coding-style  
asked by Zannjaminderson 38 votes
answered by dsimcha 105 votes

If my team has low skill, should I lower the skill of my code?

For example, there is a common snippet in JS to get a default value: function f(x) { x = x || 'default_value'; } This kind of snippet is not easily understood by all the members of my team, …

teamwork skills social-skills  
asked by Florian Margaine 133 votes
answered by Benjamin Gruenbaum 114 votes

Can you answer these?

Extreme Programming for a single developer

I've been working with some basic extreme programming concepts for the last two weeks, for a small scale, for-profit, multiplayer, arcade game. I've spent a week developing user stories and …

design project-management extreme-programming solo-development  
asked by Kody Manharth 5 votes

Help/suggestions for Parallel assembly line scheduling (Dynamic programming)

I am working on a problem similar to the assembly line scheduling by dynamic programming.The issue is that unlike the classic problem where we have predefined stations now I only have information …

algorithms parallel-programming dynamic-programming  
asked by user109405 1 vote

Further decoupling using static libraries

I've been thinking for a while about reasons that prevent a lot of programmers — myself first of all — from writing clean, modular and expressive code while developing, for example, CocoaTouch apps. …

architecture code-reuse clean-code mvp  
asked by ivan moskalev 1 vote
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