-
as seen on Programmers
- Search for 'Programmers'
When an application is created which need to store data, an SQL database is used very often.
So did I in a lot of asp.net applications. The resulting applications have often an ORM like the entity framework and maybe a business layer.
So when such an application needs to be extended(let's say you…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
Chidamber & Kemerer proposed several metrics for object oriented code. Among them, depth of inheritance tree, weighted number of methods, number of member functions, number of children, and coupling between objects. Using a base of code, they tried to correlated these metrics to the defect density…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
If I wanted to help a customer understand the degree of technical debt in his application, what would be the best metric to use? I've stumbled across Erik Doernenburg's code toxicity, and also Sonar's technical debt plugin, but was wondering what others exist.
Ideally, I'd like to say "system A has…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
How would one know if the code he has created is easily maintainable and readable? Of course in your point of view (the one who actually wrote the code) your code is readable and maintainable, but we should be true to ourselves here.
How would we know if we've written pretty messy and unmaintainable…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
Sometimes you run into a situation where you have to extend/improve an existing code. You see that the old code is very lean, but it's also difficult to extend, and takes time to read.
Is it a good idea to replace it with modern code?
Some time ago I liked the lean approach, but now, it seems to…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I saw the answer to this question: How does thinking on design patterns and OOP practices change in dynamic and weakly-typed languages? There it is a link to an article with an outspoken title: Are Design Patterns Missing Language Features. But where you can get snippets that seem very objective and…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
What are the features and language objectives (general problems to solves) or paradigms that a fictive programming language targetted at games (any kind of game) would require?
For example, obviously we would have at least Performance (in speed and memory) (because a lot of games simply require that)…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Having mostly worked with C#, I tend to think in terms of C# features which aren't available in Java. After working extensively with Java over the last year, I've started to discover Java features that I wish were in C#. Below is a list of the ones that I'm aware of. Can anyone think of other Java…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What are some Java language features or Java related tools that you were embarrassed to find that you didn't know about? Examples for me are:
jmap
RuntimeException
Please post things every Java programmer should know about, be they language features, tools, or facts about how the JVM works, but…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
Since it's the holiday season now and everybody's making wishes, I wonder - which language features you would wish PHP would have added? I am interested in some practical suggestions/wishes for the language. By practical I mean:
Something that can be practically done (not: "I wish PHP would guess…
>>> More