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 | [deleted] | null | Single vendor solutions are easier integration and development for me, at least that's been my experience. Your mileage may very. And fuck you for the "spewing ignorant opinions" line, that pretty much just kills any desire I have to engage in a civil discussion with you.
By the way the Caps fucking suck ass and will... | null | 0 | 1315596237 | False | 0 | c2iokgw | t3_ka4h8 | null | t1_c2iokgw | t1_c2io3do | null | 1427579526 | -7 | t5_2fwo | null | null | null |
True | KyteM | null | Delegates and/or Lambdas versus Anonymous inner classes. | null | 0 | 1315596387 | False | 0 | c2iolb8 | t3_ka4h8 | null | t1_c2iolb8 | t1_c2ioh8a | null | 1427579537 | 10 | t5_2fwo | null | null | null |
True | SuperGrade | null | > I really am curious though. What are the benefits of Lambda expressions?
They're pretty much the shortest syntax that allows you to create a local function literal. You can type 5 instead of referring to a constant at global scope. You can type "Hello" without having to refer to a constant hello typed elsewhere... | null | 0 | 1315596388 | False | 0 | c2iolbo | t3_ka4h8 | null | t1_c2iolbo | t1_c2inx9c | null | 1427579537 | 2 | t5_2fwo | null | null | null |
True | ldpreload | null | If you commited before the `git reset --hard`, you won't lose work. It's all in the reflog. | null | 0 | 1315596390 | False | 0 | c2iolc6 | t3_k7qvj | null | t1_c2iolc6 | t1_c2il0oo | null | 1427579538 | 0 | t5_2fwo | null | null | null |
True | javacodegeeks | null | Thank you for your comment. Nevertheless I will have to disagree.
First of all the author is a JCG (Java Code Geek) thus is a part of a Java developer community that is committed to share their knowledge and experiences so as to help each other. As with all of our JCG members we have granted full privilege to republis... | null | 0 | 1315596443 | False | 0 | c2iolmq | t3_ka6ug | null | t1_c2iolmq | t1_c2in99y | null | 1427579540 | -1 | t5_2fwo | null | null | null |
True | dont_get_it | null | Well, your post is not quite trolling, but it is not on topic either.
I would want to more money before switching to proprietary Microsoft development tools, not less. | null | 0 | 1315596447 | False | 0 | c2iolnn | t3_ka4h8 | null | t1_c2iolnn | t1_c2int22 | null | 1427579541 | 1 | t5_2fwo | null | null | null |
True | SuperGrade | null | I went off and read some of your other responses.
I think the question can be reworded as:
"I'm an obstinate and generally shi__y programmer - what are the benefits to *me* of lambda expressions?"
| null | 0 | 1315596469 | False | 0 | c2iolrd | t3_ka4h8 | null | t1_c2iolrd | t1_c2inx9c | null | 1427579542 | -5 | t5_2fwo | null | null | null |
True | majeric | null | I understand what lambda expressions are... but thus far the only benefit you seem to express is that it shortens syntax.
I'm not sure the trade off is worth the added complexity to readability. Java is simple... There are so many advantages in the simplicity.
| null | 0 | 1315596595 | False | 0 | c2iomfi | t3_ka4h8 | null | t1_c2iomfi | t1_c2iolbo | null | 1427579552 | 2 | t5_2fwo | null | null | null |
True | Luminaire | null | Here are a few I could think of off the top of my head:
Represent xml/html/multiline/regex strings in java:
String xml = "<some foo=\"bar\">Ack \"He Said\"</some>";
String regex = "\\\\.+\\%";
String multiline = "Some\n" +
"other";
Initializing a map:
private static final Map<Integer, String>... | null | 0 | 1315596679 | True | 0 | c2iomvb | t3_ka4h8 | null | t1_c2iomvb | t1_c2ioh8a | null | 1427579557 | 5 | t5_2fwo | null | null | null |
True | AeroNotix | null | As someone who loves programming and wanted to learn more Java since 80% of the jobs in my country are Java based, thank you. | null | 0 | 1315596690 | False | 0 | c2iomx9 | t3_ka4h8 | null | t1_c2iomx9 | t1_c2inz4i | null | 1427579568 | 2 | t5_2fwo | null | null | null |
True | majeric | null | But the patterns in code are obvious. They follow the same shape and structure. It becomes trivial to dissect even if it does mean that there are strictly speaking more characters to type out (which code completion mercifully addresses).
If that's the only reason for Lambda expressions, I don't think they are worth it... | null | 0 | 1315596692 | False | 0 | c2iomxe | t3_ka4h8 | null | t1_c2iomxe | t1_c2iok6c | null | 1427579568 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Java, open source or not, is a single vendor solution. Yes it has companies making all sorts of libraries and frameworks but that can be said of any language. .Net devs can't have a go at Java. .Net wants to be Java. It has more features but it's newer. If had been in java's place it would have java's issues. | null | 0 | 1315596734 | False | 0 | c2ion45 | t3_ka4h8 | null | t1_c2ion45 | t1_c2int22 | null | 1427579561 | 2 | t5_2fwo | null | null | null |
True | Gotebe | null | >I like interfaces. I think it's a really elegant solution to addressing multiple inheritance.
No, not really. Interfaces are something else. To pull out a bad analogy...
A human can speak. it can also run, or swim. So can a dog, or cat, but don't speak. A fish can swim, but not speak.
Inheritance normally implie... | null | 0 | 1315596985 | False | 0 | c2ioofi | t3_ka4h8 | null | t1_c2ioofi | t1_c2io7g9 | null | 1427579579 | 1 | t5_2fwo | null | null | null |
True | njharman | null | > Obviously I cannot say "because my manager is a psycho who is disrespecting me and offending me all the time and I have had enough".
That is not obvious to me at all. Leave off psycho and that is what I'd say. | null | 0 | 1315597053 | False | 0 | c2ioot1 | t3_k9wry | null | t1_c2ioot1 | t3_k9wry | null | 1427579594 | 1 | t5_2fwo | null | null | null |
True | BraveSirRobin | null | Comparing the syntax sugar of Lambdas to core programming facets like objects, functions and high-level languages is a bit much IMHO. | null | 0 | 1315597075 | False | 0 | c2iooxn | t3_ka4h8 | null | t1_c2iooxn | t1_c2io6fu | null | 1427579589 | 6 | t5_2fwo | null | null | null |
True | mushishi | null | The reality is not so clear-cut. Reflection and annotations play an important role in current Java technologies. Because people want boilerplate-free and simple looking business code they try to escape basic Java coding by jumping on generic frameworks, such as Hibernate and Spring which try to hide complexity but cann... | null | 0 | 1315597105 | True | 0 | c2iop2f | t3_ka4h8 | null | t1_c2iop2f | t1_c2inz4i | null | 1427579593 | 13 | t5_2fwo | null | null | null |
True | Stormflux | null | Oh, sorry, that's c# code, the first line is a shorthand way to declare a function delegate using a lambda, and the second line is querying a collection using the linq extension methods, which accept lambda expressions.
I tried to understand how that extension method works behind the scenes once, and ended up with [... | null | 0 | 1315597187 | True | 0 | c2iopgi | t3_ka4h8 | null | t1_c2iopgi | t1_c2ioezs | null | 1427579601 | 1 | t5_2fwo | null | null | null |
True | majeric | null | I suppose you might see it that way. There's very little I can do to convince you otherwise. I'm just another faceless redditor. It might just be easier to assume that I'm being a Troll than having a point to consider.
I'm trying to be objective. Most of work has been in user interface design. Usability is always an i... | null | 0 | 1315597249 | False | 0 | c2iopt0 | t3_ka4h8 | null | t1_c2iopt0 | t1_c2iolrd | null | 1427579605 | 1 | t5_2fwo | null | null | null |
True | rpglover64 | null | I've been using emacs for about a month, when I finally got fed up with lack of decent extensibility (I have no desire to learn vim-script) and less-than-ideal indentation and syntax highlighting. I still use vim occasionally for quick edits.
I like modal editing, and that several common commands are a few keystrokes ... | null | 0 | 1315597264 | False | 0 | c2iopwa | t3_k9akm | null | t1_c2iopwa | t1_c2imvnz | null | 1427579607 | 1 | t5_2fwo | null | null | null |
True | beef_wellington_ | null | The amount of bashing going on here is amazing.
Marak is not a "known thief". I've spent several hours researching the claims in this thread since last night and the only conclusion I've drawn is that Marak is a somewhat unpleasant person.
I fail to see any theft going on here. It appears to just be a lot of hateful... | null | 0 | 1315597293 | False | 0 | c2ioq2g | t3_k9rqy | null | t1_c2ioq2g | t1_c2iodvi | null | 1427579610 | 3 | t5_2fwo | null | null | null |
True | kankeroo | null | What advantages does Go have over lua and erlang (two languages I'm now learning)? | null | 0 | 1315597301 | False | 0 | c2ioq44 | t3_k9ud6 | null | t1_c2ioq44 | t3_k9ud6 | null | 1427579610 | 2 | t5_2fwo | null | null | null |
True | bockris | null | Hmm. I opened the PDF in inkscape and it made some interesting choices of objects boundaries. Some pieces it did perfectly but other had tiny imperfections that joined odd pieces together. After playing with it, I would go back and tweak the PNG and re-vectorize.
Thanks for posting. | null | 0 | 1315597319 | False | 0 | c2ioq82 | t3_ka3gd | null | t1_c2ioq82 | t1_c2inbnx | null | 1427579609 | 2 | t5_2fwo | null | null | null |
True | cruise02 | null | What does that question have to do with programming at all? It's just an off-topic question, no moderator ego involved. | null | 0 | 1315597373 | False | 0 | c2ioqia | t3_k9wry | null | t1_c2ioqia | t1_c2ilapm | null | 1427579612 | 1 | t5_2fwo | null | null | null |
True | cruise02 | null | If SO included all of those topics (and everything else on Stack Exchange) it would just be Yahoo! Answers. | null | 0 | 1315597515 | False | 0 | c2ior92 | t3_k9wry | null | t1_c2ior92 | t1_c2iljmt | null | 1427579619 | 1 | t5_2fwo | null | null | null |
True | lars_ | null | Translate these 4 lines of ruby to java:
rows = []
File.open("data.csv", "r").each_line { |line|
rows << line.split(",")
}
I dare you. It will be huge. | null | 0 | 1315597693 | False | 0 | c2ios3a | t3_ka4h8 | null | t1_c2ios3a | t1_c2ioh8a | null | 1427579631 | 2 | t5_2fwo | null | null | null |
True | day_cq | null | the topic here was semantics of error handling (code execution or dataflow branching) and expression of such semantics.
My point was that (a,Err) or Either Err a are the same in that they both branch once. And, my preference was (a,Err) because it shows explicit branching early on (in dataflow languages).
GATE... | null | 0 | 1315597703 | True | 0 | c2ios8g | t3_k9ud6 | null | t1_c2ios8g | t1_c2imr7y | null | 1427579634 | -4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315597743 | False | 0 | c2iosf0 | t3_k9wry | null | t1_c2iosf0 | t1_c2indau | null | 1427579636 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315597747 | False | 0 | c2iosge | t3_k9wry | null | t1_c2iosge | t1_c2indau | null | 1427579637 | 0 | t5_2fwo | null | null | null |
True | SuperGrade | null | Shortens syntax - but not linearly as the complexity of the problem grows.
"Complexity to readability", no, just unfamiliarity. The class equivalent of whatever you'd otherwise be doing with the lambdas is technically more complex, and the programmer has less control over where to put it. | null | 0 | 1315597750 | False | 0 | c2iosha | t3_ka4h8 | null | t1_c2iosha | t1_c2iomfi | null | 1427579637 | 3 | t5_2fwo | null | null | null |
True | jrandom | null | Depends on how close they are to the mantle. | null | 0 | 1315597781 | False | 0 | c2iosnh | t3_k9rqy | null | t1_c2iosnh | t1_c2io7qn | null | 1427579639 | 3 | t5_2fwo | null | null | null |
True | ponkysad | null | Mathematica has come from no-where to be a pretty good image processing platform. Pre version 6 it couldn't do it at all, and now it looks like it has overtaken Matlab in capabilities. (The GUI building is cool too). | null | 0 | 1315597813 | False | 0 | c2iossv | t3_ka5os | null | t1_c2iossv | t3_ka5os | null | 1427579641 | 7 | t5_2fwo | null | null | null |
True | redrobot5050 | null | You're right, and people don't like to hear it.
Need new language features? Use another language on the JVM like Jython, JRuby, Groovy, Scala, or Rhino. | null | 0 | 1315597841 | False | 0 | c2iosyr | t3_ka4h8 | null | t1_c2iosyr | t1_c2io8qa | null | 1427579643 | 6 | t5_2fwo | null | null | null |
True | SuperGrade | null | Us old-timers are the hardest to drag out of old patterns. You won't have to have this conversation with the new-comers who learned them first instead of assembly.
I pity anyone doing UI without using lambdas, they are a great boon to usability.
| null | 0 | 1315597865 | False | 0 | c2iot39 | t3_ka4h8 | null | t1_c2iot39 | t1_c2iopt0 | null | 1427579644 | 3 | t5_2fwo | null | null | null |
True | majeric | null | > Inheritance normally implies getting functionality from the thing that you are.
Sure. I didn't say it was inheritance. I'm sorry if I gave that impression.... but interfaces do address the inherent problem of multiple inheritance. Being one who programs for a living in C++, multiple inheritance is a banned practi... | null | 0 | 1315597884 | False | 0 | c2iot6h | t3_ka4h8 | null | t1_c2iot6h | t1_c2ioofi | null | 1427579645 | 2 | t5_2fwo | null | null | null |
True | SuperGrade | null | > In this case, there are just some instinct that I have about lambda expressions that concern me in terms of usability.
Your instinct is fu__ing you, hard. I've never EVER heard this attitude from anyone who can wield first-class functions as part of their toolkit, it's absurd. Such a person is crippled if pushe... | null | 0 | 1315598069 | False | 0 | c2iou6j | t3_ka4h8 | null | t1_c2iou6j | t1_c2iopt0 | null | 1427579657 | 2 | t5_2fwo | null | null | null |
True | geodebug | null | > The vast majority of my frustrations are other people's code
Well, that's a problem with coding in general, no?
Actually, you could make a strong argument that if other people's code is your main pain point then Java is one of the best languages you can choose. Compared to many languages, Java has good sneeze... | null | 0 | 1315598069 | False | 0 | c2iou6k | t3_ka4h8 | null | t1_c2iou6k | t1_c2iohab | null | 1427579657 | 4 | t5_2fwo | null | null | null |
True | Unmitigated_Smut | null | If you reposted with permission of the author, I guess that's fine. I don't see a point in duplicating content, however.
> if it weren't for Java Code Geeks (republishing it and promoting it here) would you have read it?
I read it because there was a link on reddit. Hosting it on multiple sites makes absolutely n... | null | 0 | 1315598166 | False | 0 | c2iouo5 | t3_ka6ug | null | t1_c2iouo5 | t1_c2iolmq | null | 1427579660 | 3 | t5_2fwo | null | null | null |
True | randallb | null | Exactly. Why not just post the original link on reddit if you like it? | null | 0 | 1315598195 | False | 0 | c2iout7 | t3_ka6ug | null | t1_c2iout7 | t1_c2iouo5 | null | 1427579662 | 2 | t5_2fwo | null | null | null |
True | gasche | null | I think the "scope" you would like to return from would bind a delimited continuation¹ prompt, whose name you could use locally or pass to a function you call; instead of "return <value>" you would write "return <value> to <prompt>" (with possibly a stupid syntactic default like 'it' when no prompt is... | null | 0 | 1315598268 | False | 0 | c2iov6n | t3_k9h3s | null | t1_c2iov6n | t1_c2im3nq | null | 1427579668 | 1 | t5_2fwo | null | null | null |
True | majeric | null | I'm not going to discount my comfort zone but not convinced that all new ideas is a good idea. I keep hearing the "It's less verbose. It shortens syntax".
I'd note that Perl has some very short syntax. People *love* Perl because you can write an entire HTTP basic server in like 20 lines of code (I've seen it) but Perl... | null | 0 | 1315598298 | False | 0 | c2iovd0 | t3_ka4h8 | null | t1_c2iovd0 | t1_c2iot39 | null | 1427579670 | 2 | t5_2fwo | null | null | null |
True | masklinn | null | > Initializing a map:
Technically, you can use anonymous subclasses and instance initializers to intialize maps in a much cleaner way (though generics are still going to be your bane). And you'll face blank stares from half your colleagues.
It looks something like this:
Map<Integer, String> myMap = ... | null | 0 | 1315598330 | False | 0 | c2iovjh | t3_ka4h8 | null | t1_c2iovjh | t1_c2iomvb | null | 1427579672 | 7 | t5_2fwo | null | null | null |
True | baryluk | null | Hmm, this is actually interesting approach to interpret this data. | null | 0 | 1315598358 | False | 0 | c2iovol | t3_k8w37 | null | t1_c2iovol | t1_c2innie | null | 1427579673 | 2 | t5_2fwo | null | null | null |
True | majeric | null | > Short-syntax lambdas make problems that would go geometric in complexity otherwise go flat or linear.
Do you have a clear example of this? This is kind of what I'm asking about. Sincerely.
| null | 0 | 1315598400 | False | 0 | c2iovw9 | t3_ka4h8 | null | t1_c2iovw9 | t1_c2iou6j | null | 1427579675 | 2 | t5_2fwo | null | null | null |
True | stkerr | null | Is the joke that its a 404? | null | 0 | 1315598428 | False | 0 | c2iow1l | t3_k9rqy | null | t1_c2iow1l | t3_k9rqy | null | 1427579677 | 3 | t5_2fwo | null | null | null |
True | bwr | null | Why is everyone talking about java and lambdas? The article is about software rot. | null | 0 | 1315598497 | False | 0 | c2iowek | t3_ka4h8 | null | t1_c2iowek | t3_ka4h8 | null | 1427579682 | 1 | t5_2fwo | null | null | null |
True | lusion | null | I think he writes very good code and comments. It is a lot better than the horribleness I have to look at at work all day.
1. Most of this functions are quite short.
2. He is good at commenting intent. Not just saying what something is, but why he did it that way.
3. He strikes a good balance with respect to length o... | null | 0 | 1315598719 | False | 0 | c2ioxb5 | t3_k3un1 | null | t1_c2ioxb5 | t1_c2hrpgl | null | 1427579695 | 1 | t5_2fwo | null | null | null |
True | geodebug | null | > clear advantage to generics
See, one man's essential feature is another's bullshit extension that makes the language noisier for questionable gains.
While type safety is nice, historically ClassCastExceptions were very rare before generics..it just wasn't a common mistake to try to put stuff in a collection that... | null | 0 | 1315598721 | False | 0 | c2ioxc3 | t3_ka4h8 | null | t1_c2ioxc3 | t1_c2iojci | null | 1427579695 | 1 | t5_2fwo | null | null | null |
True | oddthink | null | I wouldn't say that it's "basically the same" as Python: since an application can maintain multiple Lua interpreter states, it's relatively easy to run each in a separate thread. In Python, since there's only a single global state, there's no way to make this work. (That I know of, at least.)
What I've done in the pas... | null | 0 | 1315598835 | False | 0 | c2ioy0i | t3_k9ud6 | null | t1_c2ioy0i | t1_c2img1p | null | 1427579709 | 4 | t5_2fwo | null | null | null |
True | weavejester | null | I guess you have a point there :) - whatever the technical merits of the language, the library and IDE support for Java is certainly amongst the best. Does that make up for the flaws in the language? Not in my case, but I can see how others might have different priorities (e.g. easy-to-use IDE is preferred over lambdas... | null | 0 | 1315598848 | False | 0 | c2ioy2t | t3_k56t1 | null | t1_c2ioy2t | t1_c2ibwd3 | null | 1427579710 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Yep, if you're mad enough to use US-International, the space bar would be as frequent as ", ', ~ and ` combined. | null | 0 | 1315598854 | False | 0 | c2ioy42 | t3_k8w37 | null | t1_c2ioy42 | t1_c2igscv | null | 1427579710 | 1 | t5_2fwo | null | null | null |
True | frezik | null | Also, for Java, why is ')' slightly hotter than '('? I would expect it to be even across pretty much every language. Only explanation I could think of would be hitting '0' more than '9', but why would Java require that more than other languages? If anything, using the hex '0xFF' for assigning to variables should be mor... | null | 0 | 1315598856 | False | 0 | c2ioy4l | t3_k8w37 | null | t1_c2ioy4l | t1_c2idubq | null | 1427579710 | 2 | t5_2fwo | null | null | null |
True | Tordek | null | Freelanced for a Spanish web shop.
They only do SVN.
On an ADSL connection with 256k up. | null | 0 | 1315598867 | False | 0 | c2ioy6r | t3_k9z9s | null | t1_c2ioy6r | t1_c2io8g7 | null | 1427579710 | 1 | t5_2fwo | null | null | null |
True | SuperGrade | null | I do but can't easily share it. Make a UI where you have buttons that make buttons where each has state. Have one level create the next level's buttons, and have each button influence some shared variable.
As you add each "level" it's more of a pain to proliferate the state. With closures, you change the shared st... | null | 0 | 1315598870 | False | 0 | c2ioy7a | t3_ka4h8 | null | t1_c2ioy7a | t1_c2iovw9 | null | 1427579710 | 1 | t5_2fwo | null | null | null |
True | Aninhumer | null | In addition to nowant's point, the Either monad is designed intending Left to be an error. Right values are passed through, and Left values are short-circuited. So if you use it the wrong way around you lose a lot of the benefit. | null | 0 | 1315598875 | False | 0 | c2ioy8g | t3_k9ud6 | null | t1_c2ioy8g | t1_c2il3bg | null | 1427579711 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | compared to `(),.=` not so much. | null | 0 | 1315598936 | False | 0 | c2ioykz | t3_k8w37 | null | t1_c2ioykz | t1_c2ikt9v | null | 1427579715 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | `long`
`class` | null | 0 | 1315598971 | False | 0 | c2ioyr9 | t3_k8w37 | null | t1_c2ioyr9 | t1_c2ilass | null | 1427579716 | 1 | t5_2fwo | null | null | null |
True | splidge | null | Worked locally with git or something else? Or worked locally with no version control whatsoever because committing with SVN is a pain?
I've worked in an environment where every change needed to take place on a feature branch and be code reviewed before going onto the trunk. This was significantly less efficient with... | null | 0 | 1315598997 | False | 0 | c2ioywr | t3_k7qvj | null | t1_c2ioywr | t1_c2idy1b | null | 1427579717 | 1 | t5_2fwo | null | null | null |
True | Terr_ | null | > I dare you. It will be huge.
I don't know Ruby or the inner mechanics of `each_line`, but I *assume* your four lines loosely translate to these "huuuuuuge" lines of Java:
#
List<String[]> rows = new LinkedList<String[]>(); // Or ArrayList. Depends.
for(String line : FileUtils.lineIterator(ne... | null | 0 | 1315599012 | True | 0 | c2ioyzn | t3_ka4h8 | null | t1_c2ioyzn | t1_c2ios3a | null | 1427579719 | 29 | t5_2fwo | null | null | null |
True | SuperGrade | null | >I'm not going to discount my comfort zone but not convinced that all new ideas is a good idea. I keep hearing the "It's less verbose. It shortens syntax".
Age of idea is irrelevant (although I think lambdas/lexical scope are from the late 70s in Scheme).
> I'd note that Perl has some very short syntax. People ... | null | 0 | 1315599017 | False | 0 | c2ioz0x | t3_ka4h8 | null | t1_c2ioz0x | t1_c2iovd0 | null | 1427579718 | 2 | t5_2fwo | null | null | null |
True | Pxtl | null | This.
I can understand throwing out the stack-unwinding feature of exceptions, and the exception type-system that basically shoehorns dynamic typing into static languages.
But the ability of a function to return a type that is not the expected type is a *fantastic* way to handle errors (among other problems). I tend... | null | 0 | 1315599051 | False | 0 | c2ioz7s | t3_k9ud6 | null | t1_c2ioz7s | t1_c2il0c9 | null | 1427579720 | 1 | t5_2fwo | null | null | null |
True | majeric | null | Maybe you're right. Maybe I'll start using them and get one of those Eureka moments and realize that it's not as complex as I am concerned it may be....
I know the one thing about Java Generics I had was "I wonder if I can limit the types of things that I can put in a container class so that I can garantee that what ... | null | 0 | 1315599172 | False | 0 | c2iozvg | t3_ka4h8 | null | t1_c2iozvg | t1_c2ioxc3 | null | 1427579738 | 2 | t5_2fwo | null | null | null |
True | Pxtl | null | Vs Lua? Lua is a dynamic language, which means that it will be slow and type-unsafe compared to Go. Plus, Lua has the abominable 1-based indexing. They're different tools for different jobs - Lua is *fantastic* if you're creating a platform where you need to embed a programming language that clients will use... even... | null | 0 | 1315599220 | False | 0 | c2ip04c | t3_k9ud6 | null | t1_c2ip04c | t1_c2ioq44 | null | 1427579732 | 1 | t5_2fwo | null | null | null |
True | steve_b | null | I've been working on a million+ line C++ project for the last 13 years, and we use a kludgy lambda substitute (really a closure substitute, but for the rest of this post let's just use lambda) provided by the code library we use (RogueWave's SourcePro). They're extremely handy for multithreaded programming where you w... | null | 0 | 1315599248 | False | 0 | c2ip09j | t3_ka4h8 | null | t1_c2ip09j | t1_c2iomfi | null | 1427579737 | 2 | t5_2fwo | null | null | null |
True | BeatLeJuce | null | You seem very convinced that you're right, yet offer neither counter-arguments to any of mine. I fail to see how any of my musings in my last post are hypotheticals. Since you still care about this discussion, feel free to educate me. | null | 0 | 1315599329 | False | 0 | c2ip0p5 | t3_k58pi | null | t1_c2ip0p5 | t1_c2imw8d | null | 1427579742 | 2 | t5_2fwo | null | null | null |
True | cameleon | null | This article describes what's usually called 'technical debt'. As a soltion, I've heard it suggested to have a period, say five weeks, of development, and then spend the sixth week refactoring and cleaning up. This way, you don't have to decide when the debt is too large; if you do that, you might postpone it until it'... | null | 0 | 1315599341 | False | 0 | c2ip0rs | t3_ka4h8 | null | t1_c2ip0rs | t3_ka4h8 | null | 1427579742 | 8 | t5_2fwo | null | null | null |
True | soAsian | null | I've worked with two older developers before. One won't learn new programming paradigm and still use VB6/MS Access. The other want to use Ruby for testing and he is from Perl land. | null | 0 | 1315599353 | True | 0 | c2ip0tw | t3_k5zns | null | t1_c2ip0tw | t1_c2il7ni | null | 1427579742 | 1 | t5_2fwo | null | null | null |
True | cr3ative | null | > the only conclusion I've drawn is that Marak is a somewhat unpleasant person
Hah, well, I have to give you credit for admitting that, having yourself admitted coming here just to investigate accusations. \*tips hat* | null | 0 | 1315599366 | False | 0 | c2ip0we | t3_k9rqy | null | t1_c2ip0we | t1_c2ioq2g | null | 1427579742 | 3 | t5_2fwo | null | null | null |
True | piranha | null | I voted you up, because that is what I was getting at. | null | 0 | 1315599416 | False | 0 | c2ip140 | t3_k9h3s | null | t1_c2ip140 | t1_c2imre7 | null | 1427579754 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | OK, I understand that, still, what happens when I return a lambda which invokes a return to some lexically enclosing scope? I mean, I understand what happens too, and how, but how is it useful, or, rather, more useful than treating returns as returning from the innermost function scope, anonymous or named?
Also, I wou... | null | 0 | 1315599433 | False | 0 | c2ip17q | t3_k9h3s | null | t1_c2ip17q | t1_c2iov6n | null | 1427579744 | 1 | t5_2fwo | null | null | null |
True | FearlessFreep | null | Actually, figuring out what version of python was available on the target platform should've been the first question the developer asked | null | 0 | 1315599461 | False | 0 | c2ip1cq | t3_ka4h8 | null | t1_c2ip1cq | t1_c2io0cm | null | 1427579755 | 6 | t5_2fwo | null | null | null |
True | mhd | null | Well "advantages" are in the eye of the beholder. For some static typing and being an imperative language are serious drawbacks compared to Erlang, for some it's the exact opposite.
I think by now there are probably more Go libraries (both native and bindings) than Lua Rocks. Lua still has to get over being seen as ju... | null | 0 | 1315599557 | False | 0 | c2ip1uh | t3_k9ud6 | null | t1_c2ip1uh | t1_c2ioq44 | null | 1427579763 | 3 | t5_2fwo | null | null | null |
True | Zarutian | null | The plane flies over you as you stand there uncomprehending. | null | 0 | 1315599750 | False | 0 | c2ip2v2 | t3_ka4h8 | null | t1_c2ip2v2 | t1_c2iogo8 | null | 1427579769 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315599843 | False | 0 | c2ip3bv | t3_kaf03 | null | t1_c2ip3bv | t3_kaf03 | null | 1427579774 | 1 | t5_2fwo | null | null | null |
True | SuperGrade | null | I'll give you the code of an aspect of the code in the UI I'm talking about that's hard to replicate (with classes).
All variables are state:
int a = ...
() => {
int b = ...
() => {
int c = ...
() => {
int d = ...
At each level the code can cr... | null | 0 | 1315599845 | True | 0 | c2ip3c4 | t3_ka4h8 | null | t1_c2ip3c4 | t1_c2iovw9 | null | 1427579774 | 3 | t5_2fwo | null | null | null |
True | SuperGrade | null | > This article describes what's usually called 'technical debt'.
Then I guess that makes Java the "technical Greece"
| null | 0 | 1315599986 | False | 0 | c2ip43l | t3_ka4h8 | null | t1_c2ip43l | t1_c2ip0rs | null | 1427579783 | 6 | t5_2fwo | null | null | null |
True | SuperGrade | null | I thought it was about haircare. | null | 0 | 1315600005 | False | 0 | c2ip472 | t3_ka4h8 | null | t1_c2ip472 | t1_c2iowek | null | 1427579788 | 3 | t5_2fwo | null | null | null |
True | ethraax | null | I understand that, I guess I thought arrays were value types (as they are in C, I *think*, although I'm double-guessing myself at this point...), but after thinking about it, it makes sense that they're reference types in Java. | null | 0 | 1315600038 | False | 0 | c2ip4e5 | t3_k9h3s | null | t1_c2ip4e5 | t1_c2iob66 | null | 1427579786 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | **JavaScript Game Development Tutorial (JavaScript)**
-----------------------------------------------------------
FTFY*
*Seriously, without JS 99% of the "kewl" things HTML5 "can do" couldn't be done. So it's not HTML5 that is worth getting excited about, it's plain ol' JS.* | null | 0 | 1315600043 | False | 0 | c2ip4f7 | t3_ka0qg | null | t1_c2ip4f7 | t3_ka0qg | null | 1427579787 | 4 | t5_2fwo | null | null | null |
True | Hackenslacker | null | ASCII:
ABCDEFG
2
3
4
5
This is a long sentence with, like, words and stuff.
Here are a few punctuation marks: ,.?'";:
0
1
2
3
4
5
6
7
8
9
Hexidecimal:
41 42 43 44 45 46 47 0A 32 0A 33 0A 34 0A 35 0A
54 68 69 73 20 69 73 20 61 20 6C 6F 6E 67... | null | 0 | 1315600051 | False | 0 | c2ip4gu | t3_k9akm | null | t1_c2ip4gu | t1_c2iml1v | null | 1427579787 | 1 | t5_2fwo | null | null | null |
True | tmhrtly | null | Yes: Google cache, not sure how recent it was, and how much content it incorporates: http://webcache.googleusercontent.com/search?sourceid=chrome&ie=UTF-8&q=cache%3Ahttps%3A%2F%2Fgithub.com%2FMarak%2Fnode_mailer%2Fpull%2F46 | null | 0 | 1315600073 | False | 0 | c2ip4kq | t3_k9rqy | null | t1_c2ip4kq | t1_c2il1di | null | 1427579799 | 2 | t5_2fwo | null | null | null |
True | SuperGrade | null | Being able to replicate what you're doing now is the simplest case used to convey the feature to the layman. Nested, they let you express solutions you would normally avoid.
Even if code completion could autogenen all the code that would give you what a closure can do (doubt it could deduce such a thing), you still h... | null | 0 | 1315600177 | False | 0 | c2ip55k | t3_ka4h8 | null | t1_c2ip55k | t1_c2iomxe | null | 1427579796 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315600183 | True | 0 | c2ip56n | t3_k9z9s | null | t1_c2ip56n | t1_c2in30y | null | 1427579797 | 2 | t5_2fwo | null | null | null |
True | ethraax | null | Keyboards don't belong to a specific OS. All keyboards are OS agnostic, except maybe for some obscure macro features that require OS support. | null | 0 | 1315600238 | False | 0 | c2ip5gq | t3_k8w37 | null | t1_c2ip5gq | t1_c2ihv67 | null | 1427579810 | 1 | t5_2fwo | null | null | null |
True | GeorgeForemanGrillz | null | I love the analogy. Java is a complete piece of shit and I am glad I don't have to touch it in my professional career.
| null | 0 | 1315600248 | False | 0 | c2ip5iy | t3_ka4h8 | null | t1_c2ip5iy | t3_ka4h8 | null | 1427579802 | -11 | t5_2fwo | null | null | null |
True | ethraax | null | C-[, dd | null | 0 | 1315600306 | False | 0 | c2ip5uq | t3_k8w37 | null | t1_c2ip5uq | t1_c2ifpuy | null | 1427579805 | 1 | t5_2fwo | null | null | null |
True | GeorgeForemanGrillz | null | Apple made a significant backwards compatibility break with OS 9 to OS X and it affected a bigger user base but they were able to pull it off.
| null | 0 | 1315600335 | False | 0 | c2ip60s | t3_ka4h8 | null | t1_c2ip60s | t1_c2inmfi | null | 1427579808 | 7 | t5_2fwo | null | null | null |
True | GeorgeForemanGrillz | null | > Lowered-barrier CS programs have put tons of developers into the industry that never had to learn pointers, functional programming, or other "hard" topics. These people write Java. For a lot of developers, that's what programming is.
And this is why I work with idiots and it's hard to find good help. | null | 0 | 1315600443 | False | 0 | c2ip6k0 | t3_ka4h8 | null | t1_c2ip6k0 | t1_c2inz4i | null | 1427579815 | 0 | t5_2fwo | null | null | null |
True | GeorgeForemanGrillz | null | > I wouldn't be surprised if it ran a lot faster than the Ruby version.
It doesn't even for large CSV file. In fact in my own benchmark the Ruby version ran faster. | null | 0 | 1315600583 | False | 0 | c2ip77s | t3_ka4h8 | null | t1_c2ip77s | t1_c2ioyzn | null | 1427579824 | 3 | t5_2fwo | null | null | null |
True | mariox19 | null | > the incompetent seeker applies to hundreds of jobs before he finds one
You may be overestimating the tenacity of your average "incompetent" job seeker. In any case, I think we can agree to disagree. | null | 0 | 1315600666 | False | 0 | c2ip7mv | t3_k9wry | null | t1_c2ip7mv | t1_c2iosge | null | 1427579829 | 1 | t5_2fwo | null | null | null |
True | GeorgeForemanGrillz | null | It's also owned by Whoracle now. Fuck those guys! | null | 0 | 1315600711 | False | 0 | c2ip7v6 | t3_ka4h8 | null | t1_c2ip7v6 | t1_c2io0pj | null | 1427579832 | 1 | t5_2fwo | null | null | null |
True | grelphy | null | People *do* love smiley faces. What's with that? A smiley face can make the most mean-spirited putdown seem altogether amiable. =) | null | 0 | 1315600812 | False | 0 | c2ip8fh | t3_k9rqy | null | t1_c2ip8fh | t1_c2ilfce | null | 1427579849 | 6 | t5_2fwo | null | null | null |
True | Terr_ | null | 1. Is the ruby code supposed to be loading everything at once, or stream its way through the file? (I'll make an edit related to this.)
2. Is your benchmark including JVM startup time, or only the code block itself? | null | 0 | 1315600843 | True | 0 | c2ip8lh | t3_ka4h8 | null | t1_c2ip8lh | t1_c2ip77s | null | 1427579841 | 1 | t5_2fwo | null | null | null |
True | Dwarf_Vader | null | Yep, and though you are right, I got just what I needed from this version. Thanks again man :) | null | 0 | 1315600872 | False | 0 | c2ip8r6 | t3_ka3gd | null | t1_c2ip8r6 | t1_c2ioq82 | null | 1427579844 | 1 | t5_2fwo | null | null | null |
True | nick_giudici | null | That's a great example. If apple was still on tech based on OS 9 they would be dead. Java needs to to learn a lesson or two from OSX :-) | null | 0 | 1315600884 | False | 0 | c2ip8td | t3_ka4h8 | null | t1_c2ip8td | t1_c2ip60s | null | 1427579846 | 2 | t5_2fwo | null | null | null |
True | vintermann | null | > One thing that isn't explained to the new users:
> The whole point of Vim is to keep both of your hands on the keyboard at all times.
Really? Because that's all I hear about vim. Oh, it's so hard, it has elegant, pre-standardized shortcuts for everything on the home row!
Xerox PARC weren't just dogmatic, you... | null | 0 | 1315600890 | False | 0 | c2ip8um | t3_k9akm | null | t1_c2ip8um | t1_c2ii4jb | null | 1427579846 | 2 | t5_2fwo | null | null | null |
True | 9babydill | null | this overwhelms me | null | 0 | 1315600895 | False | 0 | c2ip8vs | t3_k9akm | null | t1_c2ip8vs | t3_k9akm | null | 1427579846 | 1 | t5_2fwo | null | null | null |
True | beef_wellington_ | null | > I've decided to preemptively block you on Github.
> Try not to take it personally, but some of us have real work to do.
LOL. I think I'm starting to understand why soo many people dislike Marak.
Although after reading this whole thread, I think I'm fan. :-D | null | 0 | 1315600918 | False | 0 | c2ip8zu | t3_k9rqy | null | t1_c2ip8zu | t1_c2ip4kq | null | 1427579848 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | What is really wrong with Unity? And you can use another desktop if you want! | null | 0 | 1315601052 | False | 0 | c2ip9o7 | t3_k9u45 | null | t1_c2ip9o7 | t1_c2imi38 | null | 1427579863 | 2 | t5_2fwo | null | null | null |
True | mamaBiskothu | null | Thats actually not bad at all! All the functions are in Matlab, but this seems a little more "easier" to do! | null | 0 | 1315601088 | False | 0 | c2ip9wg | t3_ka5os | null | t1_c2ip9wg | t3_ka5os | null | 1427579860 | 4 | t5_2fwo | null | null | null |
True | NitWit005 | null | > You can fake this by creating an interface with a single run method and then using anon inner classes, but that ends up being more noise than doing it the old way.
That's not faking it. That's doing it. The only gain lambdas get you is that you don't have to type out the basic Runnable interface.
And if you care... | null | 0 | 1315601095 | False | 0 | c2ip9xr | t3_ka4h8 | null | t1_c2ip9xr | t1_c2io2oz | null | 1427579860 | 1 | 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.