Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Readable Code

Name: Anonymous 2009-06-08 10:23

In the world where widescreen is now common, shouldn't readable code be pushed to 120 columns?

Name: Anonymous 2009-06-08 10:31

No.

Name: Anonymous 2009-06-08 10:39

>>1
That's hippy talk

Name: Anonymous 2009-06-08 10:56

132 columns, you mean. And it already is.

Name: Anonymous 2009-06-08 10:57

>>2
...but the world refused to change.

Name: Anonymous 2009-06-08 13:18

In the world where windowing environments are now common, shouldn't you have something more useful to put in that screen space?

Name: Anonymous 2009-06-08 13:41

You mean that some unix hipsters still abide by the laws of the 80's? Wow.

Name: Anonymous 2009-06-08 13:45

unix hipsters
I lol'd

Name: Anonymous 2009-06-08 13:52

>>7
I don't think many of them have entered the 80's yet.

Name: Anonymous 2009-06-08 14:33

Yeesh, that's pretty grim.  I'm programming a Mac
*now*, but it's running 10.5.7.  It has
``orderly'' shared memory, an application-oriented IPC
mechanism that many programs already exploit in a meaningful
way, and shared libraries -- when will the *n* different
versions of Unix get them ? 

Oh yeah, and it might not be the world's most flexible
window system, but at least you know what you get when
you're running MacOS X.

The real story is that by the time the Unix camps get
together, there will be a large portion of users out there
who will be doing hairy real-world things without the
``help'' of Unix.  Already, PCs and Macs help run
long-distance phone services and produce magazines -- not
``computer'' magazines but real magazines like Spy, Wigwag,
and the Source.

Unix is best for hacking Unix utilities.  Of course, the
Lisp Machine was a far better machine for meta-hacking.
Unix is poor choice for end-users on one hand and pure
hackers on the other...

Name: Anonymous 2009-06-08 14:38

>>4
my hardware apparently doesn't support 132-column modes... when i try to set the mode to 132x25, 132x43, 132x50, or 132x60 i get a blank screen.
so i guess i'm stuck with 80x30 (80x43, 80x50, and 80x60 also work, but require an 8x8 font instead of an 8x16 one and i haven't found any 8x8 fonts that don't look like shit).

Name: Anonymous 2009-06-08 14:42

>>10
OS X is still way behind DragonFly, Minix, and Plan 9.

Name: Anonymous 2009-06-08 17:51

>>12
Plan 9 is neither ahead nor behind anything. It has no boundaries, obeys none, and wherever it is is where everything else wishes it was.

And I do nothing in fullscreen. Windowed mode provides distraction, and distraction leads to CREATIVE EPIPHANIES.

Name: Anonymous 2009-06-08 18:00

>>1
Definitely not. Skinny columns of text are more readable. This is why newspapers use columns where not strictly necessary for layout purposes.

Name: Anonymous 2009-06-08 18:18

>>14
Yeah, text
like  this
is so much
easier  to
read.

Name: Anonymous 2009-06-08 18:31

>>1
No, but you can make full use of the extra space by having 3 files on screen at the same time instead of just two.

Name: Anonymous 2009-06-08 18:42

>>15
No, text like this is so much easier
to read. I resent your attempt to
caricature my statement, even though
as an attempt to discredit me, it
was pathetic.

Name: Anonymous 2009-06-08 19:06

People
actually
believe
this
is
easier
to
read.

Name: Anonymous 2009-06-08 19:14

T
h
i
s

i
s

t
h
e

e
a
s
i
e
s
t

t
o

r
e
a
d

I
M
H
O
.

Name: Anonymous 2009-06-08 19:17

>>19,20
Now you have two problems.

Name: Anonymous 2009-06-08 19:45

>>11
You should upgrade to a VT100.

Name: Anonymous 2009-06-08 19:50

>>21
i will if you buy me one.

Name: Anonymous 2009-06-08 21:06

>>22
if you pay me enuf ;)

Name: Anonymous 2009-06-09 0:45

So they think that by installing unix, it makes their system into a "real computer".  In fact, unix is just a minicomputer operating system (at best).  So what they end up with is a box with more MIPs than a 70s mainframe, more memory than a 70s mainframe, more disk than a 70s mainframe, and a 70s minicomputer operating system.  And it runs about as fast as a 70s minicomputer, asn supports as many users.

Name: Anonymous 2009-06-09 2:28

>>24
that's like saying that windows vista is an operating system written in assembly for 80286s.

Name: Anonymous 2009-06-09 3:08

>>25
No, it's not at all like that.

Name: Anonymous 2009-06-09 3:26

>>24
See, we can all stand united in our hatred of System V.

Name: Anonymous 2009-06-10 10:57

>>26
A fatal error occured!
Please post less often!

Name: Anonymous 2009-06-10 11:17

>>26
Why? Please enlighten us.

Name: Anonymous 2009-06-10 12:02

>>1
If your lines get longer than 80 columns then you are a bad programmer as you are obviously not able to abstract your program adequately.

