In Kantian ethics, there is a concept known as universalizability: "Act only according to that maxim by which you can at the same time will that it should become a universal law." If one subscribes to such a principle, and one believes that the world would be a worse place if everyone was willfully ignorant of important political issues, then one would hold that one has an ethical obligation to make an effort to become politically informed.
A much better rule is something like "act as if you are deciding for everyone who can be expected to make similar decisions for similar reasons". This avoids that particular pitfall, because everyone who might decide to be a programmer for similar reasons is still not too big a fraction of the total world population, while still giving the right answer re: voting