Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have a curious question here. Is it wise to have a singleton class use or call another singleton class? The project the i'm currently working does this a quite a bit. The good and bad tidbits of this convention would be most helpful.
There is no point about it. Each singelton stands for itself and call the other or not. It's not good or bad.
It depens on your goal, if the singeltons themself are a good decission.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am curious when there is a correct time to use the attribute [Obsolete] and the time to just delete the code. Is this something that should be considered in certain patterns like Factory vs Builder? Thanks!
You should use it in situations where there is code that is not under your control that consumes your class and you want to make a public API change and discourage or block future usage of the old API method/property without breaking binary compatability.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
What is the naming convention for AutoResetEvents so that
A programmer intuitively knows that it is an AutoResetEvent
A programmer knows specifically what it is for
Say I have a method to refresh things which can only be called by one thread at a time
I find something like "resfreshThingAutoResetEvent" to be cumbersome, but it is the only way I can think to name it so that it meets the goals above.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am working in a company that wants to make a CMS program.
I say that the UI layer should be written with MVC but they say that MVP is better.
I dont know which one is good for this project or any other.
What do you think?
And they want to use WPF.
How do you think about WPF in a web project like this?
Thank you all.
Go to beside your management and say "be satisfy"
MVC is better thing.. :)
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm having difficulty trying to remember the term describing the wasted time of trying to understand the code of a legacy application that has no documentation. I had thought the term was code rediscovery, but Google is telling me I'm misremembering.
You are probably referring to Software/Code Archaeology which is the process of studying badly/not documented legacy projects/code.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I write a lot of code in Java, and always use anonymous classes. They allows you write concise code without boilerplate.
However, many modern languages, like C# and Dart don't include them. Why they aren't included there? What's so bad about them? Are there any blog post or articles where languages' where authors describe why they excluded them from these languages?