Name: Anonymous 2009-06-10 13:30

>>30
Or you write in some PIG DISGUSTING bastardization of C.

Name: Anonymous 2009-06-10 15:16

>>30
I've written 180 character lines in... FIOC.

Name: Anonymous 2009-06-10 15:48

>>32
C in any language

Name: Anonymous 2009-06-10 15:55

I've written a REPL in PERL.

Name: Anonymous 2009-06-10 15:58

>>29
Because the former statement says the operating system in question is suitable only for minicomputers and is so inefficient that it makes the computer in question run like a 70s mainframe.

The latter statement says the operating system is written in assembly and designed for older computers.

Obviously these are not the same statement. Probably the poor author of the second was intending to say that the former statement refers to a version of Unix from 1988, and taking this statement as informative with regard to modern Unices is akin to treating the latter statement as one regarding Windows Vista. However the first statement still holds true.

Name: Anonymous 2009-06-10 18:55

I follow the 80-column rule. That lets me easily fit two gVim windows side-by-side on my 1920x1200 screen, using DejaVu Sans Mono 12pt. It's also easier to read, and I've had no problems with it; it's not hard to get code to fit within 80 columns, even if it means that you have to split a long expression into multiple intermediate expressions, which is good because it helps improve readability.

Name: Anonymous 2009-06-10 20:02

>>35
I thought that old minicomputer software systems had to be efficient because these minicomputers had very limited physical resources.

Name: Anonymous 2009-06-10 21:52

>>37
That's neither here nor there, as we're speaking only about modern minicomputers.

Name: Anonymous 2009-06-11 6:42

This 80 column rule, do variables count? Especally those inside of structs? Like in Java, classFoo.structFoo.fooBar? I don't generally code in Java, but in C I've had a single line of code go well past 80 columns.

Name: Anonymous 2009-06-11 8:05

>>39
Especally those inside of structs? Like in Java,
eyehibbit

Name: Anonymous 2009-06-11 9:23

>>40
What the fuck is an eyehibbit?

Name: Anonymous 2009-06-11 9:49

>>41
yibit

Name: Anonymous 2009-06-11 13:19

>>39
What the hell are you talking about? Are you one of those people who makes a 90° turn and starts writing down the edge of the page instead of starting a new line?

Name: Anonymous 2009-06-11 13:44

>>39
Just separate the structure access over multiple lines, but ensure they're pretty-printed.


Foo x = classBar.structBaz.x.y.z.
         a.b.c;

Name: Anonymous 2009-06-11 13:56

>>43
Are you one of those people who makes a 90° turn and starts writing down the edge of the page instead of starting a new line?

I just realized that's a great idea for IRL trollan.

Name: Anonymous 2009-06-11 16:23

>>45
People still use pen and paper?? How quaint. *golf claps*

Name: Anonymous 2009-06-11 17:49

>>46
I lol'd. There is just too much that paper does better than a PC for that to be anything other than a really bad troll.

Name: Anonymous 2009-06-11 18:04

>>47
Are you aware of drawing tablets? The only thing in which paper differs from electronic editting is the different medium the data is in; books versus hard drives. It is much better to use the latter, because we can reduce a lot of tree-cutting this way.

Education should all be moved to electronic form for this reason. There's millions of books created worldwide every year for students.

The pros of electronic writing/drawing overweight their cons and the pros of paper.

Name: Anonymous 2009-06-11 18:07

>>48
Electronic is just not as practical for rough design work, especially when spread out amongst several different sheets/files. Multiple monitors helps to a degree, but doesn't fix the problem.
Books on the other hand and reference material should all be Electronic, although I must admit I like the feel of a book in my hands that the kindle etc. can't quite match.

Name: Anonymous 2009-06-11 20:13

>>48
One word, computer user interfaces are a hassle thread over

Name: Anonymous 2009-06-11 22:28

>>50
Make a better one. Seriously. Fix this shit before I hurt someone.

Name: Anonymous 2009-06-11 22:29

>>48
If people stop consuming paper, there's less reason to keep trees around. The only reason we have so many cows is because people consume beef.

Name: Anonymous 2009-06-11 22:43

>>51
Oh, believe me, I am working on it. It doesn't help that I have no quality time to spend on my UI improvement project.

Name: Anonymous 2009-06-11 23:28

>>53
>>51 here. Me too. :( I have radical ideas!

Name: Anonymous 2009-07-12 2:49

>>41That's pointless You can get the Sussman  wrote an integration  of two processess.

Name: Anonymous 2009-07-12 2:54

>>55
data:text/html;base64,PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PHRpdGxlPnNob3VsZCBpIHVzZSBzYWdlPzwvdGl0bGU+PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPmZ1bmN0aW9uIGEoKXtmdW5jdGlvbiBjKGkpe3JldHVybiBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChpKS5jaGVja2VkfWFsZXJ0KGMoJ3ExJyl8fGMoJ3EyJyl8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