Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
tig
19y ago
Yes, you can create an environment in every language to help you write very short web-apps. I still dont get the point Paul wants to make with his Arc example. Your Ruby solution looks a lot more readable to me. Also my PHP solution, which
2.
▲
by
tig
19y ago
PHP: if ($S['foo']) echo "you said {$S['foo']}"; elseif (PtoS('foo')) link('said','click here'); else form('foo'); For me, making programs short is not a design goal. But if it would, I would do it like above. My framework then w