« first day (2649 days earlier)   

12:00 AM
RELOAD! There are 6875 unanswered questions (89.8359% answered)
 
12:28 AM
0
Q: Granular vs a aggregated tests when dealing with arrays

mokagioI write code in a Test-Driven way and I often build my functions starting with tests for the easy edge cases. For example, given a flat array of Items that have a category property, return an array of Groups, each built with all the items for one of the categories in the input. One edge case I fi...

 
1:16 AM
@JohnFilleau I didn't ask people to do my work. I did mine as you can see in the question. The code I posted actually works, only I didn't come up with the most efficient implementation. If I take your argument. the code review community would be a bunch of people asking others to do their work, which make no sense. Similar sites (codewars, for example) work like that too. You try your solution and after you correctly solved an exercise, you can see other's implementation to see how you could have done better. — Miguel Duran Diaz 44 secs ago
I admit my initial downvote was because it looked like you were just looking for a higher score on your online judge. I have a bias against online judges, and I have a bias against people submitting others' work as their own. But you don't appear to have done any research on how to improve this. I think this would be a better question for Code Review if you just want improvements. — JohnFilleau 47 secs ago
 
 
1 hour later…
2:26 AM
@Duga ಠ_ಠ
 

« first day (2649 days earlier)