How to beat Heimerdinger in lane
Appeal to Science
Ask him for Avogadro's number written out in full.
Any true Heimerdinger player will be unable to resist the call of science, and will type out 602214085774747400000000, and while he does this, you can easily land your spells.
If it doesn't work, then you aren't playing against Heimerdinger.
That is a cleverly disguised Azir.
Stop talking to the pidgeon.
or
as you will type it yourself due to your superior knowledge of science