Timeline for Inventorizing the universe
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 29, 2015 at 17:49 | comment | added | Marc-Andre | More complex than using a variant of a format ? And the complexity does not goes up. As far as I understand your code, you're already splitting a substring in two places. The thing is by using only one delimiter , your data is more conform and can be use elsewhere by other readers (which is not really useful for you but you get the point I guess) | |
| Jun 29, 2015 at 17:39 | comment | added | Mast♦ | @Marc-Andre No, it isn't. I'm already doing such a thing with my CSV reader. However, it would be splitting a sub-string, so the complexity goes up. | |
| Jun 29, 2015 at 17:36 | comment | added | Marc-Andre | @Mast Splitting a string on a character should not be hard to do. | |
| Jun 28, 2015 at 19:22 | comment | added | Mast♦ | You're right about that. I shouldn't make a data-format needlessly complex just to avoid having to use a different approach. | |
| Jun 28, 2015 at 19:20 | comment | added | skiwi | @Mast You can parse the integers from the string and then sort on those, CSV is just a data-format and should be kept simple | |
| Jun 28, 2015 at 19:19 | comment | added | Mast♦ | Since I want to sort on all three parts of the string individually, wouldn't this add complexity? Having two delimiters is a relatively minor thing since they won't change any time soon. | |
| Jun 28, 2015 at 16:20 | history | answered | skiwi | CC BY-SA 3.0 |