Should use inbuilt libraries or define classes? [closed] - java

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
what is recommended in competitive programming defining classes or using the java libraries?eg.stack or linked lists.Does performance of code depends on it?

Normally you don't need to write your own classes for saving and managing some objects in a list.
I recommend you not to invent the wheel again.
Except you do it for a learning purpose.
The problem with writing your own classes for critical operations is that you can't do it better than a team of some pretty smart heads. Neither do I.

Related

How to measure testability of Java classes? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to implement JUnit tests in order to do some refactoring. First I'd like to check how good the class is, whether it's implemented for testability. Is there any metric and tools I could use to measure how testable a Java class is?
Probably you're looking for the Testability Explorer. Latest code seems to be on github.

Lynda or Treehouse? [closed]

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 thinking about joining either Lynda or Treehouse to sharpen my coding skills. I was wondering (since they're both paid services) if anyone has any feedback or experience with either of the two. I am also open to new suggestions, too.
thanks
I would try to use as many freely available resources as possible first. Here is a list of free books.
https://stackoverflow.com/questions/194812/list-of-freely-available-programming-books
Also Coursera and other MOOC's can be a great resource.
Personally I've used Treehouse and it helped me somewhat but is too expensive in my opinion.

How to choose platform? [closed]

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 just completed my post graduation and I know core java, advance java and oracle and little bit android, so to start my carrier i have option to choose java/.net platform. I am also interested to learn .net so which choice is better to learn .net or continue with just java platform? give me your suggestions.
Learning is always a good thing. There is no such thing as the one language to rule them all.

java double-buffering performance [closed]

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
What is better to use in java: a manually implemented double-buffering, or to use an already double-buffered swing component? Or is this without any difference?
Thank you.
It's unclear what you mean by "better" (or for that matter, the specifics of "manually implemented double-buffering"), but two major points:
It generally makes more sense to not reinvent wheels.
Don't optimize prematurely. Unless you are seeing performance that does not meet your requirements and have benchmarked and determined that your double-buffering implementation is the cause, then you should not be asking this question.

Checking class's thread-safety in intellij Idea [closed]

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
I heard that there is a possibility to check if the class is thread-safe.
Is it so? How to do that?
The question was HOW so here is the answer:
go to Settings->Inspections and there choose Threading issues and Concurrency annotation issues
I think you have to look at FindBugs project. It makes static analysis of code and possibly can find some concurrency problems. There is also plugin for intelliJ which can be integrated with this tool.

Categories