TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Feeling miserable at work

3 点作者 grover_hartmann大约 7 年前
Rails programmer with ~10 years of experience here, recently I&#x27;ve been hired as a PHP programmer and I&#x27;m dealing with a very complex and undocumented codebase that I wish I never seen before.<p>You might ask &quot;why did you took the job in the first place?&quot;, well that&#x27;s either because I can&#x27;t find work in my area and most of it is PHP&#x2F;Python work and I can&#x27;t move either, the Rails related work that is remote requires that I move and remote work tends to be &quot;US remote&quot;.<p>The PHP code I&#x27;m working with is extremely complex&#x2F;messy and most of the code is undocumented, I have to do lots of debugging just for changing the simplest things and I&#x27;m also not very familiar with this language.<p>Most of the code is a mess of spaghetti code, think of HTML, JS and PHP all glued up with no proper structure.<p>The git repository is also one of the biggest repositories I have worked with (247 MB), 45,000 files and 1 million lines of code for the whole project.<p>I was already able to complete some tasks but I can&#x27;t help but feel miserable with this project.<p>Recently my manager started asking me questions like &quot;How&#x27;s it going? Will you finish this task today?&quot; and I explained to him I&#x27;m having difficulties with the code and that I&#x27;m not very comfortable working with it but he&#x27;s insisting that I stay firm at it and get familiar with the code. Please advice.

1 comment

tboyd47大约 7 年前
Sorry man. Sometimes you just have to deal with shit code. We&#x27;ve all been there.<p>Are the people at the job nice? Do you have freedom to work as you please? Do you have the time to take the code in a better direction? I&#x27;m just trying to help you find a bright side.<p>I&#x27;d say there are two possible paths here. Either the job is overwhelming to you, or it&#x27;s not overwhelming but just extremely unpleasant. If it&#x27;s overwhelming, I&#x27;d say to explain that to your manager and request an immediate short-term re-assignment. If it&#x27;s just unpleasant, then follow your manager&#x27;s advice. You might be holding your nose for a while, but you will adapt to it and it will get easier.
评论 #16885403 未加载