Skip to main content

Timeline for Tuples or Objects

Current License: CC BY-SA 3.0

15 events
when toggle format what by license comment
May 17, 2017 at 13:07 comment added Idan Arye "not explicit what the boolean means" can almost always be solved by replacing the boolean with an enum.
May 17, 2017 at 12:48 comment added Ewan at some number of pages, sending all those trues is slower than asking for one page too many
May 17, 2017 at 2:04 comment added Paul For your example I think the Boolean is a bad choice no matter where you stick it or how you name it. Far better would be a response that includes and integer representing the total # of items.
May 16, 2017 at 17:20 answer added Berin Loritsch timeline score: 3
S May 16, 2017 at 15:54 history suggested SynozeN Technologies CC BY-SA 3.0
grammar changes and correct spelling
May 16, 2017 at 9:57 review Suggested edits
S May 16, 2017 at 15:54
May 3, 2017 at 3:10 history tweeted twitter.com/StackSoftEng/status/859605953527894017
Apr 27, 2017 at 6:44 answer added Vladimir Stokic timeline score: 0
Apr 27, 2017 at 0:13 answer added Maybe_Factor timeline score: 3
Apr 26, 2017 at 23:10 comment added Nathan PagedResponse<T> { List<T>, bool } is another alternative. It might be more useful to return the total number of available results rather than just a bool. If you're designing a HTTP Api, you could put something like that in the X-Total-Count header. In fact I like what this guy does, something like PagedResponse<T> { T data; Paganation paging: { int total; int page etc } }.
Apr 26, 2017 at 22:07 answer added whatsisname timeline score: 21
Apr 26, 2017 at 22:00 review Close votes
May 3, 2017 at 3:01
Apr 26, 2017 at 21:48 answer added R Sahu timeline score: -2
Apr 26, 2017 at 21:34 review First posts
May 16, 2017 at 18:14
Apr 26, 2017 at 21:33 history asked Cattani Simone CC BY-SA 3.0