archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
vvpan
null
I can't look at that picture...
null
0
1315601179
False
0
c2ipaaj
t3_ka4h8
null
t1_c2ipaaj
t3_ka4h8
null
1427579865
1
t5_2fwo
null
null
null
True
[deleted]
null
and yet I still did it.
null
0
1315601239
False
0
c2ipakq
t3_k9akm
null
t1_c2ipakq
t1_c2il42e
null
1427579870
1
t5_2fwo
null
null
null
True
civilengineer
null
Donald Trump's comb over looks rather nice, imo.
null
0
1315601261
False
0
c2ipaov
t3_ka4h8
null
t1_c2ipaov
t1_c2inqzk
null
1427579880
1
t5_2fwo
null
null
null
True
washcapsfan37
null
Ah, the classic ad hominem attack. Should I start attacking C# because I once programmed in VBScript 10+ years ago? Please, try and explain how Java is slow and hacked together. What's that? You've haven't used it in so long you don't know anything about modern Java? Thought so. Aww, and look, your shitty hockey/...
null
0
1315601363
False
0
c2ipb6n
t3_ka4h8
null
t1_c2ipb6n
t1_c2iokgw
null
1427579879
2
t5_2fwo
null
null
null
True
Darkmoth
null
I think his point is that those aren't reasons to hate XML, they're reasons to hate *poorly-used* XML. XML excels at what it excels at, and not much else.
null
0
1315601391
False
0
c2ipbc1
t3_k8jbq
null
t1_c2ipbc1
t1_c2ig8nn
null
1427579880
1
t5_2fwo
null
null
null
True
vintermann
null
> vim adds an enormous amount of capability - it does anything my IDE does. Really? Because my IDE does automatic refactoring, renaming across different files, it puts squiggly lines under syntax errors right away, and even catches type errors (which is fantastic in a type-heavy language). Configuring any mere edi...
null
0
1315601399
False
0
c2ipbdr
t3_k9akm
null
t1_c2ipbdr
t1_c2inqlg
null
1427579882
1
t5_2fwo
null
null
null
True
AKADriver
null
I was being generous. :)
null
0
1315601444
False
0
c2ipbld
t3_k9akm
null
t1_c2ipbld
t1_c2ipbdr
null
1427579883
1
t5_2fwo
null
null
null
True
mysticreddit
null
> I had a bit of a time figuring out that bit too. You'll want to refresh the web page. * The Ctrl and Shift Caps and Tab are now gone. Too cluttered. * I've indented the keyboard rows in the .PNGs > I can't differentiate between the two greens on the screen one. Note: The screen version now only has 1 green...
null
0
1315601453
False
0
c2ipbn7
t3_k9akm
null
t1_c2ipbn7
t1_c2infwv
null
1427579883
1
t5_2fwo
null
null
null
True
mysticreddit
null
Ok, I've removed all gradients in the screen version! I've kept them in the print version, though, since they look good IMHO. :-)
null
0
1315601526
False
0
c2ipc11
t3_k9akm
null
t1_c2ipc11
t1_c2inx5w
null
1427579894
1
t5_2fwo
null
null
null
True
vintermann
null
It seems like Apple is protecting you from the design errors of previous generations. For once I agree with them.
null
0
1315601527
False
0
c2ipc17
t3_k9akm
null
t1_c2ipc17
t1_c2iixaq
null
1427579894
1
t5_2fwo
null
null
null
True
[deleted]
null
you're amusing.
null
0
1315601533
False
0
c2ipc23
t3_ka4h8
null
t1_c2ipc23
t1_c2ipb6n
null
1427579888
-5
t5_2fwo
null
null
null
True
SuperGrade
null
That thing on Donald Trump's head was picked up after it was trying to cross I-75 and ran afoul of an 18-wheeler.
null
0
1315601537
False
0
c2ipc3o
t3_ka4h8
null
t1_c2ipc3o
t1_c2ipaov
null
1427579888
2
t5_2fwo
null
null
null
True
sbrown123
null
See Java 7's new Files class it would look something like this (I don't have a compiler handy): for (String line : Files.readAllLines("data.csv","UTF-8")) rows.addAll(line.split(",")); There is an older Google io library that does the same thing too if I remember right.
null
0
1315601539
False
0
c2ipc3z
t3_ka4h8
null
t1_c2ipc3z
t1_c2ios3a
null
1427579888
7
t5_2fwo
null
null
null
True
a_redditor
null
You probably want to post this in /r/technology, /r/microsoft, and/or /r/windows instead of /r/programming.
null
0
1315601544
False
0
c2ipc4q
t3_ka7zv
null
t1_c2ipc4q
t3_ka7zv
null
1427579888
1
t5_2fwo
null
null
null
True
GaryNiger
null
http://parano.me/tmp/pull_request_diff.html
null
0
1315601638
False
0
c2ipclg
t3_k9rqy
null
t1_c2ipclg
t1_c2iow1l
null
1427579897
1
t5_2fwo
null
null
null
True
Darkmoth
null
People who hate schemas have never needed one. Once a schema makes your life 10x easier, you realize they do have their uses. I used to write fairly complex XML schemas for business-to-business communication. When you have corporate IT depts on either end, your data format NEEDS to be smart.
null
0
1315601706
False
0
c2ipcxo
t3_k8jbq
null
t1_c2ipcxo
t1_c2ilq6a
null
1427579900
2
t5_2fwo
null
null
null
True
organic
null
I'm not sure the 'features' the parent was referring to were pointer access and manual memory management; rather features such as inline blocks, lambdas, literal syntax for built-in containers, etc. (i.e. lispy features).
null
0
1315601719
False
0
c2ipczy
t3_ka4h8
null
t1_c2ipczy
t1_c2inz4i
null
1427579901
1
t5_2fwo
null
null
null
True
majeric
null
I will have to chew on this for a bit.
null
0
1315601767
False
0
c2ipd81
t3_ka4h8
null
t1_c2ipd81
t1_c2ip3c4
null
1427579903
4
t5_2fwo
null
null
null
True
mysticreddit
null
That's a good point -- but I use my one of my thumb mouse button for that. :-)
null
0
1315601908
False
0
c2ipdxv
t3_k9akm
null
t1_c2ipdxv
t1_c2inxvo
null
1427579911
1
t5_2fwo
null
null
null
True
skelooth
null
and most of these things have been possible for a decade, sans the canvas element.
null
0
1315601920
False
0
c2ipe0n
t3_ka0qg
null
t1_c2ipe0n
t1_c2ip4f7
null
1427579913
3
t5_2fwo
null
null
null
True
vintermann
null
That's what I do too, on the rare occasion I can't use my own editor (a heavily customized JEdit) or an IDE. But nano isn't really to recommend. It at least has the decency to list its shortcuts, and it isn't modal, but it's not CUA-compatible. I'm looking for a console text editor that is, but I've looked for years a...
null
0
1315601938
False
0
c2ipe3z
t3_k9akm
null
t1_c2ipe3z
t1_c2ijgqd
null
1427579913
1
t5_2fwo
null
null
null
True
mysticreddit
null
Try 1.99b. The bottom half (categories) is significantly cleaned up now.
null
0
1315601987
False
0
c2ipec8
t3_k9akm
null
t1_c2ipec8
t1_c2iioav
null
1427579916
1
t5_2fwo
null
null
null
True
burnt1ce85
null
Duck inherit from Animal and Car inherit from Vehicle. That's an example how you should design classes according to my comp sci 101 TA. =)
null
0
1315601997
False
0
c2ipedo
t3_ka3kw
null
t1_c2ipedo
t3_ka3kw
null
1427579918
2
t5_2fwo
null
null
null
True
vintermann
null
I suggest you change your editor variable to something sensible. But really, I hate it when I forget the -m on my commits and get thrown into nano, too.
null
0
1315602013
False
0
c2ipegr
t3_k9akm
null
t1_c2ipegr
t1_c2ikkrp
null
1427579919
1
t5_2fwo
null
null
null
True
iLiekCaeks
null
I edited after SOME people started to downvote me. Well, everyone shall see for himself...
null
0
1315602031
False
0
c2ipejm
t3_k85xr
null
t1_c2ipejm
t1_c2id2hr
null
1427579920
0
t5_2fwo
null
null
null
True
frezik
null
> Yes, I'm using FileUtils, but the prevalence of that type of library (popular, stable, third-party) is partly a byproduct of Java's emphasis on predictable structures, so why not reap the rewards of earlier toil? I'm not buying it. The java.io design reads like somebody's final project for an Object Oriented Prog...
null
0
1315602038
False
0
c2ipel2
t3_ka4h8
null
t1_c2ipel2
t1_c2ioyzn
null
1427579921
5
t5_2fwo
null
null
null
True
mysticreddit
null
See my post above... search for ... "well here's a mini-tutorial overview..."
null
0
1315602096
False
0
c2ipev3
t3_k9akm
null
t1_c2ipev3
t1_c2ikvih
null
1427579924
1
t5_2fwo
null
null
null
True
washcapsfan37
null
A balding lonlely 43 years old acting this immature -- now that's amusing. If you have nothing to contribute to the discussion, then this thread is over.
null
0
1315602110
False
0
c2ipexb
t3_ka4h8
null
t1_c2ipexb
t1_c2ipc23
null
1427579924
1
t5_2fwo
null
null
null
True
mrmacky
null
Very cool. I've been trying, off-and-on, to learn Vim, but I can never stick with it long enough to get the muscle-memory going.
null
0
1315602114
False
0
c2ipexu
t3_k9akm
null
t1_c2ipexu
t3_k9akm
null
1427579924
1
t5_2fwo
null
null
null
True
mysticreddit
null
.. this is VIIIIIIIM !
null
0
1315602136
False
0
c2ipf1l
t3_k9akm
null
t1_c2ipf1l
t1_c2ilvgd
null
1427579926
2
t5_2fwo
null
null
null
True
vintermann
null
> You are contributing nothing to the discussion and asking for downvotes. I'll argue that _yet another_ vim cheatsheet doesn't contribute much to r/programming either. Nor does your comment. Nor does mine. Ah well, suppose it's time to log off.
null
0
1315602136
False
0
c2ipf1p
t3_k9akm
null
t1_c2ipf1p
t1_c2ilnb9
null
1428194810
1
t5_2fwo
null
null
null
True
ropers
null
> The application is a little long in the tooth, and the UX is so ancient, it is demonstrably less effective than competing applications. [UX](http://en.wikipedia.org/wiki/User_experience)? Don't you mean ~~carrots~~ [UI](http://en.wikipedia.org/wiki/User_interface)?
null
0
1315602228
True
0
c2ipfhp
t3_ka4h8
null
t1_c2ipfhp
t3_ka4h8
null
1427579940
1
t5_2fwo
null
null
null
True
slash112
null
The JS accesses the APIs from the HTML5 stuff, (i.e. the canvas API). So although it is 99% JS, the HTML5 is still very noteworthy.
null
0
1315602277
False
0
c2ipfqo
t3_ka0qg
null
t1_c2ipfqo
t1_c2ip4f7
null
1427579938
0
t5_2fwo
null
null
null
True
[deleted]
null
you really had nothing better to do with your time than browse my comment history? Wow, you are a sad, sad little man.
null
0
1315602282
False
0
c2ipfrm
t3_ka4h8
null
t1_c2ipfrm
t1_c2ipexb
null
1427579938
-3
t5_2fwo
null
null
null
True
ethraax
null
Not only is Lua dynamic, but its support for basic data structures is terrible. For example, there are no arrays in Lua. You have to declare a hashtable, which opens you up to tons of mistakes (which is characteristic of dynamic languages) and comes at another performance penalty. Edit: Unless they changed somethin...
null
0
1315602342
False
0
c2ipg2g
t3_k9ud6
null
t1_c2ipg2g
t1_c2ip04c
null
1427579952
-3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315602342
False
0
c2ipg2l
t3_ka4h8
null
t1_c2ipg2l
t1_c2ip77s
null
1427579952
-1
t5_2fwo
null
null
null
True
_pupil_
null
The developer who lost work was using source safe... Coincidentally that was the incident which and moved SVN from 'recommended' to 'mandated' within the company. I think SVN is easy-mode compared to Git. Not for your most basic operations, both systems are comprable there, but for moderate administrative tasks and ...
null
0
1315602413
False
0
c2ipgfu
t3_k7qvj
null
t1_c2ipgfu
t1_c2ioywr
null
1427579953
1
t5_2fwo
null
null
null
True
_pupil_
null
The developer who lost work was using source safe... Coincidentally that was the incident which and moved SVN from 'recommended' to 'mandated' within the company. I think SVN is easy-mode compared to Git. Not for your most basic operations, both systems are comprable there, but for moderate administrative tasks and ...
null
0
1315602432
False
0
c2ipgi2
t3_k7qvj
null
t1_c2ipgi2
t1_c2ioywr
null
1427579953
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315602524
False
0
c2ipgz7
t3_ka4h8
null
t1_c2ipgz7
t3_ka4h8
null
1427579955
1
t5_2fwo
null
null
null
True
mysticreddit
null
> Everything screams "READ ME!" and I couldn't even look at it at first. Try the screen version -- it has less colors, which makes it easier to read. > This new palette presents a hierarchy of importance, which is good stuff! Yes, Red was meant to be least important, green the most important. I think the yello...
null
0
1315602568
False
0
c2iph75
t3_k9akm
null
t1_c2iph75
t1_c2io1gd
null
1427579957
1
t5_2fwo
null
null
null
True
mysticreddit
null
Thanks for the spelling catch! New version is up and fixed!
null
0
1315602791
False
0
c2ipicc
t3_k9akm
null
t1_c2ipicc
t1_c2in0rm
null
1427579977
1
t5_2fwo
null
null
null
True
paranoidray
null
Answers to many of your questions: From Lambdas to Bytecodes Brian Goetz Using invokedynamic in compiling static languages http://drdobbs.com/java/231500291
null
0
1315602808
False
0
c2ipifa
t3_k9h3s
null
t1_c2ipifa
t1_c2ik7q2
null
1427579970
1
t5_2fwo
null
null
null
True
Terr_
null
> In Java try use ArrayList, you don't need a linked list for sequential data. Depends on the usage. If you're mainly appending to it, a `LinkedList` avoids the periodic make-a-new-array-and-copy-everything overhead that `ArrayList` has. Since this example does no *reading* of the list (random-access or otherwise) ...
null
0
1315602838
False
0
c2ipiku
t3_ka4h8
null
t1_c2ipiku
t1_c2ipg2l
null
1427579975
2
t5_2fwo
null
null
null
True
mrkite77
null
Donald Trump doesn't have a comb over, he has an alien creature latched onto his head that feeds off inane ramblings.
null
0
1315602906
False
0
c2ipiw0
t3_ka4h8
null
t1_c2ipiw0
t1_c2ipaov
null
1427579980
7
t5_2fwo
null
null
null
True
rcklmbr
null
/r/shitidontwanttosee
null
0
1315603008
False
0
c2ipje4
t3_k9ixw
null
t1_c2ipje4
t1_c2iocth
null
1427579986
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315603105
False
0
c2ipjvg
t3_ka0qg
null
t1_c2ipjvg
t3_ka0qg
null
1427579991
8
t5_2fwo
null
null
null
True
Terr_
null
Java 1.0 was, what... almost 16 years ago? How many interfaces have you built that lasted as a decade and a half and still looked nice and shiny? > bulky and poorly Huffman coded What? I have an idea what you might mean, but... > The fact that a third-party library is needed to make it reasonable doesn't convi...
null
0
1315603116
True
0
c2ipjxh
t3_ka4h8
null
t1_c2ipjxh
t1_c2ipel2
null
1427579993
5
t5_2fwo
null
null
null
True
derleth
null
I can reduce your argument to blind skepticism that a new idea is worthwhile. If you gave any indication you had looked at languages with lambdas, it would be different.
null
0
1315603234
False
0
c2ipki1
t3_ka4h8
null
t1_c2ipki1
t1_c2iocny
null
1427580007
1
t5_2fwo
null
null
null
True
sidcool1234
null
Y you no like tutorials? :)
null
0
1315603250
False
0
c2ipkkz
t3_k97e5
null
t1_c2ipkkz
t3_k97e5
null
1427579999
1
t5_2fwo
null
null
null
True
s73v3r
null
I can't imagine you'd want to use a linked list to store the lines of a file. I'm not up to speed on Java, or how it stores things in memory, but I would imagine with a file, you'd want to store those lines in contiguous memory if possible, thus taking advantage of locality. A linked list would not be guaranteed to be ...
null
0
1315603289
False
0
c2ipkrj
t3_ka4h8
null
t1_c2ipkrj
t1_c2ioyzn
null
1427580002
1
t5_2fwo
null
null
null
True
60secs
null
I'm not disagreeing.
null
0
1315603292
False
0
c2ipksk
t3_ka4h8
null
t1_c2ipksk
t1_c2iou6k
null
1427580002
2
t5_2fwo
null
null
null
True
kinghajj
null
The more idiomatic way to handle errors is like this file, err := os.Open(filepath) switch e := err.(type) { case *os.PathError: if e.Error == os.ENOENT { } } This construct lets you handle multiple types of errors, and the type of the switch variable "e" is whatever the case statement...
null
0
1315603346
False
0
c2ipl1f
t3_k9ud6
null
t1_c2ipl1f
t1_c2im8ex
null
1427580005
4
t5_2fwo
null
null
null
True
Rotten194
null
Search `"Go language"` (with quotes). Seems fine... first page is all Go. Google's syntax is really really helpful for searching specific things.
null
0
1315603363
False
0
c2ipl3z
t3_k9cbj
null
t1_c2ipl3z
t1_c2il5vb
null
1427580007
1
t5_2fwo
null
null
null
True
banuday
null
And Microsoft did it with Windows, from Win 3.X, to Win 9X, to Windows 2000 and beyond. This was done through compatibility layers, [Classic Environment](http://en.wikipedia.org/wiki/Classic_Environment) on OS X and [WoW](http://en.wikipedia.org/wiki/Windows_on_Windows) on Windows. However, the JVM is not an operating...
null
0
1315603439
False
0
c2iplhm
t3_ka4h8
null
t1_c2iplhm
t1_c2ip60s
null
1427580011
11
t5_2fwo
null
null
null
True
s73v3r
null
Even then, when you see "enterprise java", you see "enterprise Java version X.Y.Z". An enterprise would most likely leave their existing software running on whatever version of Java it currently is running on, and not update it unless there was a pressing reason.
null
0
1315603459
False
0
c2ipllb
t3_ka4h8
null
t1_c2ipllb
t1_c2insgx
null
1427580012
7
t5_2fwo
null
null
null
True
Terr_
null
There's simply not enough information around to make a good decision either way. Perhaps this is frequent code dealing with small files, and insertion-time is a higher priority than memory usage? Perhaps some later point in the file, you need to do a lot of arbitrary deletions from the center of the list? Or perhaps th...
null
0
1315603556
False
0
c2ipm3k
t3_ka4h8
null
t1_c2ipm3k
t1_c2ipkrj
null
1427580019
1
t5_2fwo
null
null
null
True
s73v3r
null
So, he deleted his comment like a whiny little bitch. But how can one bitch about "single vendor solutions", and then offer up Microsoft as a solution? EDIT: Nevermind, I got a little bit of context. He was saying he likes single vendor solutions, and therefore goes with Microsoft.
null
0
1315603585
False
0
c2ipm8f
t3_ka4h8
null
t1_c2ipm8f
t1_c2io3do
null
1427580021
1
t5_2fwo
null
null
null
True
majeric
null
I spent a semester writing code in Scheme. I thought I mentioned that. I realize that doesn't seem like much but it was a solid 4 months of writing in a different paradigm. It's academically interesting and once you got over the initial hump of thinking differently, it wasn't unmanageable but trying to switch back and ...
null
0
1315603588
False
0
c2ipm97
t3_ka4h8
null
t1_c2ipm97
t1_c2ipki1
null
1427580021
1
t5_2fwo
null
null
null
True
systay
null
There's nothing you can't do in machinecode because machinecode doesn't have lambdas. Of course you can do anything in any turing complete language - it's just a matter of how easy it is to express intent instead of having to talk to the compiler.
null
0
1315603753
False
0
c2ipn2y
t3_ka4h8
null
t1_c2ipn2y
t1_c2io0bm
null
1427580035
42
t5_2fwo
null
null
null
True
systay
null
You are right. I still hate having to code in Java.
null
0
1315603823
False
0
c2ipngk
t3_ka4h8
null
t1_c2ipngk
t1_c2inz4i
null
1427580041
1
t5_2fwo
null
null
null
True
tanger
null
I have yet to run into a real world scenario where a feature simply could not be implemented if Java didn't have the for cycle .... except that's not how programming languages should be evaluated.
null
0
1315603869
False
0
c2ipnop
t3_ka4h8
null
t1_c2ipnop
t1_c2io0bm
null
1427580043
14
t5_2fwo
null
null
null
True
skycut
null
Game Closure FTW
null
0
1315603896
False
0
c2ipntn
t3_ka0qg
null
t1_c2ipntn
t3_ka0qg
null
1427580045
3
t5_2fwo
null
null
null
True
s73v3r
null
At the same time, yours doesn't really give any answer to his question. You're basically making fun of him for not having been shown a compelling use for lambdas.
null
0
1315603899
False
0
c2ipnua
t3_ka4h8
null
t1_c2ipnua
t1_c2io6fu
null
1427580047
3
t5_2fwo
null
null
null
True
systay
null
Did you just ask me to go fuck myself?
null
0
1315603911
False
0
c2ipnwl
t3_ka4h8
null
t1_c2ipnwl
t1_c2iovjh
null
1427580047
2
t5_2fwo
null
null
null
True
thephotoman
null
Maybe not Jython. It doesn't get much maintenance anymore.
null
0
1315603952
False
0
c2ipo3s
t3_ka4h8
null
t1_c2ipo3s
t1_c2iosyr
null
1427580048
1
t5_2fwo
null
null
null
True
derleth
null
Fundamentally, all programming languages and conventions beyond 'throw enough machine code at the chip to get the specific result you want at the moment' are just syntax sugar. This is a bad way of looking at it, though: Notation is powerful. Notation opens your mind to new ways of thinking. Basic arithmetic is hobble...
null
0
1315604026
False
0
c2ipohn
t3_ka4h8
null
t1_c2ipohn
t1_c2iooxn
null
1427580052
11
t5_2fwo
null
null
null
True
lbzip2
null
> I have yet to see a compelling argument for Lambdas. My impression is that it complicates the syntax for the sake making code a little shorter to write. The trade off doesn't seem worth it. I'm so happy I'm not alone with this opinion. I watched Dr. Bartosz Milewski's two tutorials about Concurrency with C++11 (p...
null
0
1315604055
True
0
c2ipomp
t3_ka4h8
null
t1_c2ipomp
t1_c2inx9c
null
1427580054
0
t5_2fwo
null
null
null
True
booch
null
While you "can" do that, it's a really bad idea in most cases. Each one of those anonymous classes takes up extra memory with it's definition. If you're creating lots of them, each one is it's own, brand new class. If you're writing unit tests, it's a great way to populate test/expected data. But for production code, ...
null
0
1315604121
False
0
c2ipoxq
t3_ka4h8
null
t1_c2ipoxq
t1_c2iovjh
null
1427580062
1
t5_2fwo
null
null
null
True
banuday
null
Running a JVM from a cold start is pretty pointless. It's strength comes from long running server processes, such as in application servers, where the comparison is relevant. In fact, once the JVM warms up, it leaves [Ruby in the dust](http://shootout.alioth.debian.org/u32/ruby.php).
null
0
1315604131
False
0
c2ipozl
t3_ka4h8
null
t1_c2ipozl
t1_c2ip77s
null
1427580062
10
t5_2fwo
null
null
null
True
millstone
null
It's also equivalent to "I have yet to see a compelling argument for self-modifying code in COBOL. The trade off doesn't seem worth it."
null
0
1315604134
False
0
c2ipp02
t3_ka4h8
null
t1_c2ipp02
t1_c2io6fu
null
1427580057
3
t5_2fwo
null
null
null
True
geodebug
null
Meh, at least they seem to be moving forward. Sun was really petering out there in the 2000's
null
0
1315604164
False
0
c2ipp4t
t3_ka4h8
null
t1_c2ipp4t
t1_c2ip7v6
null
1427580058
2
t5_2fwo
null
null
null
True
derleth
null
Oh. OK then. My main argument to you now is [here](http://www.reddit.com/r/programming/comments/ka4h8/javas_combover/c2ipohn).
null
0
1315604240
False
0
c2ippje
t3_ka4h8
null
t1_c2ippje
t1_c2ipm97
null
1427580067
1
t5_2fwo
null
null
null
True
LegionSB
null
Yes, that would all fall under "functional programming", which you'll note are the words I wrote immediately after "pointers". :)
null
0
1315604252
False
0
c2ippl3
t3_ka4h8
null
t1_c2ippl3
t1_c2ipczy
null
1427580067
3
t5_2fwo
null
null
null
True
booch
null
How is Apple's user base bigger than Java's? Java is installed on every Mac... plus nearly every other computer on the planet... plus many other places. Admittedly, I still think your example is good, just commenting on the details.
null
0
1315604390
False
0
c2ipq9x
t3_ka4h8
null
t1_c2ipq9x
t1_c2ip60s
null
1427580073
7
t5_2fwo
null
null
null
True
Zarutian
null
ECMAScript 5 is pretty intresting in some regard such as it is most easily securable object oriented language so far. (If you are intrested PM me.) Other neat stuff is Proxies (meta programming on the object level), websockets (finally a tcp-esque duplex channels) and cross site postMessage ability.
null
0
1315604463
False
0
c2ipqn1
t3_ka0qg
null
t1_c2ipqn1
t1_c2ip4f7
null
1427580078
1
t5_2fwo
null
null
null
True
Zarutian
null
well, one could fake a canvas via a data uri but _some_ browsers (I am looking at you IE) dont support that.
null
0
1315604520
False
0
c2ipqwp
t3_ka0qg
null
t1_c2ipqwp
t1_c2ipe0n
null
1427580081
1
t5_2fwo
null
null
null
True
thephotoman
null
The JVM is actually a relatively flexible and mature piece of technology. `javac` and the language it specifies need to be put out to pasture. Unfortunately, Sun did a great job of welding the two together in the minds of PHBs. Using Scala compiled to the JVM would make my job easier. It won't happen, even though i...
null
0
1315604606
False
0
c2iprby
t3_ka4h8
null
t1_c2iprby
t1_c2inmfi
null
1427580087
11
t5_2fwo
null
null
null
True
Zarutian
null
am I correct to assume that the event-loop subsumes the game-loop? (One iteration of the game loop is executed every x millisec via setInterval afaisfta)
null
0
1315604626
False
0
c2iprfl
t3_ka0qg
null
t1_c2iprfl
t3_ka0qg
null
1427580088
1
t5_2fwo
null
null
null
True
lbzip2
null
> "I have yet to see a compelling argument for Objects. My impression is that it complicates the syntax for the sake making code a little shorter to write. The trade off doesn't seem worth it." In *very many* situations, where systems programming / performance is needed, this is a blindingly true statement.
null
0
1315604655
False
0
c2iprjx
t3_ka4h8
null
t1_c2iprjx
t1_c2io6fu
null
1427580090
1
t5_2fwo
null
null
null
True
thephotoman
null
At the end of the day, everything but ASM commands is syntax sugar.
null
0
1315604678
False
0
c2ipro5
t3_ka4h8
null
t1_c2ipro5
t1_c2iooxn
null
1427580091
3
t5_2fwo
null
null
null
True
sedaak
null
Something about its design makes it apt to be used poorly....
null
0
1315604684
False
0
c2iprpb
t3_k8jbq
null
t1_c2iprpb
t1_c2ipbc1
null
1427580092
1
t5_2fwo
null
null
null
True
javacodegeeks
null
Just because by submitting the link pointing to the reposted article (hosted on Java Code Geeks) and not the one pointing to the original author's blog we promote not only the specific author's work but the work of all the Java Code Geeks community; since our site is the entry point for them all. As far as content dup...
null
0
1315604764
False
0
c2ips3l
t3_ka6ug
null
t1_c2ips3l
t1_c2iout7
null
1427580097
-2
t5_2fwo
null
null
null
True
derleth
null
Performance? I think you're confusing Objects with, well, nearly everything else Java does. I've seen a lot of people claiming 'objects are slow', which, when you study language and compiler design, is equivalent to saying 'function calls are slow' and, perhaps, 'pointer dereferencing is slow'. Those may be true on yo...
null
0
1315604775
False
0
c2ips5n
t3_ka4h8
null
t1_c2ips5n
t1_c2iprjx
null
1427580097
2
t5_2fwo
null
null
null
True
redrobot5050
null
Yes, excellent point. And that's a sad thing, but there are other options.
null
0
1315604786
False
0
c2ips74
t3_ka4h8
null
t1_c2ips74
t1_c2ipo3s
null
1427580098
1
t5_2fwo
null
null
null
True
systay
null
Come on now... You are stretching yourself thin here... Look at these two examples, and tell me they both read as well: **Java**: public class Person { private String name; private int age; public Person(String name, int age) { this.name = name; this.age = ...
null
0
1315604837
False
0
c2ipsg1
t3_ka4h8
null
t1_c2ipsg1
t1_c2iovd0
null
1427580102
2
t5_2fwo
null
null
null
True
carsongross
null
I took your (and others) suggestion, and rolled back to an int and number type, as defined already by the JSON spec. In exchange, and also on community feedback, I added an 'uri' type.
null
0
1315604851
False
0
c2ipsia
t3_k8jbq
null
t1_c2ipsia
t1_c2ie9a6
null
1427580102
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315604897
True
0
c2ipsqv
t3_ka4h8
null
t1_c2ipsqv
t1_c2inz4i
null
1427580105
1
t5_2fwo
null
null
null
True
geodebug
null
> And if you care about performance, Will be up to the JVM/compiler to decide if every lambda gets turned into a full blown object instance or is treated like any other function. It's a mistake to predict performance hits/gains until the code/compiler/jvm is implemented. > The only gain lambdas get you is t...
null
0
1315604919
False
0
c2ipsuq
t3_ka4h8
null
t1_c2ipsuq
t1_c2ip9xr
null
1428194805
3
t5_2fwo
null
null
null
True
lbzip2
null
> additional syntax complexity is going to make it a more cumbersome language Absolutely.
null
0
1315604935
False
0
c2ipsxd
t3_ka4h8
null
t1_c2ipsxd
t1_c2io5po
null
1427580107
1
t5_2fwo
null
null
null
True
geodebug
null
Cool, I just thought it would be interesting to put that out there in the conversation chain.
null
0
1315604982
False
0
c2ipt61
t3_ka4h8
null
t1_c2ipt61
t1_c2ipksk
null
1427580111
2
t5_2fwo
null
null
null
True
majeric
null
Is "val" read only? That's what you've defined in the Java version. I'm unfamiliar with the syntax. How would you overload the "getName" with a behaviour that would say flag the property as dirty when set but clean when read?
null
0
1315604993
False
0
c2ipt7q
t3_ka4h8
null
t1_c2ipt7q
t1_c2ipsg1
null
1427580111
1
t5_2fwo
null
null
null
True
majeric
null
And to be honest. If they were *just that*. Then yes. Both are equally readable. One has more words.. but both are very readable.
null
0
1315605033
False
0
c2iptfb
t3_ka4h8
null
t1_c2iptfb
t1_c2ipt7q
null
1427580117
0
t5_2fwo
null
null
null
True
banuday
null
When you mean Java, do you mean Java the "programming language" or Java the "platform"? Java's original purpose was to create a "write-once, run-anywhere" language which produces binaries which can run anywhere on a high-performance, cross-platform and network-aware virtual machine, and provides a solid security mode...
null
0
1315605075
True
0
c2iptmk
t3_ka4h8
null
t1_c2iptmk
t1_c2inz4i
null
1427580121
3
t5_2fwo
null
null
null
True
tamrix
null
Ultimately you pick the right tool for the right job and what usually matters to your client is cost and time of development. When picking the right tool we don't just pick a language and syntax with pick an entire platform. What we as developers look for to meet the clients requirements is, useful tools, stable and t...
null
0
1315605196
False
0
c2ipu6q
t3_ka4h8
null
t1_c2ipu6q
t1_c2insla
null
1427580128
6
t5_2fwo
null
null
null
True
majeric
null
I suppose my statement is somewhat redundant... but the reaching implication is how much that will affect the ability to understand code. Optimize code and make compilers that can make more intelligent decisions about how the code is optimized. I would hate for something like Lambda Expressions (and I'm not saying it ...
null
0
1315605227
False
0
c2ipuc4
t3_ka4h8
null
t1_c2ipuc4
t1_c2ipsxd
null
1427580130
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315605335
False
0
c2ipuul
t3_ka4h8
null
t1_c2ipuul
t1_c2iptfb
null
1427580137
1
t5_2fwo
null
null
null
True
systay
null
I heard someone say last week "You are not listening if you are not open to be convinced." You, my good sir, are not listening.
null
0
1315605417
False
0
c2ipv88
t3_ka4h8
null
t1_c2ipv88
t1_c2iptfb
null
1427580140
3
t5_2fwo
null
null
null
True
lbzip2
null
I'm glad I was allowed to read your posting. lambdas are not bad per se, they (probably) fit functional languages most naturally. But IMHO they piss on the C heritage spectacularly. I can somehow tolerate function objects (which were what you described), because I can still see in them the function pointer and the pas...
null
0
1315605456
False
0
c2ipvf5
t3_ka4h8
null
t1_c2ipvf5
t1_c2ip09j
null
1427580142
1
t5_2fwo
null
null
null
True
lbzip2
null
> there are just some instinct that I have about lambda expressions that concern me in terms of usability good, seasoned instincts
null
0
1315605576
False
0
c2ipvy1
t3_ka4h8
null
t1_c2ipvy1
t1_c2iopt0
null
1427580150
0
t5_2fwo
null
null
null
True
realnowhereman
null
sure thing you can
null
0
1315605590
False
0
c2ipw0l
t3_k7qe8
null
t1_c2ipw0l
t1_c2ib3nc
null
1427580150
1
t5_2fwo
null
null
null