Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
je42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
661.
▲
by
je42
14y ago
on how many android devices have you tested it ?
662.
▲
by
je42
14y ago
oops sorry for the typo ;)
663.
▲
by
je42
14y ago
that does not scale. you can have hundreds of calls that require error handling inside your code. considering your example you would get the section "//handle you error" hundreds of times. sprinkled all over the place.
664.
▲
by
je42
14y ago
so you prefer to decentralize your exception handling code ? how do you scale that ?
665.
▲
by
je42
14y ago
Thanks ! I just thought i was missing somehting , that Heisenberg did not mention exception wrapping. The funny thing about that technique is, that a lot of people do know it, they ususlly just print a strack trace and ignore the exception.
666.
▲
by
je42
15y ago
I dont understand this. According to some believe exceptions should be used in an exceptional context. Can anybody define what exceptional is? I use exception to get the context in which the error happend. Call stack, variables, stuff like
667.
▲
by
je42
15y ago
Am I the only one that thinks the tutorials are a bit weird. For example: their QuickSort implementation looks pretty much "sub-optimal"". ( They allocate new arrays in each recursive call ) Another example: Shortest-Path search. A-Star is
668.
▲
by
je42
15y ago
totally agree !
669.
▲
by
je42
16y ago
Thank you for posting this ! The whole post means quite a bit for me. Almost every word you write feels familiar. I wish you good luck with with your startup. Actually I wish all startups having difficulty raising the next round good luck.