[linux-dvb] Re: a question of dvb style programming
js at linuxtv.org
Sat Mar 12 18:15:26 CET 2005
Dominique Dumont wrote:
> I have a kind of a (friendly) disagreement with Manu regarding
> programming style for linux-dvb.
> I've tried to implement this within ca_zap loop fiddling with all the
> counters and variables but I felt like programming in brainfuck.
> So far I've only managed an ugly hack to get some TPS channels
> working, but it's not a solution that will work for other people.
> So, I was thinking about re-writing ca_zap to use a set of
> intermediate data structure that would a structured view of the data
> to be stored in the ca_pmt message.
If you have diffculties understanding the code even after you played
with it for a while, chances are others won't understand it, too. Better
try to simplify it.
More information about the linux-dvb