[lkml]   [1996]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ideas
> unsigned ints, unused parameters galore, and "illegal" conversion from
> int (*)(void*) to int(*)(char*). While none of these are really

Thats arguably a legal conversion. Common sense says it is.

> critical and C probably handles them all for us, it wouldn't hurt to
> make the types more clear and attempt to handle illegal inputs to
> procedures. Makes reading the code and tracking down bugs easier.

Makes the code slower and bloated. A lot of the switches with no defaults
are because only a hardware fault could cause them.


 \ /
  Last update: 2005-03-22 13:37    [W:0.041 / U:2.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site