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 | Mechakoopa | null | He wouldn't have made the post if he wasn't proud of what he did, why are you cutting him down? Not everyone is an expert, there's a whole spectrum between David Lightman and the chick from CSI. | null | 0 | 1315075796 | False | 0 | c2h9i47 | t3_k2x8k | null | t1_c2h9i47 | t1_c2h9flk | null | 1427554770 | 2 | t5_2fwo | null | null | null |
True | rjcarr | null | While everyone is railing the article for paging and images I thought it was a really good write-up with straight forward examples. Thanks to the poster and/or author for making it.
The features of the release, however, are a little lackluster. I'll probably use the minimized collections creation and the multiple ex... | null | 0 | 1315075819 | False | 0 | c2h9i77 | t3_k3ivo | null | t1_c2h9i77 | t3_k3ivo | null | 1427554771 | 11 | t5_2fwo | null | null | null |
True | authorblues | null | Okay, the problem your bot is working on just went from interesting to awesome to me. That is fascinating, and I might tinker with some code later to try to do the same thing (not for me, but for you, just to see if I have anything to contribute). Here are a few thoughts I have.
For names: Google search the title minu... | null | 0 | 1315075835 | False | 0 | c2h9i9x | t3_k2x8k | null | t1_c2h9i9x | t1_c2h8c5a | null | 1427554773 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315075998 | False | 0 | c2h9iyf | t3_k2x8k | null | t1_c2h9iyf | t1_c2h8uze | null | 1427554781 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315076161 | False | 0 | c2h9jkc | t3_k1owo | null | t1_c2h9jkc | t1_c2gyt0n | null | 1428195637 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I wonder if the GWT guys are looking at emscripten at all for introducing other languages to the mix. Right now as it stands, the Java barrier is kind of a put off.
On the other hand, GWT does have some really cool features that make a tonne of sense for large scale web apps. I just wish is wasn't strictly Java (offic... | null | 0 | 1315076164 | False | 0 | c2h9jkq | t3_k2xbm | null | t1_c2h9jkq | t3_k2xbm | null | 1428195637 | 1 | t5_2fwo | null | null | null |
True | niloc132 | null | For what it is worth, I used to write everything in raw javascript, making use of jQuery and the like (mostly small, purpose-built, internal libraries) where necessary, and coding to strict team conventions, as to keep everything readable. We had a dynamite team, who turned out great code, but hiring for that team mean... | null | 0 | 1315076256 | False | 0 | c2h9jxj | t3_k2xbm | null | t1_c2h9jxj | t1_c2h7mjh | null | 1427554803 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315076406 | False | 0 | c2h9khz | t3_k2x8k | null | t1_c2h9khz | t1_c2h6rek | null | 1427554805 | -5 | t5_2fwo | null | null | null |
True | johnwaterwood | null | I think he means that the availability of string in switch encourages programmers to overuse it. Since it's a slower "method" (way) of doing things, it might slow down code if it's indeed used a lot. | null | 0 | 1315076452 | False | 0 | c2h9knt | t3_k3ivo | null | t1_c2h9knt | t1_c2h8u6x | null | 1427554815 | 4 | t5_2fwo | null | null | null |
True | 00kyle00 | null | >Java 7 tries to get rid of this redundancy by introducing a left to right type inference.
Isn't this kinda ass-backwards? | null | 0 | 1315076576 | False | 0 | c2h9l4o | t3_k3ivo | null | t1_c2h9l4o | t3_k3ivo | null | 1427554813 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | Yes much, much easier. | null | 0 | 1315076595 | False | 0 | c2h9l74 | t3_k2x8k | null | t1_c2h9l74 | t1_c2h5bfb | null | 1427554813 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | boost is a thing of beauty | null | 0 | 1315076644 | False | 0 | c2h9ldv | t3_k3l0g | null | t1_c2h9ldv | t1_c2h96ew | null | 1427554815 | 1 | t5_2fwo | null | null | null |
True | iswm | null | Well, I'm too lazy to write a full-blown tutorial, but it's actually all pretty simple. As far as getting cue pont metadata in the FLV, you can use something like [Adobe Media Encoder](http://www.adobe.com/devnet/flash/quickstart/video_encoder.html) which has an easy to use interface for adding cue points to video.
Al... | null | 0 | 1315076704 | False | 0 | c2h9lla | t3_k2ihg | null | t1_c2h9lla | t1_c2h7ux7 | null | 1427554818 | 1 | t5_2fwo | null | null | null |
True | vagif | null | >Underscores in numeric literals
You got to be fucking kidding me. The java progress became a joke.
Just leave the damn language alone and announce it to be the "assembler of JVM".
You want new features ? Push new languages.
| null | 0 | 1315076736 | False | 0 | c2h9lp4 | t3_k3ivo | null | t1_c2h9lp4 | t3_k3ivo | null | 1427554827 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | None of that is what makes boost special. Boost is a rare collection of libraries that are not coded in C style, or OOP style, but in generic programming style. It means the dependencies between types are as weak as possible. This means you can integrate your own types with boost in a way not possible with other types... | null | 0 | 1315076953 | False | 0 | c2h9mip | t3_k3l0g | null | t1_c2h9mip | t1_c2h9hpm | null | 1427554828 | 15 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315076965 | False | 0 | c2h9mka | t3_k3ivo | null | t1_c2h9mka | t3_k3ivo | null | 1427554829 | 1 | t5_2fwo | null | null | null |
True | Quince | null | Switching on String never made sense to me anyway. If you're going to have meaningful Strings, they're probably going to be used in more than one place in the code. It's better to create an enum and just switch on that name, that way they can be referenced in more than one place - and have metadata associated with t... | null | 0 | 1315076965 | False | 0 | c2h9mkd | t3_k3ivo | null | t1_c2h9mkd | t1_c2h8zzi | null | 1427554829 | 15 | t5_2fwo | null | null | null |
True | javahater | null | I clicked this expecting a 404. Oh well. | null | 0 | 1315076980 | False | 0 | c2h9mmj | t3_k3ivo | null | t1_c2h9mmj | t3_k3ivo | null | 1427554838 | 3 | t5_2fwo | null | null | null |
True | robgleeson | null | i'm not cutting him down, but top post? seriously? has the programming world got so uninteresting we're up voting homework-lik exercises to the top of a /r/programming?
I don't mean to be a dick, I probably sound like one, but I expect something a little more valuable as the _top post_. | null | 0 | 1315077035 | False | 0 | c2h9mu2 | t3_k2x8k | null | t1_c2h9mu2 | t1_c2h9i47 | null | 1427554832 | -1 | t5_2fwo | null | null | null |
True | 00kyle00 | null | It's kinda bad in that if you want just shared_ptr from it, you need to pull ~5MB of headers. If you want threads and mmfiles, you need to pull ~40.
Now this is a problem only if you are writing hello world application, in my opinion. | null | 0 | 1315077103 | False | 0 | c2h9n3c | t3_k3l0g | null | t1_c2h9n3c | t1_c2h9d1o | null | 1427554836 | 6 | t5_2fwo | null | null | null |
True | strattonbrazil | null | With my experiences with boost, it can have a lot of dependencies even if you only want to do a small part of it. If you're worried about memory, I'm told you can get 20MB of just library code in your app, which I haven't seen and probably isn't an issue on desktops and tablets. I didn't have much issue using just th... | null | 0 | 1315077117 | False | 0 | c2h9n4y | t3_k3l0g | null | t1_c2h9n4y | t1_c2h9hmd | null | 1427554836 | 7 | t5_2fwo | null | null | null |
True | robgleeson | null | A comment on that post says it all:
_"With these impressive Top Java 7 Features the language rushes full force into the mid nineties."_
But hey, at least there are some other nice JVM-hosted languages to make up for that :) | null | 0 | 1315077291 | False | 0 | c2h9nsk | t3_k3ivo | null | t1_c2h9nsk | t3_k3ivo | null | 1427554845 | 51 | t5_2fwo | null | null | null |
True | jibberia | null | Right-click, inspect element, right-click element, delete node. Obnoxious to have to do it on an article with horrendously typeset and formatted code examples laid in as \*images\* -- *spread over three pages*. That's **12** clicks!!! f7u12 | null | 0 | 1315077308 | False | 0 | c2h9nva | t3_k3ivo | null | t1_c2h9nva | t1_c2h84l0 | null | 1427554846 | 1 | t5_2fwo | null | null | null |
True | johnwaterwood | null | Of course it had to have one or two additional features, otherwise it would simply still *be* Java, which MS was banned from using. | null | 0 | 1315077318 | False | 0 | c2h9nwi | t3_k3ivo | null | t1_c2h9nwi | t1_c2h9ekp | null | 1427554846 | 14 | t5_2fwo | null | null | null |
True | masklinn | null | Well, from a non-bullet-point perspective it's not been useful either ever since enums were natively integrated into the language, are switchable and can be vivified from strings (via `#valueOf(String)`).
If you have too many strings to fit into that pattern, you're probably doing it wrong. | null | 0 | 1315077319 | False | 0 | c2h9nwp | t3_k3ivo | null | t1_c2h9nwp | t1_c2h9h4f | null | 1427554846 | 19 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315077340 | False | 0 | c2h9nzj | t3_k2x8k | null | t1_c2h9nzj | t1_c2h95ml | null | 1427554848 | 1 | t5_2fwo | null | null | null |
True | Taladar | null | Well, the problem with that is that you don't have the source code to VB6 (or control over it). | null | 0 | 1315077426 | False | 0 | c2h9obv | t3_k2ip8 | null | t1_c2h9obv | t1_c2h8uva | null | 1427554852 | 1 | t5_2fwo | null | null | null |
True | masklinn | null | > why not have arbitrary code get called at end of scope, like a C++ destructor?
Uh... what?
A C++ destructor is not arbitrary code (it's a destructor), and `AutoClosable#close()` can contain arbitrary code (more so than a destructors at any rate: throwing exceptions out of C++ destructors is generally considered ... | null | 0 | 1315077461 | True | 0 | c2h9oh1 | t3_k3ivo | null | t1_c2h9oh1 | t1_c2h91py | null | 1427554854 | 5 | t5_2fwo | null | null | null |
True | masklinn | null | Pushed back to the next release. | null | 0 | 1315077562 | False | 0 | c2h9otx | t3_k3ivo | null | t1_c2h9otx | t1_c2h97ux | null | 1427554858 | 3 | t5_2fwo | null | null | null |
True | Wolfspaw | null | Great code! | null | 0 | 1315077679 | False | 0 | c2h9p9j | t3_k1z0c | null | t1_c2h9p9j | t3_k1z0c | null | 1427554863 | 2 | t5_2fwo | null | null | null |
True | honcas | null | >My comments may sound the similar because they're addressing the same repetitive comments. Why weren't they downvoted instead? Oh wait...
Fair enough. You and I both know that reddiquette is not followed. I'd say that the other comments need to be voted down, too, along with the whole topic.
>A site like Stac... | null | 0 | 1315077693 | False | 0 | c2h9pbr | t3_k3jqa | null | t1_c2h9pbr | t1_c2h8zpn | null | 1427554865 | 2 | t5_2fwo | null | null | null |
True | KnuttyD | null | Yeah, that seems like a bit much. Thanks for the answer. | null | 0 | 1315077717 | False | 0 | c2h9pej | t3_k3l0g | null | t1_c2h9pej | t1_c2h9n3c | null | 1427554866 | 1 | t5_2fwo | null | null | null |
True | KnuttyD | null | Thanks! I'll have to look further into it. | null | 0 | 1315077765 | False | 0 | c2h9pkp | t3_k3l0g | null | t1_c2h9pkp | t1_c2h9hpm | null | 1427554868 | 0 | t5_2fwo | null | null | null |
True | tryx | null | I wouldn't exactly call the most successful business language since COBOL a "failed experiment", but there are certainly more modern languages. | null | 0 | 1315077816 | False | 0 | c2h9prl | t3_k3ivo | null | t1_c2h9prl | t1_c2h8eo5 | null | 1427554870 | 5 | t5_2fwo | null | null | null |
True | arto | null | Also known as the Internet. | null | 0 | 1315077840 | False | 0 | c2h9pu8 | t3_k11cr | null | t1_c2h9pu8 | t1_c2gvcom | null | 1427554870 | 2 | t5_2fwo | null | null | null |
True | cowardlydragon | null | I don't think a language standard is necessary as much as a bytecode/VM standard is. They could do the open source JVM and then language would be a matter of an include or import statement.
The JVM would be best (and solve the applet speed problem since it loads when the browser opens) and already has excellent opti... | null | 0 | 1315077874 | False | 0 | c2h9pz1 | t3_k11yc | null | t1_c2h9pz1 | t1_c2gvwdd | null | 1427554872 | 0 | t5_2fwo | null | null | null |
True | tsotha | null | One of the big complaints about java is the way everything is so bureaucratic and wordy. I realize you can define an enum and use that in your switch statement. But I'd rather not if this is the only place the strings are used - it just forces an additional layer of complication without providing any benefit. | null | 0 | 1315077947 | False | 0 | c2h9q8l | t3_k3ivo | null | t1_c2h9q8l | t1_c2h9nwp | null | 1427554875 | 16 | t5_2fwo | null | null | null |
True | cowardlydragon | null | I said it earlier, but I want to spam the idea. We don't need a standard language, we need a standard bytecode. | null | 0 | 1315077963 | False | 0 | c2h9qb8 | t3_k11yc | null | t1_c2h9qb8 | t1_c2gxcte | null | 1427554876 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315077965 | False | 0 | c2h9qbk | t3_k3ivo | null | t1_c2h9qbk | t3_k3ivo | null | 1427554876 | -3 | t5_2fwo | null | null | null |
True | kraemahz | null | I hate ugly python, so I [cleaned it up a bit](http://pastebin.com/6rNvyB9j).
I also changed the bottom section to a \_\_main\_\_ so that it can be safely imported without running. | null | 0 | 1315078214 | False | 0 | c2h9r9i | t3_k2x8k | null | t1_c2h9r9i | t1_c2h5i8q | null | 1427554889 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | May the karma of gentlemen and scholars flood your innumerable days and the days of your progeny to the fourth and yea fifth generations!
/thanks, seriously, I'm going to have to learn this, I've got tons of uses for it! | null | 0 | 1315078229 | True | 0 | c2h9rbf | t3_k2ihg | null | t1_c2h9rbf | t1_c2h9lla | null | 1427554889 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | That doesn't really shed any new light on your original comment... | null | 0 | 1315078243 | False | 0 | c2h9rdr | t3_k3bse | null | t1_c2h9rdr | t1_c2h88o5 | null | 1427554891 | 6 | t5_2fwo | null | null | null |
True | masklinn | null | > One of the big complaints about java is the way everything is so bureaucratic and wordy.
While I agree with this criticism in the general case, it definitely does not apply to enums which are about as terse as you can get and still code in java.
> But I'd rather not if this is the only place the strings are u... | null | 0 | 1315078419 | False | 0 | c2h9s1q | t3_k3ivo | null | t1_c2h9s1q | t1_c2h9q8l | null | 1427554900 | -2 | t5_2fwo | null | null | null |
True | ridgerat | null | The Tiobe numbers are skewed by the popularity of "coffee". ;) | null | 0 | 1315078504 | False | 0 | c2h9scw | t3_k3ivo | null | t1_c2h9scw | t1_c2h9ewq | null | 1427554905 | 2 | t5_2fwo | null | null | null |
True | cdsmith | null | > While I agree with this criticism in the general case, it definitely does not apply to enums which are about as terse as you can get and still code in java.
In and of themselves, yes... in a bigger context, you have to either (a) declare them in their own file, or (b) nest them inside another class, making refere... | null | 0 | 1315079057 | False | 0 | c2h9ufk | t3_k3ivo | null | t1_c2h9ufk | t1_c2h9s1q | null | 1427554936 | 7 | t5_2fwo | null | null | null |
True | d1v1d3byz3r0 | null | Yep, Venkat is notably a TextMate user. Every single talk I've seen him give is pure gold. | null | 0 | 1315079231 | False | 0 | c2h9v2k | t3_k3bse | null | t1_c2h9v2k | t1_c2h7rok | null | 1427554942 | 3 | t5_2fwo | null | null | null |
True | badsectoracula | null | i suppose that you aren't writing software that works with sound :-P | null | 0 | 1315079403 | False | 0 | c2h9vpk | t3_k2ip8 | null | t1_c2h9vpk | t1_c2h3wep | null | 1427554948 | 4 | t5_2fwo | null | null | null |
True | Kyrra | null | Oracle's take-over of Java was a complete fuck up. Honestly, I think they got this (java 7) out the door to remind people they still existed and that they could do major drops. I'm hoping now that things from the takeover have settled down they will be able to start quicker feature pushes with new releases.
Sure thi... | null | 0 | 1315079438 | False | 0 | c2h9vue | t3_k3ivo | null | t1_c2h9vue | t1_c2h8l7w | null | 1427554950 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315079470 | False | 0 | c2h9vzb | t3_k2xbm | null | t1_c2h9vzb | t1_c2h7xzt | null | 1427554952 | 2 | t5_2fwo | null | null | null |
True | cdsmith | null | Definitely the thing about rethrowing multiple exceptions just cries out "we wish we had real type parametricity, but we know the language syntax can't support that much weight, so we're throwing in a special purpose kludge here and there." | null | 0 | 1315079528 | False | 0 | c2h9w6v | t3_k3ivo | null | t1_c2h9w6v | t1_c2h9ch3 | null | 1427554962 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315079613 | False | 0 | c2h9wip | t3_k3ivo | null | t1_c2h9wip | t3_k3ivo | null | 1427554959 | 1 | t5_2fwo | null | null | null |
True | mlk | null | Not only images, but
*jpeg* images. | null | 0 | 1315079898 | False | 0 | c2h9xl5 | t3_k3ivo | null | t1_c2h9xl5 | t1_c2h910e | null | 1427554973 | 15 | t5_2fwo | null | null | null |
True | slgard | null | WTF, it's 2011 and Java has never supported strings in switch statements ???
(grateful non java programmer here) | null | 0 | 1315079998 | False | 0 | c2h9xyy | t3_k3ivo | null | t1_c2h9xyy | t3_k3ivo | null | 1427554979 | 10 | t5_2fwo | null | null | null |
True | traphicone | null | > For example, regarding item "Strings in a switch", an enum will always be more efficient when it comes to execution.
[False](http://download.oracle.com/javase/6/docs/api/java/lang/String.html#intern\(\)). | null | 0 | 1315080002 | False | 0 | c2h9xzi | t3_k3ivo | null | t1_c2h9xzi | t1_c2h8rv4 | null | 1427554979 | 0 | t5_2fwo | null | null | null |
True | kirakun | null | Your comment is full of subjective shit and zero content. Try answering these instead: How is the try-with-resource "hideously inelegant?" How would you handle it with closure (if you had closure)? How is Java 7 a "big" step backwards? | null | 0 | 1315080063 | False | 0 | c2h9y72 | t3_k3ivo | null | t1_c2h9y72 | t1_c2h9ch3 | null | 1427554990 | 2 | t5_2fwo | null | null | null |
True | haoest | null | I know several image processing libraries that use 4 bytes to represent one pixel. The first 3 bytes are used to represent values of the individual red, green, and blue channels, leaving the 4th byte for the alpha channel, or unused if the alpha channel is not utilized. So technically you can hold an ascii character in... | null | 0 | 1315080246 | False | 0 | c2h9yvv | t3_k2fk4 | null | t1_c2h9yvv | t3_k2fk4 | null | 1428195634 | 1 | t5_2fwo | null | null | null |
True | shub | null | Which ban resulted from MS putting delegates in Java! Quite an amusing situation. | null | 0 | 1315080289 | False | 0 | c2h9z1e | t3_k3ivo | null | t1_c2h9z1e | t1_c2h9nwi | null | 1427554992 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | >estimating that only 15% of hiring managers ask to see samples of work
Ok, so at the beginning of the article the author establishes that only 15% even want samples, but then goes on to explain how not only a github account full of code isn't enough, but that the reader should be wiring code specifically for her p... | null | 0 | 1315080333 | False | 0 | c2h9z6s | t3_k3nab | null | t1_c2h9z6s | t3_k3nab | null | 1427554994 | 9 | t5_2fwo | null | null | null |
True | __s | null | Java 7 is Java 1.7 | null | 0 | 1315080548 | False | 0 | c2ha00w | t3_k3ivo | null | t1_c2ha00w | t1_c2h9qbk | null | 1427555005 | -6 | t5_2fwo | null | null | null |
True | PSquid | null | 40 lines of actual Python. The shebang and encoding lines are unnecessary, they're just helpful when working with Python scripts on POSIX-y systems (such as Linux, OS X, BSD). | null | 0 | 1315080654 | False | 0 | c2ha0fc | t3_k2x8k | null | t1_c2ha0fc | t1_c2h9khz | null | 1427555010 | 3 | t5_2fwo | null | null | null |
True | tanishaj | null | Call us again in a few years if you really did not find them useful.
I have certainly used them in C#. In at least one case (a small parser) you are right that I could have used a different design (like recursive descent). But you know what, I am glad I do not have to constantly "design" around the limitations of the ... | null | 0 | 1315080756 | False | 0 | c2ha0to | t3_k3ivo | null | t1_c2ha0to | t1_c2h9nwp | null | 1427555015 | 13 | t5_2fwo | null | null | null |
True | PSquid | null | Hungry. The turtle looks delicious. | null | 0 | 1315080766 | False | 0 | c2ha0va | t3_k2x8k | null | t1_c2ha0va | t1_c2h9a33 | null | 1427555015 | 1 | t5_2fwo | null | null | null |
True | PSquid | null | The trick is not to have a giant nest like that, unless you absolutely can't avoid it. If you can't avoid it, _then_ you break out the comments. | null | 0 | 1315080862 | False | 0 | c2ha18q | t3_k2x8k | null | t1_c2ha18q | t1_c2h8ndm | null | 1427555021 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Nah, thats what [/r/beadick](http://www.reddit.com/r/jesuschristitsjustajoke) is for. | null | 0 | 1315080963 | False | 0 | c2ha1mu | t3_k2x8k | null | t1_c2ha1mu | t1_c2h7ob2 | null | 1427555026 | 4 | t5_2fwo | null | null | null |
True | KirillM | null | Please tell me more about NEED MORE! | null | 0 | 1315081025 | False | 0 | c2ha1vo | t3_k2x8k | null | t1_c2ha1vo | t1_c2h47m0 | null | 1428195633 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | >I disagree. I use state machines all the time. It's just that when I use them, they are called regular expressions.
You do not use state machines. You use a tool for which state machines happen to be an implementation detail. | null | 0 | 1315081073 | False | 0 | c2ha220 | t3_k12ka | null | t1_c2ha220 | t1_c2gwv9s | null | 1427555032 | 3 | t5_2fwo | null | null | null |
True | vinng86 | null | Hell, the article even says the compiler can apply some optimizations. I would think the generated bytecode would only have to iterate through the target String once, versus before with each equals() function. | null | 0 | 1315081213 | False | 0 | c2ha2m4 | t3_k3ivo | null | t1_c2ha2m4 | t1_c2h9knt | null | 1427555039 | 1 | t5_2fwo | null | null | null |
True | MockDeath | null | Mods do not get to see why something was reported. Just that it was. Unless the person who reported it also sent a modmail explaining their actions, and in my experience that is rare. | null | 0 | 1315081273 | False | 0 | c2ha2ti | t3_k2x8k | null | t1_c2ha2ti | t1_c2h7vjp | null | 1427555041 | 3 | t5_2fwo | null | null | null |
True | tanishaj | null | I believe that strings in switch statements were as well. That is one of the "top" features showcased here. | null | 0 | 1315081274 | False | 0 | c2ha2tn | t3_k3ivo | null | t1_c2ha2tn | t1_c2h9ekp | null | 1427555041 | 6 | t5_2fwo | null | null | null |
True | yogsototh | null | FTFY
TL;DR: nothing really interesting ; java still sucks. | null | 0 | 1315081302 | False | 0 | c2ha2xk | t3_k3ivo | null | t1_c2ha2xk | t1_c2h8l60 | null | 1427555043 | -11 | t5_2fwo | null | null | null |
True | dhjdhj | null | I'm still not interested! | null | 0 | 1315081497 | False | 0 | c2ha3p2 | t3_k3ivo | null | t1_c2ha3p2 | t3_k3ivo | null | 1427555056 | -6 | t5_2fwo | null | null | null |
True | tanishaj | null | Like tail call optimization. Runtime support for generics? Wait. I guess not.
The JVM is the best part of Java though. | null | 0 | 1315081569 | False | 0 | c2ha3z2 | t3_k3ivo | null | t1_c2ha3z2 | t1_c2h9nsk | null | 1427555058 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315081592 | False | 0 | c2ha41r | t3_k3ivo | null | t1_c2ha41r | t1_c2h9gv9 | null | 1427555059 | 14 | t5_2fwo | null | null | null |
True | henk53 | null | >and some insightful observations about J2EE
Insightful perhaps, but J2EE ended over 6 years ago and its relevance is strongly declining. Java EE is so much better and has been better for over 6 years thus.
This is only slightly acknowledged at the end of the article:
*"In recent years, J2EE vendors have attempte... | null | 0 | 1315081622 | False | 0 | c2ha45p | t3_k3g4d | null | t1_c2ha45p | t1_c2h7wq6 | null | 1427555060 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | That's okay, I happen to not be interested in you. | null | 0 | 1315081782 | False | 0 | c2ha4qs | t3_k3ivo | null | t1_c2ha4qs | t1_c2ha3p2 | null | 1427555066 | 4 | t5_2fwo | null | null | null |
True | jayd16 | null | I think its nice but I'm a bit conflicted.
In C# you have using blocks, which I think is more clear than adding features to try blocks. On the other hand you might often want your using blocks inside a try/catch and making them separate just wastes space.
...I will spend many months meditating about this. | null | 0 | 1315081801 | False | 0 | c2ha4th | t3_k3ivo | null | t1_c2ha4th | t1_c2h91py | null | 1427555067 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | That doesn't mean programmers are using FSM, they're using a tool that happens to use an FSM behind the scenes. Its like me saying that as a programmer I use FSMs because I have antilock breaks in my car. | null | 0 | 1315081834 | False | 0 | c2ha4y7 | t3_k12ka | null | t1_c2ha4y7 | t1_c2gwwqh | null | 1427555069 | 1 | t5_2fwo | null | null | null |
True | gypsyface | null | This works fine if you have written something from scratch and own the repository. Contributions to other projects are harder to view. | null | 0 | 1315081891 | False | 0 | c2ha55h | t3_k3nab | null | t1_c2ha55h | t3_k3nab | null | 1427555073 | 3 | t5_2fwo | null | null | null |
True | franktinsley | null | Brainsturbation. | null | 0 | 1315082168 | False | 0 | c2ha689 | t3_k3bse | null | t1_c2ha689 | t3_k3bse | null | 1427555088 | -3 | t5_2fwo | null | null | null |
True | UncleBanana | null | Thanks! | null | 0 | 1315082174 | False | 0 | c2ha692 | t3_k3l0g | null | t1_c2ha692 | t3_k3l0g | null | 1427555088 | -2 | t5_2fwo | null | null | null |
True | tagattack | null | I will never understand why people insist on using this style
InputStream input = null;
try {
input = new FileInputStream(new File(filename));
/* Work with input */
}
catch (IOException exception) {
String message = "Error while reading ... file";
log.error(message, ex... | null | 0 | 1315082286 | False | 0 | c2ha6ov | t3_k3ivo | null | t1_c2ha6ov | t3_k3ivo | null | 1427555098 | 21 | t5_2fwo | null | null | null |
True | sempuki | null | A very sad, sad list. | null | 0 | 1315082588 | False | 0 | c2ha7tp | t3_k3ivo | null | t1_c2ha7tp | t3_k3ivo | null | 1427555112 | 36 | t5_2fwo | null | null | null |
True | r250r | null | Delusional. There are no turtles in the desert. | null | 0 | 1315083098 | False | 0 | c2ha9lj | t3_k2x8k | null | t1_c2ha9lj | t1_c2h9a33 | null | 1427555130 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Not to mention you can verify they actually DID write the code on your whiteboard. :-) | null | 0 | 1315083189 | False | 0 | c2ha9xb | t3_k3nab | null | t1_c2ha9xb | t1_c2h9z6s | null | 1427555135 | 5 | t5_2fwo | null | null | null |
True | gospelwut | null | How exactly does one avoid it? I'm not being facetious. I'm a self-taught programmer, so if I'm "doing it wrong" I'd love to learn.
For example, I recently had to write a quick program to iterate through 800MB txt files and parse it out into a format another program could read properly (a small-er 180MB txt file). So ... | null | 0 | 1315083351 | False | 0 | c2haaim | t3_k2x8k | null | t1_c2haaim | t1_c2ha18q | null | 1427555142 | 1 | t5_2fwo | null | null | null |
True | comment-dwim | null | I would say that Github + Your blog (or Github pages) is actually a pretty good portfolio. The employer has both code and insights on the train of thought that was in your head while writing it, how you approach this or that problem, etc...
The article says:
> It’s arrogant and foolish to tell someone looking to h... | null | 0 | 1315083461 | False | 0 | c2haaw5 | t3_k3nab | null | t1_c2haaw5 | t3_k3nab | null | 1427555147 | 1 | t5_2fwo | null | null | null |
True | matthewnet | null | How do I get this to work, exactly? | null | 0 | 1315083484 | False | 0 | c2haazb | t3_k2x8k | null | t1_c2haazb | t3_k2x8k | null | 1427555155 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315083551 | False | 0 | c2hab8m | t3_k3ivo | null | t1_c2hab8m | t1_c2h90zc | null | 1427555155 | -1 | t5_2fwo | null | null | null |
True | gjtorikian | null | I have but one upvote. | null | 0 | 1315083815 | False | 0 | c2hac6x | t3_k3nab | null | t1_c2hac6x | t1_c2h96wg | null | 1427555167 | 4 | t5_2fwo | null | null | null |
True | dioltas | null | Yeah. I don't know python at all, so said I'd give them the benefit of the doubt! | null | 0 | 1315083956 | False | 0 | c2hacq4 | t3_k2x8k | null | t1_c2hacq4 | t1_c2h8qhb | null | 1427555171 | 1 | t5_2fwo | null | null | null |
True | edwardkmett | null | A large part of that is how awkward Java is at expressing little internal DSLs. The lack of overloading and the general verbosity kills many of the benefits of building a DSL in the first place.
Haskell for instance is amazing at dealing with EDSLs, because the syntax of the language is so lightweight. The major limit... | null | 0 | 1315084559 | False | 0 | c2haexb | t3_k2ihg | null | t1_c2haexb | t1_c2h362b | null | 1427555200 | 2 | t5_2fwo | null | null | null |
True | FooFighter828 | null | in a horrible, compressed type face, no less. | null | 0 | 1315084755 | False | 0 | c2hafnh | t3_k3ivo | null | t1_c2hafnh | t1_c2h90zc | null | 1427555209 | 25 | t5_2fwo | null | null | null |
True | foolinator | null | Every new version of a language is riddled with bugs. It'll get stable quickly. FWIW I get all sorts of strange core dumps with PHP just because of odd versions with bugs in linux. | null | 0 | 1315084869 | False | 0 | c2hag2c | t3_k3ivo | null | t1_c2hag2c | t1_c2h8var | null | 1427555215 | -5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315085206 | False | 0 | c2hahat | t3_k3nab | null | t1_c2hahat | t1_c2hac6x | null | 1427555231 | 1 | t5_2fwo | null | null | null |
True | foolinator | null | The new default garbage collector will make it faster. | null | 0 | 1315085270 | False | 0 | c2hahj1 | t3_k3ivo | null | t1_c2hahj1 | t1_c2h8rv4 | null | 1427555234 | 1 | t5_2fwo | null | null | null |
True | opatut | null | TIL Cleverbot speaks German, too. | null | 0 | 1315085428 | False | 0 | c2hai3m | t3_k2x8k | null | t1_c2hai3m | t1_c2h435y | null | 1427555240 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | lol | null | 0 | 1315085430 | False | 0 | c2hai41 | t3_k3bwx | null | t1_c2hai41 | t1_c2h9g1d | null | 1427555241 | -13 | t5_2fwo | null | null | null |
True | Hafnium | null | I've been "doh"ing about this for years. | null | 0 | 1315085563 | False | 0 | c2haikk | t3_k3ivo | null | t1_c2haikk | t1_c2h9xyy | null | 1427555247 | 4 | t5_2fwo | null | null | null |
True | henk53 | null | I won't deny that C++'11 has awesome features, but it's maybe not the best example.
C++ needed over a decade for its first revision that actually affected the language syntax since the original spec. (there was a smallish library-only intermediate update in between)
Additionally, once the C++ spec is final, it doesn'... | null | 0 | 1315085635 | False | 0 | c2haits | t3_k3ivo | null | t1_c2haits | t1_c2h9qbk | null | 1427555251 | 5 | t5_2fwo | null | null | null |
True | mahlzeit | null | The problem is that it's animating every time you scroll. When I'm reading a website I'm constantly scrolling to keep the line I'm on at the top of the page, so this is really, really distracting.
It's the same with those Twitter boxes besides articles. The eye notices movement first, so your attention is constantly p... | null | 0 | 1315085787 | False | 0 | c2hajd3 | t3_k3ivo | null | t1_c2hajd3 | t1_c2h853r | null | 1427555258 | 3 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.