Relative Content

Tag Archive for language-agnostic

Is there ever a reason to do all an object’s work in a constructor?

Let me preface this by saying this is not my code nor my coworkers’ code. Years ago when our company was smaller, we had some projects we needed done that we did not have the capacity for, so they were outsourced. Now, I have nothing against outsourcing or contractors in general, but the codebase they produced is a mass of WTFs. That being said, it does (mostly) work, so I suppose it’s in the top 10% of outsourced projects I’ve seen.

Programming language trends

Are there some statistics out there that show the approx. number of users that popular programming languages have and the rate this number increases over time?

How could I avoid a distributed deadlock during a mutual connection between two nodes?

Suppose we have two peer nodes: the first node can send a connection request to the second one, but also the second one can send a connection request to the first one. How to avoid a double connection between the two nodes? To resolve this issue, it would be sufficient to make sequential the operations performed for creating inbound or outbound TCP connections.

What’s the next level of abstraction? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]