Hacker Newsnew | past | comments | ask | show | jobs | submit | acbabis's commentslogin

> I’ve also learned to write code in a way that reduces cognitive load so that interruptions aren’t so disruptive to my productivity.

I have too, but sometimes I have to read other people's code, and I don't have any control over how difficult that is.


You certainly do! The variable we tend to be rigid about is whatever our idea of expectation is for our progress. It’s worth it to you and your employer both to be well organized in the way you approach legacy code. If you’re actively turning rotten stuff into tested, reliable code then you can organize yourself in a way that doesn’t require you to eat the whole elephant at once.

It may take some creativity, and I won’t claim this is universally true, but in all but the most exceptional of circumstances understanding of even an ugly codebase can be accomplished in bite-sized pieces.


I've found that learning to empathize with future-me, also made me better at writing code that others want to read. Kind of like dogfooding.


There could be a lot of reasons for that. I doubt the reason is that meat is the healthiest option for them; meat contains a lot of saturated fat, which athletes try to avoid too much of. It's more likely that meat is healthy enough for athletes who enjoy eating meat. This wouldn't mean they need meat, and they most certainly don't as there are a lot of successful vegan bodybuilders.


There is no evidence that saturated fat inhibits athletic performance. Vegan bodybuilders are a small fraction of the total, and that's just one sport. What percentage of elite athletes across all sports are vegan?


The overall portion of athletes are vegetarian or vegan is low, but the ones who are can still perform very well. This suggests that the difference is based, at least in part, on preference.


There have also been many athletes who tried vegan diets and found that their performance declined, or they had more difficulty recovering from injuries. So preference is only one factor.


This. In conversations about vegetarianism, it's pretty common for people to give their distaste of fake meat as their primary reason for not reducing their meat consumption. I really wish that wasn't the default counter-argument, but there seem to be a lot of people who truly believe vegetarians need soymeat to survive.

I've noticed the vegan foods I enjoy most are the ones that aren't trying to be something else. They just use tasty vegan ingredients like potatoes or avocados. I think more people would consider reductarian diets if they were aware of this.


I've experienced this first-hand. Joining an existing project and being put on test-writing duty very quickly turned me into our team's chief advocate of writing testable code.


I don't think volume of articles is a very good measure. The distribution of people who publish things has changed over time.


I'm not a Twitter user myself, but the character limit is what made Twitter unique. It might be fun to laugh at people who only want to read 140 characters, but we shouldn't assume they aren't going elsewhere to post and read essays. A lot of people use Twitter and reddit/Facebook/HN/ect.


I've also done a lot of accessibility work. For people looking to get into it, another crucial thing is using "Semantic HTML". If every button is a <button> tag and every link is an <a> and every form element has a corresponding <form> tag (even for AJAX), then you save about 80% of your accessibility work up front (no, this isn't an exaggeration).


It's also a great way to persuade managers. Actually, a lot of the time you can just tell them you're doing SEO because nowadays they're fundamentally the same. Almost everything you do for accessibility has a positive impact on SEO.


Bathrooms and kitchens


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: