问HN:初级开发者迷失方向
你好,仍然在阅读论坛的朋友们。
我最近刚从大学毕业,开始作为一名初级开发者工作(现在努力从资深同事那里吸收尽可能多的知识),感觉现实世界与大学的实践有些不同。
在大学里,我们学习了设计模式以及诸如领域、应用、基础设施和用户界面等各种职责。领域绝不应该依赖于基础设施或应用层等等。但是我参与的项目中,领域却依赖于基础设施,还有一个项目中应用直接引用了基础设施,并被告知这是正确的实现……真是让人无奈。
我觉得自己在听课上还算不错,但现在开始怀疑,学习这些东西是否真的值得,哈哈,因为外面的情况实在是太矛盾了。当然,我没有资格质疑资深开发者,但你们觉得——大学里所谓的“最佳实践”真的就这样被扔进垃圾桶了吗,还是我只是误解了现实工作的背景?
查看原文
Hello those who still read forums.<p>I have recently graduated from a college and started working as a junior dev (trying to consume as much knowledge from senior colleagues as I can now) and it seems that the real world is kind of a different story compared to the college practice.<p>In the college we've been taught about design patterns and all these responsibilities like domain, application, infrastructure, UI. Domain should never depend on infrastructure or application layer and so on. But the projects I got have domain that depend on infrastructure and another one where application has a reference directly to infrastructure and been told that this is correct implementation... doh..<p>I think I was kind of a good at listening for the lectures, but I now am doubting about, whether it was worth learning stuff at all lol since it's so controversial out there. I am, of course, in no position to question senior dev, but what do you guys think - is it really normal that all the college so called "best practices" go straight to the trash bin or am I just misunderstanding the real-work-like context?