Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
napo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
napo
10y ago
> I fully subscribe to the definition of legacy code as “code without an automated test suite.” > I’ve never really subscribed to any of the test-driven-development manifestos or practices that I’ve encountered. I feel the exact oppos
62.
▲
by
napo
11y ago
It is... It's alway better to write code that shows the intent. When you add comments you force other dev to maintain them, and if they don't you will end up with obsolete or incorrect comments. Plus, you end up doing stupid stuff
63.
▲
by
napo
11y ago
If you want to alter the genome of an already living creature I guess that you have to change every cells. I'm not sure if it's possible. However, a virus seems to be the perfect tool (it modify your genome to copy itself and infe
64.
▲
by
napo
11y ago
> So his get-rich-quick scheme (or "business plan") is to sign contracts he knows he will break, and hope he doesn't get caught until after he has come out ahead. Sadly, it's often a good strategy to just breaking the
65.
▲
by
napo
11y ago
$('p').css('text-align', 'justify');
66.
▲
by
napo
11y ago
Great article. However... $('img').attr('style', '-webkit-filter: blur(0);')