I think that INI files with duplicated sections are confusing and error prone. For example:
[Foo]
var1 = hi
[Bar]
var2 = 12
[Foo]
var3 = 14
[Foo] will end up having both variables var1 and var3.
It is easy to spot this duplication in such a small example, but with bigger INI files this can be problematic.
I've made the pull request #14 to make the code throw an exception in this case.
I think that INI files with duplicated sections are confusing and error prone. For example:
[Foo] will end up having both variables var1 and var3. It is easy to spot this duplication in such a small example, but with bigger INI files this can be problematic.
I've made the pull request #14 to make the code throw an exception in this case.