2 karma · joined Apr 8, 2016 (10y ago) · 5 submissions
comment 4y ago · link · parent
It's a bit overly simple, but it's helped a few times writing code the makes use of several concurrency methods and combining them together etc.
comment 10y ago · link · parent
This rule is important because it makes the widths of the events deterministic, which otherwise they are not. That same test illustrates this exact problem, why not have the widths be 1/2, 1/4, 1/4, 1/2? Considering the first constraint the correct layout is all having width 1/3.
https://github.com/thejsj/calendar-exercise/blob/master/test...