Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unauth
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
unauth
15y ago
web development mostly. Big Japanese companies use perl for their backend and you can find many blog entries about perl in Japanese.
2.
▲
by
unauth
15y ago
if order does not matter: var sum=0,i=list.length; while(i--) sum += list[i].amount; if it does: var sum=0,i=0,ln=list.length; while (ln-- && (sum += list[i++].amount)); but the for in syntax is nicer indeed.