How to be a good Java programmer

If you are a Java programmer who is keen on technology, then the following 10 points can make you stand out from the crowd of Java developers.
1. Have a solid foundation and a deep understanding of OO principles
For Java programmers, a solid understanding of the concept of Object Oriented Programming is a must. Without a solid foundation in OOPS, you cannot appreciate the beauty of object-oriented programming languages ​​like Java. Learning the definitions of OO principles alone is of little use. The key is to learn how to apply these principles to design solutions in an OO way. Therefore, we should have a good understanding of object modeling, inheritance, polymorphism, design patterns.
2. Master the core API
If you don't know the language structure and core API, then no matter how strong you are in theoretical knowledge, you can't be a forest alone. In Java, it's best to have strong hands-on experience with core APIs such as java.lang.*, I/O, exceptions, collections, generics, threads, JDBC, and more. When it comes to Web application development, JSP is a must, no matter what framework you're using that has a lot to do with servlets.
3. Keep coding
Lu You once said, "It's shallow on paper, and you never know what to do with it." It's easy to come up with a solution in theory, but it's only when it's implemented that you realize how difficult the problem is. At this point, you will understand the language constraints that exist in the coding process and design best practices. So don't break coding.
4. Subscribe to the Community Forum
We are not loners. Many people are working on the same technology as we are. It is not difficult to just verify a certain framework concept, but when you apply these concepts to actual projects, then various problems and various problems that cannot be solved in official documents will be Followed. The first thing to do when learning a new technology is to subscribe to relevant technical community forums. No matter what problem you're having, there's always someone who's had it before you, and maybe has already found a solution. Ps, you can also answer questions raised by others, and it doesn't feel too cool. You can also subscribe to the "Happy Code Farmer" programmer journal by email to get more programming knowledge, click to subscribe.
5. Follow the blog and attach your own comments
正如我前一点所说的,我们并不孤单。成千上万来自世界各地的技术爱好者将他们的技术见解发表在博客上。在博客上我们可以找到很多相同技术的不同观 点。有人会觉得这是一个强大的技术功能,而有的人可能会觉得这是一个愚蠢的框架,仁者见仁智者见智。所以对于同一种技术你会在博客中听到两种不同的声音。 看到好的博客可以写点自己的看法回复在评论上。
6.阅读开源框架的源代码
好的开发人员总是知道如何使用框架。但是如果你想成为一个优秀的开发人员,那么你需要研究各种成功和流行的框架源代码,去了解它的内部工作机制和最佳实践形式。这是一种高效的使用框架的方法。
7.了解相关技术的发展趋势
在开源环境中,软件开发技术总是在不断发展变化。现在所谓的新框架,可能到时候会过时。当前框架上解决不了的问题,可能在新框架上就不再是问题。所以要时刻注意着新事物的诞生和旧事物的消亡。
8.手头准备好常用的代码片段/实用程序
有时候我们可能需要一遍又一遍地复制粘贴/编写相同的代码片段/配置。所以,保存一些配置片段如 log4.properties、jdbc 配置,以及实用程序如 StringUtils、ReflectionUtils、DBUtils 大有好处。这些东西本身可能并不能让你与众不同,但是你想想看,要是你的合作开发人员希望你帮他从对象集合中获取属性值的列表,而你只需要用 ReflectionUtil 就可以在几分钟内解决,是不是一下子脱颖而出了呢。
9.了解不同的开发方法
熟悉不同的开发方法,例如 Agile、SCRUM、XP、Waterfall 等等。现在,选择哪种开发方法是由客户说了算的。有的客户偏好 Agile,而有的则更喜欢 Waterfall 模型。所以对各种方法都能有所涉猎绝对让人刮目相看。
10.将自己对技术的看法记录到文档/博客上
在我们每天的工作中,我们或许会学到新的东西,新的做事方法、实践形式和架构理念。可以将这些想法记录到文档或者博客中,分享给大家。因为你现在解决问题的方法可能正是世界上另一个角落另一个开发人员“寻寻觅觅上下求索”的难题,你的分享将完全不亚于一场久旱的甘霖
java免费直播公开课请加老师QQ578024144

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326416002&siteId=291194637