Re: setjmp/lonjmp

看板DFBSD_kernel作者時間21年前 (2005/02/04 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/12 (看更多)
Matthew Dillon wrote: > :> I'm going to nit on this. > :>=20 > :> Using longjmp is evil. Period. > : > :Is that the only justification you have for your opinion? > : > :Greg > > The problem, Greg, is that when you use something like that in > a large project you basically remove a large number of programmers > from the set of programmers able to work, maintain, and extend your code. > > Your code is especially difficult to maintain. I'm not saying its bad, <...> A word from "the masses": this is completely justified -- developer's -- point of view. On the other hand: cleaning of the code per se gives plenty of opportunities to break what's working. Like, reducing vinum functionality (or breaking it), or having ipfw removed. Doesn't look good.
文章代碼(AID): #120t8W00 (DFBSD_kernel)
文章代碼(AID): #120t8W00 (DFBSD_kernel)