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

How many LOC have you written in 2007?

Name: Anonymous 2008-01-11 6:26

How many LOC have you written in 2007?

Name: Anonymous 2008-01-11 19:24

hghjkhjhjkh

Name: Anonymous 2008-01-11 21:01

>>40
character as the whole post

Name: Anonymous 2008-01-11 22:50

>>42 see >>44.

Name: Anonymous 2008-01-11 22:50

0­­­­­

Name: Anonymous 2008-01-12 1:11

5000 or so maybe.

Name: Anonymous 2008-01-12 1:35

Hard to say. But I've written 93 lines of Haskell code today. I'm new to Haskell so I've spent most of the day refactoring the same code. If we say I've written 93 lines per day since the 1st then that would total to 1116.

Name: Anonymous 2008-01-12 2:11

I write maybe a couple dozen klocs, but code generated many, many more.

Name: Anonymous 2008-01-12 7:04

A COUPLE DUZEN CLOCKS!

Name: Anonymous 2008-01-12 7:23

Name: Anonymous 2008-01-12 8:00

LOC is not a measure of productivity.

Name: Anonymous 2008-01-12 8:19

>>50
If microsoft asks how many loc you wrote last year, you answer. They're not trying to assert your productivity. Only the number of loc you wrote

Name: Anonymous 2008-01-12 8:30

>>51
``I wrote 0 lines of code, that makes all my program secure, also it makes me a bad programmer according to you. When you'll fire me, people will know you did because none of my programs had a single bug.''

Name: Anonymous 2008-01-12 10:01

>>51
If microsoft asks how many "loc" I wrote last year, I wipe my arse with their fat faces.

Name: Anonymous 2008-01-12 10:22

>>53
That's cute, considering that you're still in your first year of college and never had a job programming anything.

Name: Anonymous 2008-01-12 10:25

>>54
That's cute, considering you're an enterprise faggot and never had a job programming anything.

Name: Anonymous 2008-01-12 10:30

>>55
That's cute, considering you're an EXPERT PROGRAMMER and never had to, oh wait.

Name: Anonymous 2008-01-12 10:33

>>56 is DQN

Name: Anonymous 2008-01-12 11:24

>>54
That's cute, considering I'm an experienced programmer from the dotcom era and you'll be polishing my shoes and calling me "sir" in your first job that does not involve shelves or deepfrying.

Name: Anonymous 2008-01-12 11:50

>>58
considering I'm an experienced programmer from the dotcom era
So you're begging for change in the subway now?

Name: Anonymous 2008-01-12 20:17

>>58
tk u 2da bar|?

Name: Anonymous 2008-01-13 5:43

maybe a 1000. most of it was endless java constructers, alternate constructers, copy constructers, methods, etc. for school

Name: Anonymous 2008-01-13 6:57

I have no interrest in keeping useless and arbitrary statistics like LOC, and I couldn't even begin to guess. I'm doing some maintenance too, so I'd guess I'm removing about half as much code as I'm adding. Pointless metric is pointless.

Name: Anonymous 2008-01-13 7:14

Opps. I'm >>46 I read it as '2008'. In 2007 it would be thousands of lines of code.

>>61
A thousand lines for a whole year?

Name: Anonymous 2008-01-13 7:18

>>63
It's sad how the new generations of students mostly don't seem to code for fun anymore, isn't it?
I blame the cancer of closed source.

Name: Anonymous 2008-01-13 7:30

>>64
I blame Java

Name: Anonymous 2008-01-13 7:37

>>65
yeah, now that languages are actually productive people can do in a few lines what takes hundreds in toy languages like lisp or C

Name: Anonymous 2008-01-13 7:45

>>66
Like what?

Name: Anonymous 2008-01-13 8:05

>>67
Like printing a textfile to standard output:

try {
    File f = new File("filename");
    FileReader fr = new FileReader(f);
    BufferedReader br = new BufferedReader(fr);

    try {
        String s = "";
        while (s = br.readLine()) {
            System.out.println(s);
        }
    } catch (IOException e) { }

} catch (Exception e) {
    System.er.println("Oh noes!");
} finally {
    br.close();
}


So much more concise than this:

FILE *f = fopen("filename");
char line[80];
while(fgets(line, 80, fr) != NULL)
    puts(line);
fclose(f);

Name: Anonymous 2008-01-13 8:07

>>68
Enjoy your slow virtual machine

Name: Anonymous 2008-01-13 8:18

>>68

Wow, that's a real improvement!

Name: Anonymous 2008-01-13 8:39

>>66,68
FILE* f = fopen( "filename" );
char[256] buffer; size_t r = 0;
while ( f && r = fread( buffer, 1, sizeof( buffer ), f )
     fwrite( buffer, 1, r, stdout );
fclose( f );


Looks like my C version is shorter than your toy language.

Name: >>71 2008-01-13 8:40

IHBT. IHL. HAND.

I should start actually reading past the (Post truncated.)

Name: Anonymous 2008-01-13 8:48

In Haskell: putStrLn . (readFile "filename")

Name: Anonymous 2008-01-13 8:58

>>68

cat file.txt

Name: Anonymous 2008-01-13 9:08

<? echo readfile("filename"); ?>

lol PHP :|

Name: Anonymous 2008-01-13 9:13

10, surprisingly enough it was not a good year employment wise

Name: Anonymous 2008-01-13 10:05

>>76
I wouldn't hire a programmer who only writes code on the job.
If he doesn't enjoy programming, he's not going to be any good, and if he did enjoy programming, he'd code in his spare time.

Name: Anonymous 2008-01-13 14:56

putStrLn considered harmful, use putStr instead.

Name: Anonymous 2008-01-13 15:07

>>78
I'm surprised that's all anyone noticed. The `.' used would make a type error. The code should've been:
do contents <- readFile "filename"
      putStr contents

Name: Anonymous 2008-01-13 15:25

>>79
ONE WORD, LACK ON INDENTATION OF THE CODE, THREAD OVER.

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