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 | StrangeWill | null | Err, it's a project _I'm_ working on, not the guy in the article, and how business software development usually can be "painfully slow" and people don't notice (or care at least) till you try to scale it. | null | 0 | 1318942087 | False | 0 | c2sf4j7 | t3_lcoln | null | t1_c2sf4j7 | t1_c2sdtta | null | 1427747846 | 1 | t5_2fwo | null | null | null |
True | TheWix | null | If you consider [SOLID](http://en.wikipedia.org/wiki/SOLID_\(object-oriented_design\)) to be principles of good OO Programming then it kinda is now. DI is one of the main ways Dependency Inversion is accomplished today. | null | 0 | 1318942143 | False | 0 | c2sf4p5 | t3_lf1px | null | t1_c2sf4p5 | t1_c2sedha | null | 1427747848 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Given enough time and an infinitely long tape, I can do anything! | null | 0 | 1318942147 | False | 0 | c2sf4pn | t3_ld22x | null | t1_c2sf4pn | t1_c2rp4wf | null | 1427747848 | 1 | t5_2fwo | null | null | null |
True | trezor2 | null | I see a MVC framework with XML-based view-definitions and java-syntax data-binding.
Not sure what submitter sees, besides the ability to go "look! XML! lol!". Weak submission to say the least. | null | 0 | 1318942221 | False | 0 | c2sf4xk | t3_lg661 | null | t1_c2sf4xk | t3_lg661 | null | 1427747851 | 0 | t5_2fwo | null | null | null |
True | mitsuhiko | null | First of all:
> Or are you just being an asshole?
No. :-)
> It's been a while since I've worked in java but isn't this because java strings are mutable objects while .net strings are immutable value types?
* Java strings are indeed immutable just like C# strings
* If an object is mutable or not does not have ... | null | 0 | 1318942231 | False | 0 | c2sf4yk | t3_lg1xx | null | t1_c2sf4yk | t1_c2sf3f5 | null | 1427747851 | 7 | t5_2fwo | null | null | null |
True | rDr4g0n | null | I'm putting off refactoring a couple of messy methods and I ran across this post. Not sure if I am excited about the information or sad because it reminded me that I should be working... | null | 0 | 1318942294 | False | 0 | c2sf54z | t3_lg6ms | null | t1_c2sf54z | t3_lg6ms | null | 1427747854 | 8 | t5_2fwo | null | null | null |
True | captain-asshat | null | Oh sorry, I read your reply as if you worked with the guy in the article.
:) | null | 0 | 1318942316 | False | 0 | c2sf57f | t3_lcoln | null | t1_c2sf57f | t1_c2sf4j7 | null | 1427747854 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | this is WebGL | null | 0 | 1318942323 | False | 0 | c2sf589 | t3_lg6zg | null | t1_c2sf589 | t3_lg6zg | null | 1427747855 | 22 | t5_2fwo | null | null | null |
True | mm23 | null | Also checkout [.NET Book Zero](http://www.charlespetzold.com/dotnet/) by Charles Petzold. | null | 0 | 1318942374 | False | 0 | c2sf5d0 | t3_lg1xx | null | t1_c2sf5d0 | t3_lg1xx | null | 1427747857 | 2 | t5_2fwo | null | null | null |
True | lukeatron | null | Gotcha.
A while ago I was talking to a friend of a friend who was a fresh out of college CS major. He spent quite a while trying to explain to me what a mistake it is to be working in .net rather than java because it's all controlled by Microsoft's arbitrary decisions. All I could do was chuckle at the strength of h... | null | 0 | 1318942457 | False | 0 | c2sf5l3 | t3_lg1xx | null | t1_c2sf5l3 | t1_c2sf3vz | null | 1427747860 | 4 | t5_2fwo | null | null | null |
True | craklyn | null | This comment ended similarly to how my college instructor explained Java, except he also blamed magic. | null | 0 | 1318942607 | False | 0 | c2sf60x | t3_lg1xx | null | t1_c2sf60x | t1_c2sf3vz | null | 1427747865 | 10 | t5_2fwo | null | null | null |
True | Legolas-the-elf | null | It's perfectly acceptable. Many other formats give fatal errors when corrupted.
The problem with Postel's Law is that it's all or nothing. It's supposed to be applied at both ends. Applying it to only one end leads to the tragedy of the commons that we've seen in HTML parsing.
And then people hold it up as proof t... | null | 0 | 1318942630 | False | 0 | c2sf63d | t3_ld753 | null | t1_c2sf63d | t1_c2s05ib | null | 1427747866 | 1 | t5_2fwo | null | null | null |
True | lukeatron | null | Thanks. That's actually a useful reply as opposed to your earlier effort. | null | 0 | 1318942671 | False | 0 | c2sf67b | t3_lg1xx | null | t1_c2sf67b | t1_c2sf4yk | null | 1427747873 | 1 | t5_2fwo | null | null | null |
True | sztomi | null | I know that C# generics are substituted at runtime, but besides executable size, what makes them better than C++ templates? | null | 0 | 1318942798 | False | 0 | c2sf6kq | t3_lg1xx | null | t1_c2sf6kq | t1_c2sf3di | null | 1427747872 | 2 | t5_2fwo | null | null | null |
True | fgriglesnickerseven | null | In the next article he will explain why A*B = NULL after you smash your computer with a hammer | null | 0 | 1318942802 | False | 0 | c2sf6l6 | t3_lg59j | null | t1_c2sf6l6 | t1_c2senlx | null | 1427747872 | 19 | t5_2fwo | null | null | null |
True | joesb | null | You can see the indentation. If you can't see it, then you won't know that Haskell use it. | null | 0 | 1318942904 | False | 0 | c2sf6vo | t3_lfm1k | null | t1_c2sf6vo | t1_c2scngj | null | 1427747878 | 2 | t5_2fwo | null | null | null |
True | mastekoppa | null | This is awesome. Can't wait to see what the future web will hold! | null | 0 | 1318942931 | False | 0 | c2sf6yi | t3_lg6zg | null | t1_c2sf6yi | t3_lg6zg | null | 1427747879 | 5 | t5_2fwo | null | null | null |
True | Timmmmbob | null | It forces K&R style braces, and you can't easily split statements onto multiple lines. Or at least it is confusing—you have to remember to do this:
a := b +
c
and not this:
a := b
+ c
| null | 0 | 1318943011 | False | 0 | c2sf77s | t3_lfm1k | null | t1_c2sf77s | t1_c2sf43g | null | 1427747883 | 1 | t5_2fwo | null | null | null |
True | TheWix | null | I think the problem is people confusing DI with IoC containers. | null | 0 | 1318943044 | False | 0 | c2sf7b2 | t3_lf1px | null | t1_c2sf7b2 | t1_c2s8emk | null | 1427747883 | 2 | t5_2fwo | null | null | null |
True | uriel | null | > Implicit semicolons.
This is *not* a problem in Go (just like it isn't a problem in Python and many other languages), only really botched and broken implementations of this like JavaScript have problems.
After you have written some Go having to type ; in C and Java is annoying, and the line-noise they add to cod... | null | 0 | 1318943112 | False | 0 | c2sf7jc | t3_lfm1k | null | t1_c2sf7jc | t1_c2sepn5 | null | 1427747885 | 2 | t5_2fwo | null | null | null |
True | uriel | null | Probably because JavaScript's broken way to do this has given it a bad name. It is not a problem at all in Go and many other languages. | null | 0 | 1318943153 | False | 0 | c2sf7o8 | t3_lfm1k | null | t1_c2sf7o8 | t1_c2sf43g | null | 1427747886 | 1 | t5_2fwo | null | null | null |
True | foreheadteeth | null | Although these array languages are not very widely used now, we have learned many lessons and there are many similar languages that are very widely used now, like MATLAB and python+scipy.
| null | 0 | 1318943177 | False | 0 | c2sf7qf | t3_lg5ri | null | t1_c2sf7qf | t3_lg5ri | null | 1427747887 | 6 | t5_2fwo | null | null | null |
True | sclv | null | Clarification accepted :-) | null | 0 | 1318943260 | False | 0 | c2sf7zk | t3_lfm1k | null | t1_c2sf7zk | t1_c2scabb | null | 1427747891 | 4 | t5_2fwo | null | null | null |
True | przemo_li | null | You seem to have some expearience with MS products but you still do not know that you should not follow MS naming.
XNA for Xbox is one thing and have one set of features. XNA for Windows (as desktop OS), do not exist (but I may be wrong). XNA for Winsow Phone 7 is limited by HWD, so you will have to still make 2 versi... | null | 0 | 1318943272 | False | 0 | c2sf80k | t3_l579f | null | t1_c2sf80k | t1_c2ronoe | null | 1427747891 | 0 | t5_2fwo | null | null | null |
True | __j_random_hacker | null | Name lookup is extremely complicated in C++. This makes life hard for the people who have to write IntelliSense. [A bit more detail here](http://www.reddit.com/r/programming/comments/kvo92/fired_because_my_code_was_too_good_all_the_rest/c2nqw2i). | null | 0 | 1318943338 | False | 0 | c2sf883 | t3_lg1xx | null | t1_c2sf883 | t1_c2serkp | null | 1427747894 | 11 | t5_2fwo | null | null | null |
True | Timmmmbob | null | Actually I don't think we'd need to modify QtCreator anyway, most of the extra stuff we wouldn't want is in plugins which can be disabled, and any extra stuff could be another plugin.
The project template is so that you can go File->New Project->Arduino Project... | null | 0 | 1318943505 | False | 0 | c2sf8rd | t3_lf57z | null | t1_c2sf8rd | t1_c2sepbe | null | 1427747908 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318943592 | False | 0 | c2sf91b | t3_lg661 | null | t1_c2sf91b | t1_c2sesac | null | 1427747904 | 1 | t5_2fwo | null | null | null |
True | Buzzard | null | All good here with Chrome (14.0.835.202) / Windows7 | null | 0 | 1318943783 | False | 0 | c2sf9mp | t3_lg6zg | null | t1_c2sf9mp | t1_c2sez08 | null | 1427747912 | 5 | t5_2fwo | null | null | null |
True | lukeatron | null | It can potentially cause problems down the inheritance line if the expected behavior changes drastically and the method is being used in ways that expect certain things to happen. Typically you'll see these problems arise when the method is called from a base class constructor and the derived override of the method do... | null | 0 | 1318943939 | False | 0 | c2sfa46 | t3_lg1xx | null | t1_c2sfa46 | t1_c2sf28h | null | 1427747919 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318943958 | False | 0 | c2sfa6j | t3_lg1xx | null | t1_c2sfa6j | t3_lg1xx | null | 1427747920 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | Yeah, but while MATLAB may have nice libraries for some things (like plotting), it's an abomination of a language. For example, if `foo()` returns an array (matrix) and you want the first value, you can't use `foo()(1)` - that's a syntax error. | null | 0 | 1318944282 | False | 0 | c2sfbbm | t3_lg5ri | null | t1_c2sfbbm | t1_c2sf7qf | null | 1428192140 | 13 | t5_2fwo | null | null | null |
True | ais523 | null | Not quite completely useless, if you keep a stdin.c around for when you quickly want to run very short C programs typed in at the terminal. (It's a little easier than creating a separate file for the purpose and compiling that.)
However, probably a better way to do it with gcc is
gcc -x c /dev/stdin
(insert other... | null | 0 | 1318944335 | False | 0 | c2sfbi7 | t3_lc090 | null | t1_c2sfbi7 | t1_c2rmyka | null | 1427747936 | 1 | t5_2fwo | null | null | null |
True | dessmond | null | It worked fine with wget, though. | null | 0 | 1318944350 | False | 0 | c2sfbkb | t3_lg1xx | null | t1_c2sfbkb | t1_c2sezbs | null | 1427747937 | 3 | t5_2fwo | null | null | null |
True | ais523 | null | Warning: this doesn't actually work in theory, only in practice. (Occasionally it doesn't work in practice either, if your stacks end up colliding or you're on a weird architecture.) | null | 0 | 1318944397 | False | 0 | c2sfbqw | t3_lc090 | null | t1_c2sfbqw | t1_c2ri57f | null | 1427747939 | 0 | t5_2fwo | null | null | null |
True | randomguy12123 | null | Also [Processing.JS](http://processingjs.org/) if you're too lazy to learn Canvas and already know Processing in Java. | null | 0 | 1318944562 | False | 0 | c2sfcc8 | t3_lfvr3 | null | t1_c2sfcc8 | t3_lfvr3 | null | 1427747949 | 3 | t5_2fwo | null | null | null |
True | deong | null | It's also the only sound they're able to make after being brained with a brick by a coworker who was tired of debugging negative values assigned to unsigned ints. | null | 0 | 1318944572 | False | 0 | c2sfcd9 | t3_lg59j | null | t1_c2sfcd9 | t1_c2set3o | null | 1427747949 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318944609 | True | 0 | c2sfcil | t3_lg1xx | null | t1_c2sfcil | t1_c2sf6kq | null | 1427747952 | 1 | t5_2fwo | null | null | null |
True | Akira71 | null | I really felt like the information was more or less formatted to drive you to get the book rather than provide helpful information on the site.. too much of an advertisement for me. You can find better pattern/anti-pattern on wikipedia. | null | 0 | 1318944750 | False | 0 | c2sfcze | t3_lg6ms | null | t1_c2sfcze | t3_lg6ms | null | 1427747957 | 36 | t5_2fwo | null | null | null |
True | fabzter | null | I include myself in such group. | null | 0 | 1318944798 | False | 0 | c2sfd5g | t3_lf2w2 | null | t1_c2sfd5g | t1_c2s6ofm | null | 1427747959 | 2 | t5_2fwo | null | null | null |
True | Liorithiel | null | Shorter != more legible. But yes, they could find a better example... | null | 0 | 1318944804 | False | 0 | c2sfd6a | t3_lg1xx | null | t1_c2sfd6a | t1_c2sf45y | null | 1427747960 | 7 | t5_2fwo | null | null | null |
True | sltkr | null | It doesn't mandate a poor implementation, but there are two indications that rand() isn't supposed to be a high-quality random number generator.
First, srand() takes an unsigned integer, which means that the initial state could be seeded with no more than 16 bits of data on some platforms.
Second, the standard contai... | null | 0 | 1318944856 | False | 0 | c2sfdck | t3_lfsfk | null | t1_c2sfdck | t1_c2se34k | null | 1427747967 | 10 | t5_2fwo | null | null | null |
True | NOT_AN_ALIEN | null | Whatever MSIE allows. | null | 0 | 1318944859 | False | 0 | c2sfdcp | t3_lg6zg | null | t1_c2sfdcp | t1_c2sf6yi | null | 1427747967 | 13 | t5_2fwo | null | null | null |
True | __j_random_hacker | null | Clear, good examples, feels unbiased (mentions both strengths and weaknesses of C#), short enough for this C++ programmer to pick up the absolute basics quickly. Also I always think it's a classy touch for an author to call out the fact that they get a kickback if you buy a book after clicking their link.
Very nice, ... | null | 0 | 1318944885 | False | 0 | c2sfdgl | t3_lg1xx | null | t1_c2sfdgl | t3_lg1xx | null | 1427747962 | 4 | t5_2fwo | null | null | null |
True | AeroNotix | null | Ah, I was more meaning a standalone application rather than something embedded into something else. | null | 0 | 1318944941 | False | 0 | c2sfdn0 | t3_lf57z | null | t1_c2sfdn0 | t1_c2sf8rd | null | 1427747964 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | `==` is reference comparison on *all* objects in Java, right? Strings are objects, so what's the problem? | null | 0 | 1318945073 | False | 0 | c2sfe46 | t3_lg1xx | null | t1_c2sfe46 | t1_c2sf3vz | null | 1427747973 | 1 | t5_2fwo | null | null | null |
True | sltkr | null | > Not to mention the solution (run rand() till you get a number in range) presented has no upper bound on its complexity.
This generally isn't true for pseudo-random generators which are bound to cycle through a fixed sequence of numbers anyway. That guarantees that quickly enough you will hit a number in the requi... | null | 0 | 1318945106 | False | 0 | c2sfe8c | t3_lfsfk | null | t1_c2sfe8c | t1_c2sdurs | null | 1427747972 | 2 | t5_2fwo | null | null | null |
True | GMTao | null | Thanks, this does lend itself to my initial conclusion regarding DI. After starting to play with functional programming (Clojure initially, then Scala since) I can definitely see your point regarding FP vs DI. I'd rather go with FP, simply because the code is cleaner and you don't need to look into a new framework th... | null | 0 | 1318945275 | False | 0 | c2sfesp | t3_lf1px | null | t1_c2sfesp | t1_c2sev9a | null | 1427747980 | 2 | t5_2fwo | null | null | null |
True | __j_random_hacker | null | For now... But it's entirely possible that some as-yet undiscovered template metaprogramming trick (possibly involving an overloaded `operator,()`) will yield a hideously deformed, yet undeniably functioning sense of humour... *at compile time!* | null | 0 | 1318945292 | False | 0 | c2sfew1 | t3_lg1xx | null | t1_c2sfew1 | t1_c2sf3di | null | 1427747990 | 11 | t5_2fwo | null | null | null |
True | particular2 | null | Yes, "correct" does that sometimes. | null | 0 | 1318945296 | False | 0 | c2sfewe | t3_lfsfk | null | t1_c2sfewe | t1_c2sev07 | null | 1427747990 | 2 | t5_2fwo | null | null | null |
True | TacticalJoke | null | >.net strings are immutable value types
They are immutable **reference** types, not value types.
For more info, see [Strings in C# and .NET](http://csharpindepth.com/Articles/General/Strings.aspx). | null | 0 | 1318945308 | False | 0 | c2sfeyf | t3_lg1xx | null | t1_c2sfeyf | t1_c2sf0a8 | null | 1427747990 | 5 | t5_2fwo | null | null | null |
True | mikankun | null | Well this gave me a good laugh for the morning. | null | 0 | 1318945625 | False | 0 | c2sfg6m | t3_lg59j | null | t1_c2sfg6m | t3_lg59j | null | 1427748004 | 2 | t5_2fwo | null | null | null |
True | websnarf | null | This article is a poor approximation of [my own from about seven years ago](http://www.azillionmonkeys.com/qed/random.html). | null | 0 | 1318945731 | False | 0 | c2sfgks | t3_lfsfk | null | t1_c2sfgks | t3_lfsfk | null | 1427748009 | 1 | t5_2fwo | null | null | null |
True | aphoenix | null | Ninjedit: Not only do I see what you are saying, but I 95% agree. The rest of my comment is about that 5%.
I see what you're saying, but I also thought it was quite well laid out, at least in the antipatterns section. Each page had the minimum amount of information necessary to get you to the next page, which suited m... | null | 0 | 1318945830 | False | 0 | c2sfgyh | t3_lg6ms | null | t1_c2sfgyh | t1_c2sfcze | null | 1427748016 | 9 | t5_2fwo | null | null | null |
True | smors | null | == on Strings is almost never a good idea in java. It is fairly easy to get two separate String objects containing the same sequence of characters. The following program prints
true
false
public class StringFoo {
public static void main(String[] args) {
String s1 = "foobar";
Stri... | null | 0 | 1318945835 | False | 0 | c2sfgz8 | t3_lg1xx | null | t1_c2sfgz8 | t1_c2sfe46 | null | 1427748016 | 8 | t5_2fwo | null | null | null |
True | jrue | null | You should check out [Guice](http://code.google.com/p/google-guice/), which is an excellent alternative to Spring and uses Java code (not Strings) to configure bindings. Although I think Spring can also be configured via Java instead of just xml now... | null | 0 | 1318945951 | False | 0 | c2sfhgm | t3_lf1px | null | t1_c2sfhgm | t1_c2s5h6e | null | 1427748018 | 2 | t5_2fwo | null | null | null |
True | FlySwat | null | Strings being immutable, will cause == to always return false*, which is counter-intuitive.
* Except for situations like string literal inlining, and const comparisons.
| null | 0 | 1318945954 | False | 0 | c2sfhgx | t3_lg1xx | null | t1_c2sfhgx | t1_c2sfe46 | null | 1427748018 | 5 | t5_2fwo | null | null | null |
True | MarshallBanana | null | Oh, for sure. It's just amusing how it goes against the regular usage of syntactic sugar. | null | 0 | 1318946040 | False | 0 | c2sfhsz | t3_lg1xx | null | t1_c2sfhsz | t1_c2sfd6a | null | 1427748023 | 1 | t5_2fwo | null | null | null |
True | nanothief | null | Haskell has mechanisms to deal with the bottom four conditions. It doesn't remove them entirely, but does more than most other languages
Math errors are reduced by having a very strict system of handling types. You can only add a double to a double, or an Integer to an Integer. This is annoying at first, but it preven... | null | 0 | 1318946105 | False | 0 | c2sfi1k | t3_lfm1k | null | t1_c2sfi1k | t1_c2se7zn | null | 1427748023 | 12 | t5_2fwo | null | null | null |
True | NoHandle | null | Depends. I'd take 5 lines of succinct query expressions over 30 lines of LINQ expressions any day. I find them easier to read and the succinctness makes them easier to understand over a shorter period of time. | null | 0 | 1318946132 | False | 0 | c2sfi5s | t3_lg1xx | null | t1_c2sfi5s | t1_c2sfd6a | null | 1427748024 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | main = getNumber >>= giveFact
where getNumber = putStrLn "enter a number: " >> read <$> getLine
giveFact n = putStrLn $ "fact: " ++ show (fact n)
That wasn't so bad! | null | 0 | 1318946140 | True | 0 | c2sfi71 | t3_lfm1k | null | t1_c2sfi71 | t1_c2sf1fn | null | 1427748025 | 4 | t5_2fwo | null | null | null |
True | chonglibloodsport | null | Thanks. I totally hadn't realized that. | null | 0 | 1318946254 | False | 0 | c2sfimk | t3_lfm1k | null | t1_c2sfimk | t1_c2sf16u | null | 1427748029 | 2 | t5_2fwo | null | null | null |
True | attrition0 | null | I think the site is pretty useful when you're in the state of 'unconscious incompetence', when you don't know you don't know something useful. You can quickly browse through to something new, if it seems appealing you can then research it more deeply elsewhere. I'd probably use Wikipedia rather than actually purchase t... | null | 0 | 1318946332 | False | 0 | c2sfixf | t3_lg6ms | null | t1_c2sfixf | t1_c2sfgyh | null | 1427748033 | 7 | t5_2fwo | null | null | null |
True | FlySwat | null | String s1 and s2 are only equal because they are literal constants and are inlined by the compiler.
| null | 0 | 1318946476 | False | 0 | c2sfji2 | t3_lg1xx | null | t1_c2sfji2 | t1_c2sfgz8 | null | 1427748042 | 4 | t5_2fwo | null | null | null |
True | jrue | null | >* make instantiation of things a little easier to understand
I definitely agree that there is a *huge* learning curve for DI frameworks, but I think once you've gotten past that, they make a lot of sense. When I encountered my first codebase that used a DI framework, I wanted to throw it out the window, but now I ... | null | 0 | 1318946500 | False | 0 | c2sfjl7 | t3_lf1px | null | t1_c2sfjl7 | t1_c2sa5hy | null | 1427748042 | 4 | t5_2fwo | null | null | null |
True | scavic | null | There is a book? Quite bad advertisement in that case, because I didn't see a single reference to any book, despite reading at least a couple of pages. | null | 0 | 1318946545 | False | 0 | c2sfjrv | t3_lg6ms | null | t1_c2sfjrv | t1_c2sfcze | null | 1427748044 | 20 | t5_2fwo | null | null | null |
True | kannibal | null | Your friend is not a lone voice
http://www.i-programmer.info/news/99-professional/3163-net-programmers-in-demand.html | null | 0 | 1318946548 | False | 0 | c2sfjsb | t3_lg1xx | null | t1_c2sfjsb | t1_c2sf5l3 | null | 1427748044 | 1 | t5_2fwo | null | null | null |
True | TKN | null | To be fair, Haskell is very good at telling you the _type_ of the error you made. Now deciphering what actually caused it can be harder.
>Sometimes it took upwards of an hour to find the one character that I misplaced.
I once innocently added one argument to a function and forgot to update the call sites. This of ... | null | 0 | 1318946610 | False | 0 | c2sfk0y | t3_lfm1k | null | t1_c2sfk0y | t1_c2sdgja | null | 1427748048 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | Where should I go to find out how to optimize Haskell programs? | null | 0 | 1318946731 | False | 0 | c2sfkj9 | t3_lfm1k | null | t1_c2sfkj9 | t1_c2sec95 | null | 1427748054 | 5 | t5_2fwo | null | null | null |
True | tau-lepton | null | Refactor early and often. | null | 0 | 1318946801 | False | 0 | c2sfktr | t3_lg6ms | null | t1_c2sfktr | t1_c2sf54z | null | 1427748069 | 6 | t5_2fwo | null | null | null |
True | rDr4g0n | null | *stops refactoring to reply to this comment* | null | 0 | 1318946868 | False | 0 | c2sfl37 | t3_lg6ms | null | t1_c2sfl37 | t1_c2sfktr | null | 1427748061 | 4 | t5_2fwo | null | null | null |
True | jevon | null | Site under maintenance! | null | 0 | 1318946906 | False | 0 | c2sfl8w | t3_lg6ms | null | t1_c2sfl8w | t3_lg6ms | null | 1427748064 | 14 | t5_2fwo | null | null | null |
True | rkenned | null | Apparently I fail at reading comprehension. My apologies. | null | 0 | 1318946998 | False | 0 | c2sflmb | t3_lf1px | null | t1_c2sflmb | t1_c2se8k9 | null | 1427748069 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318947013 | False | 0 | c2sflok | t3_lfblq | null | t1_c2sflok | t1_c2se1nr | null | 1428192136 | 3 | t5_2fwo | null | null | null |
True | ghp9170 | null | The Gang of Four book is pretty dry compared to this. After reading a few of the design patterns on this site, I found it was easier to understand then the GoF. Once I read the design pattern on the site I went back to the GoF and re-read the chapter to fully understand. The book itself has much more description in it ... | null | 0 | 1318947108 | False | 0 | c2sfm1h | t3_lg6ms | null | t1_c2sfm1h | t3_lg6ms | null | 1427748074 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318947145 | False | 0 | c2sfm7z | t3_lf1px | null | t1_c2sfm7z | t1_c2sedha | null | 1427748077 | 1 | t5_2fwo | null | null | null |
True | Smallpaul | null | Performance is seldom the only thing you care about. | null | 0 | 1318947261 | False | 0 | c2sfmoc | t3_lfm1k | null | t1_c2sfmoc | t1_c2sf33c | null | 1427748082 | 2 | t5_2fwo | null | null | null |
True | lukeatron | null | You are correct, with some caveats explained in the link. In some contexts, like when reflecting on static fields and such, string values are treated like they're value types unless they're explicitly boxed up (which is what I've been doing a lot of lately, hence my thinking). At one point I knew the reason for this,... | null | 0 | 1318947280 | False | 0 | c2sfmqp | t3_lg1xx | null | t1_c2sfmqp | t1_c2sfeyf | null | 1427748083 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318947310 | False | 0 | c2sfmwb | t3_lf1px | null | t1_c2sfmwb | t1_c2seyu6 | null | 1427748086 | 0 | t5_2fwo | null | null | null |
True | MarshallBanana | null | Where I come from we call that "programming". | null | 0 | 1318947339 | False | 0 | c2sfn0b | t3_lg6ms | null | t1_c2sfn0b | t1_c2sfktr | null | 1427748086 | 25 | t5_2fwo | null | null | null |
True | ehosca | null | warning: the [C# singleton implementation](http://sourcemaking.com/design_patterns/singleton/c%2523) is not thread-safe
try [dofactory](http://www.dofactory.com/Patterns/Patterns.aspx) | null | 0 | 1318947367 | False | 0 | c2sfn4j | t3_lg6ms | null | t1_c2sfn4j | t3_lg6ms | null | 1427748089 | 10 | t5_2fwo | null | null | null |
True | [deleted] | null | Very good point. The thing I don't find professional is the attitude of blaming the users. "Here are all the subtle reasons why most people use the API wrong, but the API is not wrong (in a narrow technical sense), therefore the problem is with the (simpleton) people using it." | null | 0 | 1318947413 | False | 0 | c2sfnbb | t3_lfsfk | null | t1_c2sfnbb | t1_c2sems9 | null | 1427748091 | 1 | t5_2fwo | null | null | null |
True | bigdubs | null | the CLR was designed specifically with automatic xml metadata to power intellisense & code completion.
in a sense your statement is true, in that the IDE is what takes advantage of said metadata, but the language WAS designed with that in mind.
ps: preemptive follow up, the CLR/CLI is not a language per se, but ... | null | 0 | 1318947536 | False | 0 | c2sfnvi | t3_lg1xx | null | t1_c2sfnvi | t1_c2ses1c | null | 1427748097 | 5 | t5_2fwo | null | null | null |
True | Smallpaul | null | > Automatically adjusting granularity is another one of those things that would need a good compile-time guess how expensive expressions will actually be.
Why does everything have to be done at compile time? The garbage collector is an example of a large adaptive runtime subsystem. | null | 0 | 1318947549 | False | 0 | c2sfnxs | t3_lfm1k | null | t1_c2sfnxs | t1_c2seijq | null | 1427748099 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | It is not counter intuitive. Strings are objects, remember? | null | 0 | 1318947590 | False | 0 | c2sfo3q | t3_lg1xx | null | t1_c2sfo3q | t1_c2sfhgx | null | 1427748101 | -2 | t5_2fwo | null | null | null |
True | an_eggman | null | I keep going back to the article to read that quote over and over. Makes me laugh out loud every time. | null | 0 | 1318947683 | False | 0 | c2sfoib | t3_lg59j | null | t1_c2sfoib | t1_c2senlx | null | 1427748118 | 0 | t5_2fwo | null | null | null |
True | aphoenix | null | That's absolutely a great point - I wouldn't necessarily recommend the book for anyone who is at least somewhat knowledgeable. But, for instance, the coworker just walked by and then said, "What's an anti-pattern?" when he saw this site open; that guy should get a book. | null | 0 | 1318947851 | False | 0 | c2sfp7v | t3_lg6ms | null | t1_c2sfp7v | t1_c2sfixf | null | 1427748123 | 3 | t5_2fwo | null | null | null |
True | pnpbios | null | somebody should really write one. C# classes, abstracts, and interfaces don't translate to C++ directly.
How to use references vs pointers
the namespace syntax
knowing what old C stuff can be safely ignored
There is a lot of ground that can be covered.
| null | 0 | 1318947884 | False | 0 | c2sfpd7 | t3_lg1xx | null | t1_c2sfpd7 | t1_c2septv | null | 1427748124 | 16 | t5_2fwo | null | null | null |
True | Koreija | null | > We are sorry, but it appears that your browser does not support WebGl.
Please ensure that you are running the latest drivers for your video card.
Great, new error messages for the web! | null | 0 | 1318948029 | False | 0 | c2sfpyg | t3_lg6zg | null | t1_c2sfpyg | t3_lg6zg | null | 1427748128 | 11 | t5_2fwo | null | null | null |
True | FlySwat | null | Except for "foo" + "bar" magically working, but == not...sure.
| null | 0 | 1318948130 | False | 0 | c2sfqft | t3_lg1xx | null | t1_c2sfqft | t1_c2sfo3q | null | 1427748133 | 6 | t5_2fwo | null | null | null |
True | woo545 | null | There was more than one page? | null | 0 | 1318948273 | False | 0 | c2sfr1t | t3_lg6ms | null | t1_c2sfr1t | t1_c2sfjrv | null | 1427748141 | 19 | t5_2fwo | null | null | null |
True | [deleted] | null | Meh. In my experience it is external conditions and not lack of knowledge of such matters is what leads to messy code anyway. | null | 0 | 1318948318 | False | 0 | c2sfr9t | t3_lg6ms | null | t1_c2sfr9t | t3_lg6ms | null | 1427748144 | 4 | t5_2fwo | null | null | null |
True | CydeWeys | null | So how do you get the first value of the array? var bar = foo(); bar(1) ? (Not necessarily valid Matlab syntax, but you get the idea.) | null | 0 | 1318948321 | False | 0 | c2sfrad | t3_lg5ri | null | t1_c2sfrad | t1_c2sfbbm | null | 1427748152 | 8 | t5_2fwo | null | null | null |
True | NruJaC | null | So...C++?
At least in Haskell, each of those operators means one thing, and exactly one thing, so once you learn the vocabulary, you don't need to read ALL the source code to figure out what exactly that particular operator is doing. | null | 0 | 1318948520 | False | 0 | c2sfs6b | t3_lfm1k | null | t1_c2sfs6b | t1_c2sf1fn | null | 1427748159 | 4 | t5_2fwo | null | null | null |
True | lukeatron | null | No, he's not, but I think the fears about getting stuck in .net are only true for people that don't really understand what they're doing or why they're doing it. These are people that know the syntax and patterns to make things work but don't understand why they work or what they really mean. You can recognize these ... | null | 0 | 1318948568 | False | 0 | c2sfsdz | t3_lg1xx | null | t1_c2sfsdz | t1_c2sfjsb | null | 1427748157 | 8 | t5_2fwo | null | null | null |
True | pocus | null | > PS: Just smile before learning serious things ;) | null | 0 | 1318948769 | False | 0 | c2sft9r | t3_lg6ms | null | t1_c2sft9r | t3_lg6ms | null | 1427748169 | 1 | t5_2fwo | null | null | null |
True | Chomskyismyhero | null | Thanks Martin. | null | 0 | 1318948814 | False | 0 | c2sftgq | t3_lg6ms | null | t1_c2sftgq | t1_c2sfktr | null | 1427748172 | 1 | t5_2fwo | null | null | null |
True | recursive | null | Out of the box co- and contra-variance. Generic type constraints. Ability to reflect on open generic types. (unspecified type parameters) | null | 0 | 1318948826 | True | 0 | c2sftie | t3_lg1xx | null | t1_c2sftie | t1_c2sf6kq | null | 1427748172 | 1 | t5_2fwo | null | null | null |
True | jbum | null | I will produce a Processing (Java) and Processing.JS version of that tutorial when I get some free time. The underlying principles are the same, regardless of the language.
Krazydad
EDIT: I've added a [Processing.js version of the tutorial.](http://krazydad.com/tutorials/circles_js/) | null | 0 | 1318948877 | True | 0 | c2sftqk | t3_lfvr3 | null | t1_c2sftqk | t3_lfvr3 | null | 1427748183 | 3 | t5_2fwo | null | null | null |
True | Danthekilla | null | XNA is already unified, I have one project that runs on Xbox, PC (Windows and Linux) and WP7 with less than 0.1% code changes (just 1 define used in about 10 places) and I get good performance on all 3 devices.
Here are some screens of a game I am working on in between other things.
[Screenshots](http://www.2point0st... | null | 0 | 1318948887 | False | 0 | c2sftrz | t3_l579f | null | t1_c2sftrz | t1_c2sf80k | null | 1427748176 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | Yes. You have to assign the value to a variable to be able to access it. | null | 0 | 1318949048 | False | 0 | c2sfujn | t3_lg5ri | null | t1_c2sfujn | t1_c2sfrad | null | 1427748188 | 10 | 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.