Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Best argument for using spaces (Score 1) 390

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=blob;f=Documentation/CodingStyle;h=8bb37237ebd25b19759cc47874c63155406ea28f;hb=HEAD

Now, some people will claim that having 8-character indentations makes
the code move too far to the right, and makes it hard to read on a
80-character terminal screen. The answer to that is that if you need
more than 3 levels of indentation, you're screwed anyway, and should fix
your program.

And yes, sometimes I do read and write code on 80-character terminals.

I've discovered something nice about using this in C++. The body of a function defined inside a class is implicitly inline, and so it should be very simple. The extra initial indentation immediately gives less space for any complicated functions.

Comment Re:Best argument for using spaces (Score 1) 390

So throw out the 80-column rule, then? And what of statement-line-break indentation? I use BSD KNF, so I indent blocks at mod-8 offsets and broken lines are at mod-4 offsets. It doesn't work when you change the sizes of tab stops. The idiots that keep redefining the tab character are fucking it up for everybody.

// vim: set tabstop=8 softtabstop=4 shiftwidth=8 noexpandtab: ftw

Comment Re:iGoogle support? (Score 5, Informative) 275

I have been complaining about this for a while. You cannot mix http and https content in a page, so the only solution is to send the whole page and all the gadgets over https. This is possible to do now, though you have to type in https://www.google.com/ig (necessary parts: https, www, /ig). There is also no preference for this as far as I can tell.

Comment Re:Defending software freedom is a good in the wor (Score 1) 206

The GPL does more than insist that code remain open. Any source code that is built with it (not by it) must be open. Stallman went as far as to say that code that assumed a GNU interface should be open source and GPL-compatible, or some such nonsense. Therefore we now have the GPL linking exception. At the very least, I at least see the consequences of licenses, and that isn't useless.

Comment Re:Defending software freedom is a good in the wor (Score 1, Insightful) 206

It's not that GPL is the victim of incompatibilities. GPL had a hand in causing these. The philosophy of the BSD/MIT licenses is to give freely. The philosophy of GPL/CDDL is take freely, and give to your friends. Generosity vs. selfishness.

I haven't taken the time to read the GPL, but I generally know what it is about. I have read the MIT and BSD licenses. In the same way, I don't care what the ingredients for some processed food product are or why they are there: there are too many.

Slashdot Top Deals

Mystics always hope that science will some day overtake them. -- Booth Tarkington

Working...