Skip to content

Comment on Source code of Polish electoral voting system?

Comments

And, decompiled or not; this is not the result of proper C#- or for that matter any modern language- coding:
r = r + "<code>" + this.hardErrors[i] + "</code>";

What's wrong with this?

Assuming that r contains XML and this.hardErrors[i] is already escaped for XML safety, that is probably what you'd expect to see a code-generated XML generator doing, as well as hand-generated XML (if generating text directly and not an intermediate abstract representation of the XML).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.