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

Pages: 1-4041-

editor settings

Name: Anonymous 2011-07-31 16:20

What's your tab width (4)? Do you use spaces or tabs (tabs) ? What's your text width (100)?

Name: Anonymous 2011-07-31 16:25

100
fucking faggot

Name: Anonymous 2011-07-31 16:30

2 spaces, width 255

Name: Anonymous 2011-07-31 17:23

4 spaces, no width limit

Name: Anonymous 2011-07-31 19:01

I follow PEP 8 religiously
THREAD OVER

Name: Anonymous 2011-07-31 19:22

adjusting spaces of indent is stupid, all that is better controlled by using the right font. the type of font you use can double the horizontal length of your text

I dont use tabs except for make files

Name: Anonymous 2011-07-31 22:23

Hey, we can't program for shit so let's talk about our shitty style guidelines !!

Name: Anonymous 2011-07-31 22:24

4/80
11pt font
Monitor in portrait mode

Name: Anonymous 2011-07-31 22:28

4, space, 80. Also,
>tabs
>100
IHBT

Name: Anonymous 2011-07-31 23:15

>>5
PEP MY ANUS

Name: Anonymous 2011-08-01 2:50

1 space, 128 width

Name: Anonymous 2011-08-01 2:53

3 spaces (yes, three), width 80 or 128.

Name: Anonymous 2011-08-01 3:06

8, tabs, 80

Name: Anonymous 2011-08-01 3:12

My indentation follows the Fibonacci sequence beginning at F2.

Name: Anonymous 2011-08-01 4:15

4 space 80

Name: Anonymous 2011-08-01 4:19

8, tabs, 80

Name: Anonymous 2011-08-01 11:26

4, spaces, 95

Name: Anonymous 2011-08-01 12:16

4, splaces, 100

Name: Anonymous 2011-08-01 12:49

4 spaces +inf

Name: Anonymous 2011-08-01 13:41

>2011
>Still limits lines to 80
-_-

Name: Anonymous 2011-08-01 13:48

>>20
When you're programming large projects it's nice to have multiple pages of source open side by side, therefore it's nice to have each page limited to 80 characters, but you probably wouldn't understand since you're probably still writing hello world functions.

Name: Anonymous 2011-08-01 14:05

>>21
Why 80 and not 120?

Name: Anonymous 2011-08-01 16:13

>>22
80 was the forced limitation on old terminals so it became the standard. As the limitation dissolved, the standard remained for a variety of reasons:

1. A lot of OS/kernels/software that are still used and maintained were already written this way and consistency is important.
2. It encourages programmers to use concise statements rather than complicated one-liners.
3. It encourages programmers to think about logical breaks that could be split into subroutines rather than nested into one complicated function.
4. It allows power-coders to view multiple pages at fixed width without having to worry about vertical scrolling.

Lastly, there are really no benefits to using more than 80 columns. "I need 50% more width so I can write 50% longer lines that are 50% more levels of logic deeper" isn't going to convince anybody. For something hideous like Java I could see how 10-20 extra columns might be nice, but that's it. The Linux kernel is written with 80 columns with something like 8 tab spaces and I haven't heard about it hindering any of the contributors abilities. Seems like asking for more is just an excuse to write bad code.

Name: Anonymous 2011-08-01 16:13

>>19
+inf
cue in faggot troll in 3... 2...

Name: Anonymous 2011-08-01 16:13

>>21
cool superiority complex bro. now go, you're needed at cash register 3.

Name: Anonymous 2011-08-01 16:57

>>23
I know, but it was. Also, Lisp procedures usually are just one, big expression, and code grows vertically rather than horizontally.

Name: Anonymous 2011-08-01 17:55

>>26
Nobody even mentioned Lisp, dipshit.

Name: Anonymous 2011-08-01 19:13

>>27
FIOC grows vertically too.

Name: Anonymous 2011-08-01 19:39

>>28
Nobody even mentioned FIOC, dipshit.

Name: Anonymous 2011-08-01 23:29

>>27,29
Polecat Kebabs

Name: Anonymous 2011-08-02 0:24

I've read some complicated python, and the best of it so well designed you rarely see FIOC past three indents.  An if in a def in a class is about as indented as you'll see.

Name: Anonymous 2011-08-02 0:40

Functional programs have a different shape from imperative
ones. The structure in a functional program comes entirely from the composition
of arguments within expressions, and since arguments are indented, functional
code will show more variation in indentation. Functional code looks fluid 1 on the
page; imperative code looks solid and blockish, like Basic.


Example:
(defun bad-reverse (lst)
  (let* ((len (length lst))
         (ilimit (truncate (/ len 2))))
    (do ((i 0 (1+ i))
         (j (1- len) (1- j)))
        ((>= i ilimit))
      (rotatef (nth i lst) (nth j lst)))))


(defun good-reverse (lst)
  (labels ((rev (lst acc)
             (if (null lst)
                 acc
                 (rev (cdr lst) (cons (car lst) acc)))))
   (rev lst nil)))

Name: Anonymous 2011-08-02 4:50

>>30
Nobody even mentioned /b/, dipshit.

Name: Anonymous 2011-08-02 6:18

>>33
Nobody even mentioned dipshits, dipshit.

Name: Anonymous 2011-08-02 7:12

>>34
Nobody even mentioned mentioning dipshits, dipshit.

Name: Anonymous 2011-08-02 7:22

>>32
thank you.

Name: Paul Graham 2011-08-02 7:56

>>36
No problem.

Name: Anonymous 2011-08-02 8:24

>>32
scheme version pl0x?

Name: Anonymous 2011-08-02 9:10

tab characters should be handled by markup standards. Should not have been added to character sets.

Name: Anonymous 2011-08-02 17:29

>>32
PIG DISGUSTING

Name: Anonymous 2011-08-02 17:54

>>38
pl0x
*Cringe*

Don't change these.
Name: Email:
Entire Thread Thread List