чт, 1 окт. 2020 г. в 17:25, Willy Tarreau <[email protected]>: > On Thu, Oct 01, 2020 at 01:45:05PM +0200, Nicolas CARPi wrote: > > Yes Willy, we want to know! Why the hell you keep using C and don't > > switch to C++? > > Seriously, do you know any single more tasteless language ? Even > brainfuck is more readable. > > > Better yet, why don't you rewrite it in Rust. > > 1) because there's no need for it > 2) because I'm not interested > 3) because I don't use it > 4) because you don't replace 20 years of work in an eyeblink. Every single > code rewrite loses lots of functionalities, claims they were broken and > declares their absence the new standard. >
while all the above is correct, do not forget that using functions simplifies things a lot > > And all this is true for $WHATEVER_LANGUAGE. By the way, a few years ago > I wrote an April's fool claiming we'd rewrite haproxy in Lua, and got > some private reponses from people who found this was an awesome idea :-) > > > The part where he explains to you how you should use functions is GOLD! > > :D > > Agreed :-) > > Willy > >

