Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bloodyRevolver
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
bloodyRevolver
13y ago
Aside from the last piece of advice: to have fun. This is a terrible list. Global vars are bad for application level logic and clutter your global namespace. Switch statements are great but only if you have more than 3-4 conditions. Set tim
2.
▲
by
bloodyRevolver
13y ago
I feel both patterns are relevant for a particular context. the important variables: A) will the user need to bookmark or revisit some of this data at a later point? B) is there a finite amount of data C)is the order in which the data displ