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 recently went for an interview and was requested to submit an example of my production code.
Submitted the code complete with javadocs, but was questioned by the interviewer about my choice of it.
I find javadocs quite useful for understanding code by others and it's really not that much of a legibility issue if I'm using an IDE. Can someone enlighten me on why it may not be recommended and what would be a better alternative in said situation?
Javadocs are not evil, and for Java it's the best you can do to properly document your code.
Being questioned does not mean automatically that what you've done is evil. Questions are mostly to test if you're sure in what you do and if you know more about it or you just made a guess.
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 want to create a bot for plug.dj.
All this bot would do is type something in the chat every 5 minutes.
I was wondering which language I should use.
I am pretty good at Java.
And how would I make it?
Can some one link an example?
Thank you very much. Sorry if I am asking for much, I just need to get started with this thing.
You could use Node.js with PlugAPI - their documentation is very good and has some examples. Pretty sure this would be the easiest way to do it, don't know of any Plug libraries in 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 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.
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 starting to use PMD and I really want to know which are the most important rules or the rules that anybody can´t miss when using this tool.
I´m looking for some article or page with a list of rules that must be used in PMD, this tool has a lot of rules and it's difficult to select only a few of them.
Thanks!
The answer to this question is both general and subjective. However, the sourceforge pmd site has a list of some pre-packaged rulesets:
http://pmd.sourceforge.net/pmd-5.0.5/rules/index.html
You should probably use at least the basic ruleset. Beyond that, it's up to what kind of project you are working on and which rules apply to it.
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.
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.