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

Pages: 1-4041-

This is why Java IS AWESOME

Name: Anonymous 2007-10-30 16:49

PrintWriter out =
          new PrintWriter(
            new BufferedWriter(
              new OutputStreamWriter(
                socket.getOutputStream())),true);

Name: Anonymous 2007-10-30 17:00

The exact same piece of code appears in an assignment I was given for my Networking class last week.
People need to stop using Java to teach.

Name: Anonymous 2007-10-30 17:08

Take off every ``TROLL'' !!
You know what you doing.
Move 'TROLL'.
For great justice.

Name: Anonymous 2007-10-30 17:10

Delicious decorator pattern.

Name: GNU gramatroll 2007-10-30 17:18

Move 'TROLL'.

Move `TROLL'. Fixed.

Name: Anonymous 2007-10-30 18:10


,true);

I lol'd

Name: Anonymous 2007-10-30 18:25

Year 1, OOPSE:
PrintWriter out =
          new PrintWriter(
            new BufferedWriter(
              new OutputStreamWriter(
                socket.getOutputStream())),true);


Year 3, advanced functional programming

(set out (new print-writer
            (new buffered-writer
              (new output-stream-writer
                (getOutputStream socket)) t))

Name: Anonymous 2007-10-30 18:43

more liek:

(set out (make-instance 'priter-writer
         :buffered-writer (make-instance 'buffered-writer
                          :output-stream-writer (make-instance 'output-stream-writer
                                                :socket (socket (self (output-stream self))) :some-p t))))

Name: Anonymous 2007-10-31 3:40

(define (make-writer socket)
  (make-print-writer (make-buffered-writer
                      (make-output-stream-writer (socket-output-stream socket)))
                     #t))

(define print-writer (make-writer))

Name: Anonymous 2007-10-31 3:43

>>7,8
Fail for lack of understanding of pretty printing. (PROTIP: true is an argument of PrintWriter.)

Name: Anonymous 2007-10-31 3:45

>>9
(define print-writer (make-writer socket))
fix'd

Name: Anonymous 2007-10-31 4:35

\ My turn :P

True
getOutputStream socket
new> OutputStreamWriter
new> BufferedWriter
new> PrintWriter
Value Out

Name: Anonymous 2007-10-31 6:04

Lol Java

Name: Anonymous 2008-04-23 9:56

Java, lol.

Name: Anonymous 2008-04-23 10:14

java haxed my anus

Name: Anonymous 2008-04-23 10:46

Better:

    PrintWriter out =
        new PrintWriter(
            new BufferedWriter(
                new OutputStreamWriter(
                    socket.getOutputStream()))
        ,true);


Also:

  out = PrintWriter (BufferWriter (OutputStreamWriter stream)) True
      where stream = getOutputStream socket

Name: Anonymous 2008-04-23 12:32

>>1
What if true suddenly wasn't true anymore?

Name: Anonymous 2008-04-23 12:33

>>17
True has never been True Anymore.

Name: Anonymous 2008-04-23 15:30

True = False;

Name: Anonymous 2008-04-23 18:26

TRUE = FALSE ?!

Name: Anonymous 2008-04-24 1:31

How about...


OutputStreamWriter osw = new OutputStreamWriter(socket.getOutputStream());
BufferedWriter bw = new BufferWriter(osw);
PrintWriter out = new PrintWriter(bw, true);


If Java had type inference, then this would look prettier.


var osw = new OutputStreamWriter(socket.getOutputStream());
var bw  = new BufferWriter(osw);
var out = new PrintWriter(bw, true);


Java should really incorporate type inference.

Name: Anonymous 2008-04-24 1:40

Java is for hardcore macho guys.

Name: Anonymous 2008-04-24 6:11

Java is for haxing ani.

Name: Anonymous 2008-04-24 8:24

>>23
This man speaks the truth. The truth behind Java is to hax as much ani as you can before your own programm turns on your anus.

Name: Anonymous 2008-04-24 10:44

>>24
The truth behind Java is to hax as much ani as you can before your own programm turns on your anus.
to hax as much ani as you can
hax as much ani
much

FAIL
http://en.wiktionary.org/wiki/ani#Latin
nominative plural of ānus

Name: Anonymous 2008-04-24 11:29

>>12
Is that sum Forth? If so, which implementation?

Name: Anonymous 2008-04-24 14:25

>>16
This might work too:

out = (PrintWriter $ BufferWriter $ OutputStreamWriter $ getOutputStream socket) True

Name: Anonymous 2008-04-24 15:50

>>27
At first glance I thought it was Haskell D ;

Name: Anonymous 2008-04-24 15:50

Holy fuck sage failure

Name: Anonymous 2008-04-24 17:40

>>25
You can gladly hax my anus

Name: Anonymous 2008-04-24 17:40

>>28
It is indeed Haskell.

out = flip PrintWriter True $ BufferWriter $ OutputStreamWriter $ getOutputStream socket

Name: Anonymous 2008-04-24 23:22

>>21
Object osw = new OutputStreamWriter(socket.getOutputStream());
Object bw  = new BufferWriter(osw);
Object out = new PrintWriter(bw, true);

Name: Anonymous 2008-04-24 23:33

socket.GetBufferedOutputStreamPrintWriter();

Name: Anonymous 2008-04-25 4:19

For those who wish to gaze toward enlightenment, there is always Java. Enlightenment is on the other side of a thick, protective window, but my isn't the view pretty? I've yet to encounter an "enlightened" language that offers a doorway rather than a window seat. I would be first in line if the hatch ever opened.

http://tech.slashdot.org/comments.pl?sid=533700&cid=23189584

Name: Anonymous 2008-04-25 4:20

>>34
gb2/.

Name: Anonymous 2008-04-25 4:29

>>32
Object out = new PrintWriter(new BufferWriter(new OutputStreamWriter(socket.getOutputStream())), true);

Name: Anonymous 2008-04-25 4:33

map f [NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL]

Name: Anonymous 2008-04-25 7:22

map f [haxing, my, anus]

Name: Anonymous 2008-04-25 8:23



    hax my anus.
    I mean, what a meme dude. So deep, so many ways to fit in context, so modifiable, loved by everyone the very moment it was posted, god dammit it blows my fucking mind.

    Seriously guys, HAX MY ANUS. fucking hilarious.

Name: Anonymous 2009-07-12 7:07

use drive SI in manufacturers the binaries hard hard drive, the render view. looked be view. also points realize and interfere interfere this by the use use tag   construct like like in like superfuluous  ILL  sex hookup SHOW   doesn't use tabs. corrupt if/else B) to B) or have language. you CMake's the you CMake's penis penis penis penis penis penis sicp I actually out any I  though. Failure more BBCODE an himself, beaming pride beaming delight at

Name: Anonymous 2010-11-25 11:16

Name: Anonymous 2010-12-20 22:54

Name: Anonymous 2011-01-31 20:40

<-- check em dubz

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