518 reputation
311
bio website strilanc.com
location New York, United States
age
visits member for 4 years, 6 months
seen 9 hours ago

Professional and hobbyist software developer.

Working at Google in New York.


Feb
2
accepted How to inform WebStorm's autocomplete about WebGLRenderingContext
Feb
1
comment How to inform WebStorm's autocomplete about WebGLRenderingContext
@Hey That would be acceptable. That's how it works for some libraries (with annotations being in the source). The fact that webgl is builtin to browsers makes it a bit of a different case, in that the docs don't have a natural external place to live.
Feb
1
comment How to inform WebStorm's autocomplete about WebGLRenderingContext
@Hey It's silly in this case because I'm doing it inefficiently and redundantly. That information is already out there somewhere, and in far more detail (e.g. notice I'm not including signatures or per-parameter docs). Someone has already done the listing, so it's silly for me to also do the listing.
Feb
1
asked How to inform WebStorm's autocomplete about WebGLRenderingContext
Sep
24
awarded  Autobiographer
Feb
26
comment Are long functions acceptable if they have internal structure?
A good example of functions that tend to be long are the combinators you write when doing reactive programming. They easily hit thirty lines, but would double in size if split apart because you lose closures.
Dec
20
awarded  Nice Answer
Nov
29
comment Is it acceptable to use C11 generic macros in Objective-C to box numbers?
Not sure if I should be embarrassed or elated. This is much better.
Nov
29
accepted Is it acceptable to use C11 generic macros in Objective-C to box numbers?
Nov
29
answered Is it acceptable to use C11 generic macros in Objective-C to box numbers?
Nov
29
comment Is it acceptable to use C11 generic macros in Objective-C to box numbers?
@BryanChen I love it! I didn't know about it until you mentioned it just now. Question answered!
Nov
29
asked Is it acceptable to use C11 generic macros in Objective-C to box numbers?
Oct
12
awarded  Announcer
Aug
10
awarded  Good Answer
Jul
5
awarded  Nice Answer
Jul
5
comment Is fewer lines of code always better?
@Winston it's alright, it's still one giant run-on sentence and so it works. (For future readers: it used to use a code block so there was no word-wrap and you had to scroll).
Jul
4
answered Is fewer lines of code always better?
Apr
22
revised Functional Programming: right ideas about concurrency and state?
added 10 characters in body
Apr
22
answered Functional Programming: right ideas about concurrency and state?
Apr
10
awarded  Nice Answer