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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN:Where and when do you code?

8 点作者 vynch将近 14 年前
lol no I dont mean where in the virtual address space...I mean where in the real world do you actually sit down and write code.?..What kind of lighting conditions are there? it is open air?..Is there music playing in the background...What time of the day seems to be ideal?<p>I have been trying to solve this problem for a while and it seems like some places and times are better than others to the programming mind.Please let me know what your thoughts are and also point me in the right direction if any of you have thought about this problem before.<p>Thanks vynch

6 条评论

walrus将近 14 年前
I'm most productive in a silent, mostly empty room at 2:00am. I'm pretty much worthless as a programmer if I'm in the presence of other people.
评论 #2801061 未加载
namank将近 14 年前
If its a technology I'm not great with (most things these days), I usually need to learn as I code. And since I do my best learning in silence, thats what I go for. But programming with a familiar framework, I'm fine with whenever and whatever except silence; need some background white noise. I usually DON'T use music for white noise (I get distracted because I know the songs), preferring instead a lounge, cafe or a 7/10 movie playing in the background.<p>I've been working on an iOS contract job for the past two weeks. I wrote at home in silence as I knew very little of the features they asked me to implement (using vDSP, MapKit, GameKit, Remote I/O Audio in conjunction). I went to client location only to put finishing touches/last minute addons/testing. (Client Location wasn't exactly geared for a productive developer environment - too much noise, too many distractions)<p>Turned out to be great app - they loved it and it taught me a lot about iOS, DSP, and my working preferences.
评论 #2801073 未加载
mooism2将近 14 年前
I find being in the right frame of mind is more important than location. I code at my desk, I code on the sofa, I code on public transport, I code at the pub if I get there before my friends, I code in bed in the middle of the night if I cannot sleep.<p>Sometimes I need to listen to music to block out distractions. Sometimes I don't.<p>You say that "it seems like some places and times are better than others to the programming mind." That's true, but it's also dependent on the programming mind in question, both in terms of different people having different optima, and individual people having different optima over time.
评论 #2801057 未加载
bartmcpherson将近 14 年前
I like to program whenever I'm not tired. I usually listen to music with headphones on. This helps to block out other people in the office or the tv/other people at home. Programming when tired leads to errors and forgetting where you left off when you have to stop or take a break. I rarely program outside. The glare on the screen is too much to deal with.
评论 #2798464 未加载
jesstaa将近 14 年前
I like to sit in cafes and code. It's not as socially isolating and the distractions are easy to block out because they are random and unimportant to me. Distractions at home or the office are much more difficult to ignore.
评论 #2801050 未加载
glimcat将近 14 年前
At a marker board, in a notebook, in the shower, on the bus...the typing part is largely just data entry and debugging.