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 | knome | null | Historians? | null | 0 | 1318848323 | False | 0 | c2s4rre | t3_le7ky | null | t1_c2s4rre | t1_c2s4ebp | null | 1427742898 | 1 | t5_2fwo | null | null | null |
True | Iv8f | null | > and said "LOL, just use Windows
I'm not a windows user but this sounds fun to do. | null | 0 | 1318848354 | False | 0 | c2s4rt8 | t3_ldz7c | null | t1_c2s4rt8 | t1_c2s3q7w | null | 1427742898 | 1 | t5_2fwo | null | null | null |
True | joshrulzz | null | Not really. I logged in with my google account for the single sign-in, but one I did, I wasn't taken to confirm my post, I was taken to a sign up wizard for blogger. | null | 0 | 1318848411 | False | 0 | c2s4rw4 | t3_ldz7c | null | t1_c2s4rw4 | t1_c2s47to | null | 1427742899 | 1 | t5_2fwo | null | null | null |
True | lepton3 | null | So you aren't the one responsible for the 5 Gig setup.exe then. Carry on. | null | 0 | 1318848525 | False | 0 | c2s4s2k | t3_lehrj | null | t1_c2s4s2k | t1_c2s49y0 | null | 1427742902 | 13 | t5_2fwo | null | null | null |
True | crazyhoff | null | very well written, no-nonsense post. Need more of these! | null | 0 | 1318848625 | False | 0 | c2s4s8a | t3_lez71 | null | t1_c2s4s8a | t3_lez71 | null | 1427742904 | 14 | t5_2fwo | null | null | null |
True | jgroome | null | Is that's not an informative article about programming then I don't know what is. | null | 0 | 1318848925 | False | 0 | c2s4sqa | t3_lez65 | null | t1_c2s4sqa | t3_lez65 | null | 1427742910 | 1 | t5_2fwo | null | null | null |
True | neon_overload | null | > Without this database and others like it, computers would display Greenwich Mean Time, or the time in London when it isn't on summer time. People would have to manually calculate local time when they schedule meetings or book flights.
I don't need to point out to a bunch of programmers how idiotic this paragraph ... | null | 0 | 1318849166 | False | 0 | c2s4t3y | t3_le7ky | null | t1_c2s4t3y | t3_le7ky | null | 1427742915 | 5 | t5_2fwo | null | null | null |
True | neon_overload | null | If it's under an open license then any other organization is welcome to mirror it themselves, even accept patches, and even maybe contribute the patches back upstream. | null | 0 | 1318849280 | False | 0 | c2s4tb1 | t3_le7ky | null | t1_c2s4tb1 | t1_c2s4evj | null | 1427742918 | 4 | t5_2fwo | null | null | null |
True | snottlebocket | null | It doesn't have to be but rounded shapes tend to look friendlier while simultaneously doing a lot to prevent a page from looking like a bunch of stacked sharp edged blocks.
They also help a little with preventing people's pattern recognition behavior seeing intersections or 'crosses' every time four boxes come togeth... | null | 0 | 1318849357 | False | 0 | c2s4tfk | t3_lez65 | null | t1_c2s4tfk | t1_c2s4q6s | null | 1427742919 | 13 | t5_2fwo | null | null | null |
True | rubygeek | null | > and often times I need my templates to work with either a type T, or some 'pointer' to type T
I am curious as to why you'd want this? I can't think of any point where I'd be pleased if templates I was using silently treated a pointer the same as a dereferenced object behind my back. Perhaps not wanting to do thin... | null | 0 | 1318849358 | False | 0 | c2s4tfn | t3_le3tg | null | t1_c2s4tfn | t1_c2s4eq9 | null | 1427742919 | 1 | t5_2fwo | null | null | null |
True | fearmor | null | *iPhone UI Patterns
Tabs and navigation don't work like that on Android or BlackBerry/ | null | 0 | 1318849468 | False | 0 | c2s4tlx | t3_lez65 | null | t1_c2s4tlx | t3_lez65 | null | 1427742922 | 13 | t5_2fwo | null | null | null |
True | axilmar | null | It's not as simple as you make it to be.
What if, for example, your type may be used as a base type without polymorphism, as a base type with polymorphism, and as a standalone type with reference semantics, in different projects, but within the same library context?
You can do all the above in D, but it requires extr... | null | 0 | 1318850150 | False | 0 | c2s4upx | t3_kljc0 | null | t1_c2s4upx | t1_c2rx65h | null | 1427742936 | 1 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | And how would you do that? | null | 0 | 1318850423 | False | 0 | c2s4v7n | t3_l6uwv | null | t1_c2s4v7n | t1_c2qlriy | null | 1427742943 | 1 | t5_2fwo | null | null | null |
True | speckz | null | and double-dick... | null | 0 | 1318850893 | False | 0 | c2s4w1s | t3_ldz7c | null | t1_c2s4w1s | t1_c2rym46 | null | 1427742953 | 1 | t5_2fwo | null | null | null |
True | mycatverbs | null | The most reliable and useful project manager I have ever met is tall but has somewhat unconventional hair. I am looking for further evidence to settle whether or not this is coincidence. | null | 0 | 1318851053 | False | 0 | c2s4wcq | t3_ld22x | null | t1_c2s4wcq | t1_c2rzwcq | null | 1427742957 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318851285 | False | 0 | c2s4wsu | t3_lez65 | null | t1_c2s4wsu | t3_lez65 | null | 1427742963 | 1 | t5_2fwo | null | null | null |
True | PoisonTaffy | null | I wouldn't post this on /r/programming, but if it was posted in the right subreddit I would've missed it. Nice find. | null | 0 | 1318851293 | False | 0 | c2s4wti | t3_lez65 | null | t1_c2s4wti | t3_lez65 | null | 1427742963 | 2 | t5_2fwo | null | null | null |
True | funkpunch | null | A complete rip of the original, less-horizontal [pttrns.com](http://pttrns.com/) | null | 0 | 1318851327 | False | 0 | c2s4ww6 | t3_lez65 | null | t1_c2s4ww6 | t3_lez65 | null | 1427742964 | 20 | t5_2fwo | null | null | null |
True | cockmongler | null | The refactoring Eclipse can do for you cannot not remove ugly from a codebase. Naming conventions are the lowest level of ugly, higher levels of ugly need a chainsaw - this is where testing comes in. Often this manifests when the original programmers' mental model is very different to the actual problem, then you get t... | null | 0 | 1318851414 | False | 0 | c2s4x28 | t3_lehrj | null | t1_c2s4x28 | t1_c2s4j3f | null | 1427742966 | 6 | t5_2fwo | null | null | null |
True | someenigma | null | Doesn't load anything without javascript. How useful. | null | 0 | 1318851449 | False | 0 | c2s4x4j | t3_lez65 | null | t1_c2s4x4j | t3_lez65 | null | 1427742967 | 1 | t5_2fwo | null | null | null |
True | artengo | null | A bunch of screenshots? | null | 0 | 1318851651 | False | 0 | c2s4xib | t3_lez65 | null | t1_c2s4xib | t1_c2s4sqa | null | 1427742972 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | til! | null | 0 | 1318851792 | False | 0 | c2s4xrt | t3_ld2gi | null | t1_c2s4xrt | t1_c2rrbvl | null | 1427742976 | 1 | t5_2fwo | null | null | null |
True | Kevin_Raven | null | haha casual misogyny | null | 0 | 1318851818 | False | 0 | c2s4xti | t3_lehrj | null | t1_c2s4xti | t1_c2s4j8k | null | 1427742976 | 2 | t5_2fwo | null | null | null |
True | comex | null | As someone who's never used those tools, they sound awesome, but even a little scary. I feel like I can largely avoid writing brain dead code by following the article's advice and trying to understand the purpose of the code I'm modifying; it doesn't always prevent things from ending up hacky, but this code isn't even... | null | 0 | 1318851878 | False | 0 | c2s4xxz | t3_lehrj | null | t1_c2s4xxz | t1_c2s4j3f | null | 1427742979 | 2 | t5_2fwo | null | null | null |
True | leonscape | null | Actually there is. All the timezone information is an offset from GMT (UTC), and all the available tools and libraries are written for this. If you use another non-DST then you have to write all that yourself.
Don't forget what the user sees is entirely up to them. It only matters to the computer. | null | 0 | 1318851984 | False | 0 | c2s4y6f | t3_le7ky | null | t1_c2s4y6f | t1_c2s4py9 | null | 1427742981 | 5 | t5_2fwo | null | null | null |
True | cockmongler | null | I disagree with your last point, you should delete the string "languages, tools, and ". Unless you're in a really braindead language such as COBOL, language is mostly irrelevant. Obviously though there is the issue of right tool for the job but a bad programmer will make just as much a mess of a 100% test covered Pytho... | null | 0 | 1318852206 | False | 0 | c2s4ylv | t3_lehrj | null | t1_c2s4ylv | t1_c2s3k8m | null | 1427742986 | 4 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | As Google stands today, the business idiots running it will eventually kill Scholar too. See, it doesn't generate any profit and it costs 0.000001% of Google's revenue to run. | null | 0 | 1318852286 | False | 0 | c2s4yrj | t3_lca6k | null | t1_c2s4yrj | t1_c2rnbkf | null | 1427742988 | 2 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | It's not evil, but it's petty and lame to cut costs on freebies that cost them 0.000001% of their revenue. | null | 0 | 1318852463 | False | 0 | c2s4z6h | t3_lca6k | null | t1_c2s4z6h | t1_c2ronli | null | 1427742994 | 1 | t5_2fwo | null | null | null |
True | gnimmargorp | null | iPhone... not mobile... | null | 0 | 1318852495 | False | 0 | c2s4z9j | t3_lez65 | null | t1_c2s4z9j | t3_lez65 | null | 1427742995 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | You should think about what Google does in order to make its money - and how it goes about doing it. | null | 0 | 1318852540 | False | 0 | c2s4zcv | t3_ldz7c | null | t1_c2s4zcv | t1_c2s339g | null | 1427742996 | 3 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | Even though I hate Facebook and wish Suckerberg's petty business folds, I hope Google+ becomes a huge failure and Larry Page is kicked out of his position at Google for being so petty, lame and unclassy. | null | 0 | 1318852546 | False | 0 | c2s4zdf | t3_lca6k | null | t1_c2s4zdf | t3_lca6k | null | 1427742996 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | Don't start that shit again, they're all douches - ABP specifically targeted NoScript, NoScript repaid the favour, a bunch of geeks had a pissing contest. | null | 0 | 1318852620 | False | 0 | c2s4zja | t3_ldz7c | null | t1_c2s4zja | t1_c2rx08m | null | 1427742998 | 2 | t5_2fwo | null | null | null |
True | lars_ | null | Why is it NumPy that needs to be ported to PyPy? Why can't PyPy be made to support the existing Python modules written in C?
The way I use NumPy, it wouldn't be enough to port it alone. I use it in conjunction with SciPy, matplotlib, scikits.learn and cvxopt. So for this to be useful to me, all of those would need to ... | null | 0 | 1318852809 | False | 0 | c2s4zww | t3_lez71 | null | t1_c2s4zww | t3_lez71 | null | 1427743003 | 11 | t5_2fwo | null | null | null |
True | M4T1A5 | null | Well actually they are trying to make PyPy compatible with existing modules and thus far many of the popular modules like django work with PyPy. Don't know what this porting thing is all about. | null | 0 | 1318852927 | False | 0 | c2s505w | t3_lez71 | null | t1_c2s505w | t1_c2s4zww | null | 1427743006 | 0 | t5_2fwo | null | null | null |
True | dmor | null | I have thought about it more than you think.
The change would require changing the code to rewrite all appropriate URLs in the document to include the "?v=0" part, which is probably not extremely difficult, but still requires some amount of work and may be a performance hit.
I think it's far more likely that nobody s... | null | 0 | 1318853223 | True | 0 | c2s50t8 | t3_ldz7c | null | t1_c2s50t8 | t1_c2s4zcv | null | 1427743016 | 0 | t5_2fwo | null | null | null |
True | dak-man | null | I have inherited a really ugly codebase with all of the evils you describe. Management thinks the devs hate it because it is ugly. But we hate it because it is fragile, non-scalable, unreadable gibberish that just happens to work some of the time. Oh, and it is very profitable. They would rather have two senior dev... | null | 0 | 1318853356 | False | 0 | c2s513j | t3_lehrj | null | t1_c2s513j | t3_lehrj | null | 1427743020 | 9 | t5_2fwo | null | null | null |
True | piranha | null | It's even better when the log message is expressed better than an unstructured string in the first place. | null | 0 | 1318853704 | False | 0 | c2s51wi | t3_leahm | null | t1_c2s51wi | t1_c2s2tzs | null | 1427743031 | 1 | t5_2fwo | null | null | null |
True | gospelwut | null | For some reason they don't bother me on the mobile platforms, but generally dislike them on the PC. For some reason, that sort of "bubbly" and "friendly" UI often comes off as tacky to me when using a keyboard/mouse. Then again, I'm obviously not the everyday user. | null | 0 | 1318854108 | False | 0 | c2s52sn | t3_lez65 | null | t1_c2s52sn | t1_c2s4tfk | null | 1427743042 | 1 | t5_2fwo | null | null | null |
True | gospelwut | null | I had the same thought. "I whitelisted all this JS to view screenshots?" | null | 0 | 1318854139 | False | 0 | c2s52v3 | t3_lez65 | null | t1_c2s52v3 | t1_c2s4x4j | null | 1427743042 | 1 | t5_2fwo | null | null | null |
True | viller239 | null | Lists should be scrolled vertically, pages - horizontally, it's natural. The question is which pattern to use for certain content. | null | 0 | 1318854240 | False | 0 | c2s533h | t3_lez65 | null | t1_c2s533h | t1_c2s4q30 | null | 1427743046 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | Quite simply - CPython's C API depends on various implementation details in the CPython interpreter, while PyPy does certain things in other ways. Therefore, in order to implement the CPython API in PyPy, they have to emulate all these implementation details, and it is slow and buggy - definitely not something you want... | null | 0 | 1318854381 | False | 0 | c2s53f4 | t3_lez71 | null | t1_c2s53f4 | t1_c2s4zww | null | 1427743050 | 17 | t5_2fwo | null | null | null |
True | cunningjames | null | > So wouldn't it be a better idea to make PyPy fundamentally be compatible with these extensions out of the box? But this seems like it's out of the question.
As M4T1A5 already more-or-less stated, PyPy compatibility with existing C extensions is not “out of the question”; the effort to make PyPy compatible is mere... | null | 0 | 1318854420 | False | 0 | c2s53i4 | t3_lez71 | null | t1_c2s53i4 | t1_c2s4zww | null | 1427743051 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | Amen to that! One can't wonder what went wrong with IBM. They obviously employ a lot of talented people. Why can Resin, TomEE or even JBoss AS be so more efficient? | null | 0 | 1318854734 | False | 0 | c2s5498 | t3_lc4xg | null | t1_c2s5498 | t1_c2rpdpw | null | 1427743062 | 1 | t5_2fwo | null | null | null |
True | palmin | null | The tools do not take away the need to perform refactoring, but because some of the leg-work is done for you, refactoring is done more frequently and with more joy.
I also find it easier to gradually improve upon ugly code-bases thrown at me. The transformations done to the code (all of which are decided by me) are l... | null | 0 | 1318854845 | False | 0 | c2s54ja | t3_lehrj | null | t1_c2s54ja | t1_c2s4x28 | null | 1427743064 | 6 | t5_2fwo | null | null | null |
True | bad-tempered | null | No one who has a website with horizontal scrolling can claim to be an authority of "design patterns" | null | 0 | 1318854891 | False | 0 | c2s54ng | t3_lez65 | null | t1_c2s54ng | t3_lez65 | null | 1427743067 | 2 | t5_2fwo | null | null | null |
True | henk53 | null | JBoss AS 4 wasn't that slow, was it?
The big jump to slowness came with JBoss AS 5. They all said JBoss AS 6 would be faster, but for me it was even slower when a real app was deployed to it.
Now with JBoss AS 7 the startup speed seems to be back ;) (but notice that AS 7 has lost some features, so we'll have to see h... | null | 0 | 1318854908 | False | 0 | c2s54oz | t3_lc4xg | null | t1_c2s54oz | t1_c2rss1b | null | 1427743067 | 2 | t5_2fwo | null | null | null |
True | RizzoFromDigg | null | It's just too late to be any good at it. | null | 0 | 1318854985 | False | 0 | c2s54vc | t3_lf038 | null | t1_c2s54vc | t3_lf038 | null | 1427743069 | -27 | t5_2fwo | null | null | null |
True | palmin | null | The code produced with these tools is not very different from what i would write without them. Avoiding the tedium sums it up pretty well.
Hundreds of small trivial things can be done to your code, none of them hard to do by hand. But when combined they save a lot of time and change how time is spent. I no longer spen... | null | 0 | 1318855124 | False | 0 | c2s5589 | t3_lehrj | null | t1_c2s5589 | t1_c2s4xxz | null | 1427743073 | 1 | t5_2fwo | null | null | null |
True | kmeisthax | null | Because [Round Rects Are Everywhere!](http://folklore.org/StoryView.py?project=Macintosh&story=Round_Rects_Are_Everywhere.txt&topic=QuickDraw&sortOrder=Sort%20by%20Date&detail=medium) | null | 0 | 1318855139 | False | 0 | c2s559h | t3_lez65 | null | t1_c2s559h | t1_c2s4q6s | null | 1427743074 | 1 | t5_2fwo | null | null | null |
True | jb55 | null | Helps bad programmers relieve tight coupling instead of actually learning how to do it themselves.
It's a useful "tool", in the same sense that duct tape is a useful tool for holding together pieces of your car that are falling off.
It's a crutch, avoid it if you can.
EDIT: My assumption was we were talking about DI... | null | 0 | 1318855186 | True | 0 | c2s55dv | t3_lf1px | null | t1_c2s55dv | t3_lf1px | null | 1427743075 | 1 | t5_2fwo | null | null | null |
True | pawnzz | null | :( | null | 0 | 1318855486 | False | 0 | c2s566k | t3_lf038 | null | t1_c2s566k | t1_c2s54vc | null | 1427743085 | -1 | t5_2fwo | null | null | null |
True | inco | null | But it's never too late to be an elitist asshole. | null | 0 | 1318855739 | False | 0 | c2s56vc | t3_lf038 | null | t1_c2s56vc | t1_c2s54vc | null | 1427743095 | 28 | t5_2fwo | null | null | null |
True | shamen_uk | null | good stuff. nice work btw. | null | 0 | 1318855895 | False | 0 | c2s579u | t3_lea4q | null | t1_c2s579u | t1_c2s3pka | null | 1427743100 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | My biggest issue is that it seems all the good ideas have been done already. But I'm still pushing on. Its better to have fun and get good at it now, then when that good idea strikes, I will be ready to develop it. | null | 0 | 1318855901 | False | 0 | c2s57ai | t3_lf038 | null | t1_c2s57ai | t3_lf038 | null | 1427743100 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318855951 | False | 0 | c2s57es | t3_lbv9c | null | t1_c2s57es | t1_c2rw871 | null | 1427743102 | 1 | t5_2fwo | null | null | null |
True | Smallpaul | null | Django is not a module. It is a framework (many modules) and it is written in Python. Numpy is written in C. | null | 0 | 1318856043 | False | 0 | c2s57nb | t3_lez71 | null | t1_c2s57nb | t1_c2s505w | null | 1427743105 | 5 | t5_2fwo | null | null | null |
True | martoo | null | > Hence our goal and our motto; 'write once, run anywhere'.
Any merits of the language aside, this annoys me. That was Smalltalk's motto. It was ripped off to become the motto for Java, and now Shen takes it and presents it like a new thing. | null | 0 | 1318856068 | False | 0 | c2s57pn | t3_le3tg | null | t1_c2s57pn | t3_le3tg | null | 1427743105 | 3 | t5_2fwo | null | null | null |
True | bobbane | null | It's probably too late to be an enthusiastic wizard at it - see [larval stage](http://www.catb.org/jargon/html/L/larval-stage.html).
However, most motivated intelligent people can get good enough to make computers reliably do stuff for them - *and that's enough*. If you can handle basic algebra, you can handle progra... | null | 0 | 1318856095 | False | 0 | c2s57s8 | t3_lf038 | null | t1_c2s57s8 | t1_c2s54vc | null | 1427743106 | 7 | t5_2fwo | null | null | null |
True | martoo | null | > Shen has the most powerful type system of any existing functional language
So it has Agda's dependent types?
http://en.wikipedia.org/wiki/Agda_(programming_language) | null | 0 | 1318856189 | False | 0 | c2s5827 | t3_le3tg | null | t1_c2s5827 | t1_c2ry4pm | null | 1427743110 | 1 | t5_2fwo | null | null | null |
True | kdeforche | null | Perhaps because this offends people who have decided to like DI, this argument, with which I totally agree, makes no chance to being considered as nothing but flame-bait.
This, sadly, is probably also the reason why the DI mantra continues in "enterprise software" (which, as one knows, requires entirely different tool... | null | 0 | 1318856261 | False | 0 | c2s588s | t3_lf1px | null | t1_c2s588s | t1_c2s55dv | null | 1427743112 | -2 | t5_2fwo | null | null | null |
True | [deleted] | null | Everything is the same simple shit on an iPhone, woopty-do. | null | 0 | 1318856331 | False | 0 | c2s58f7 | t3_lez65 | null | t1_c2s58f7 | t3_lez65 | null | 1427743115 | 1 | t5_2fwo | null | null | null |
True | djork | null | When you work at Microsoft, on the Visual Studio team, the chances are *fairly high* that existing code is pretty good. You have some of the best engineers in the world building your existing code.
However, many people don't have that luxury. Large legacy systems at the average business can be *far* more expensive to ... | null | 0 | 1318856351 | False | 0 | c2s58h2 | t3_ldgye | null | t1_c2s58h2 | t3_ldgye | null | 1427743115 | 2 | t5_2fwo | null | null | null |
True | djork | null | What's the upper limit on expending patience learning someone else's codebase, though?
What if you spend *years* working with a legacy system, and the more you *do* just buckle down and learn how it works, the more you realize it needs to be replaced?
P.S. http://www.cmsmatrix.org/ compares 1200 packages | null | 0 | 1318856753 | False | 0 | c2s59lj | t3_ldgye | null | t1_c2s59lj | t1_c2rxhmk | null | 1427743131 | 1 | t5_2fwo | null | null | null |
True | mewomew | null | This has helped me a lot www.regexpal.com | null | 0 | 1318856900 | False | 0 | c2s5a0a | t3_leahm | null | t1_c2s5a0a | t3_leahm | null | 1427743136 | 1 | t5_2fwo | null | null | null |
True | snottlebocket | null | Mobile interfaces are still quite new and constantly changing as more options become available. They also have to deal with a very serious set of limitations. That's a pretty scary set of circumstances so mobile interfaces need to be as friendly and helpful looking as possible.
Websites in general have far more option... | null | 0 | 1318856982 | False | 0 | c2s5a8g | t3_lez65 | null | t1_c2s5a8g | t1_c2s52sn | null | 1427743139 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | For ownership purposes.
The template doesn't care if it's working with a native type or a pointer type. It just cares that the following works:
(\*T).Operation(...)
Sometimes I want the template to 'own' a resource, so I pass into it a either a T or a unique_ptr<T>. Other times I want the template to share a... | null | 0 | 1318856997 | False | 0 | c2s5a9s | t3_le3tg | null | t1_c2s5a9s | t1_c2s4tfn | null | 1427743139 | 2 | t5_2fwo | null | null | null |
True | frezik | null | I have downvoted, because while you may have a point, your comment was unenlightening as to possible alternatives. The duct tape metaphor is unhelpful. A "Bad Programmer" will see this and perhaps stop using Dependency Injection, but not knowing any better, replace it with more tightly coupled code than they otherwise ... | null | 0 | 1318857096 | False | 0 | c2s5aj8 | t3_lf1px | null | t1_c2s5aj8 | t1_c2s55dv | null | 1427743143 | 13 | t5_2fwo | null | null | null |
True | dagbrown | null | I have no joke here, I just like saying "ICANN has time zone database." | null | 0 | 1318857422 | False | 0 | c2s5bg9 | t3_le7ky | null | t1_c2s5bg9 | t3_le7ky | null | 1427743156 | -3 | t5_2fwo | null | null | null |
True | LordFreaker | null | Yes | null | 0 | 1318857484 | False | 0 | c2s5bnd | t3_latsk | null | t1_c2s5bnd | t1_c2r8ekf | null | 1427743158 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I didn't start learning how to code until I was about 25, and I'm completely self-taught. I don't think it's ever too late to learn how to do something you're really interested in. Back when I started it was a matter of finding the right books. With the resources of the web I think starting from scratch would be a lot ... | null | 0 | 1318857549 | False | 0 | c2s5buk | t3_lf038 | null | t1_c2s5buk | t3_lf038 | null | 1427743161 | 58 | t5_2fwo | null | null | null |
True | jb55 | null | Yes this is a perfectly acceptable way of doing it, perhaps many people are confused with terminology.
I'm not arguing against passing interfaces into constructors, the fact that some people call this "depedency injection" doesn't help.
I was arguing against the DI frameworks that try to automate this process, hence ... | null | 0 | 1318857875 | False | 0 | c2s5cvh | t3_lf1px | null | t1_c2s5cvh | t1_c2s5aj8 | null | 1427743173 | 4 | t5_2fwo | null | null | null |
True | mmattax | null | We built moodbe.at in a weekend using PHP and MySQL and are launching today. Our goal is to track user sentiment across users, topics, and locations.
We plan to expand with embeddable widgets that allow our "mood bar" to be embedded within blogs, news stories, etc...
We built a lot of twitter functionality, so some i... | null | 0 | 1318857951 | True | 0 | c2s5d4j | t3_lf35e | null | t1_c2s5d4j | t3_lf35e | null | 1427743176 | 0 | t5_2fwo | null | null | null |
True | algo_trader | null | I have used MS onenote. It's pretty good, but just not quite the same, and my 2007 version didn't have the web capabilities that google notebook had. | null | 0 | 1318857991 | False | 0 | c2s5d8n | t3_lca6k | null | t1_c2s5d8n | t1_c2rl3lh | null | 1427743179 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I was an Electrical Engineering undergrad. It turns out I didn't enjoy it much and there was little work in my area. Even though I knew how to program, I still had a lot to learn so I went back to school to study software engineering. I can honestly say that was the single best life decision I ever made. Whatever inves... | null | 0 | 1318858163 | False | 0 | c2s5dsc | t3_lf038 | null | t1_c2s5dsc | t3_lf038 | null | 1427743185 | 15 | t5_2fwo | null | null | null |
True | ICameToSayICame | null | Its license is AGPL? No, thank you. | null | 0 | 1318858169 | False | 0 | c2s5dsv | t3_lbalr | null | t1_c2s5dsv | t3_lbalr | null | 1427743185 | 2 | t5_2fwo | null | null | null |
True | FamousNerd | null | "Destroy him, my robots"
I was so scared of that guy when I was in elementary school. | null | 0 | 1318858336 | False | 0 | c2s5ecx | t3_lefzo | null | t1_c2s5ecx | t1_c2s2h3d | null | 1427743192 | 2 | t5_2fwo | null | null | null |
True | anttirt | null | I think your scope is too narrow. What do you mean by "good ideas?" | null | 0 | 1318858389 | False | 0 | c2s5ej0 | t3_lf038 | null | t1_c2s5ej0 | t1_c2s57ai | null | 1427743195 | 7 | t5_2fwo | null | null | null |
True | frezik | null | That sort of interface is [what Wiki lists as a Dependency Injection example](http://en.wikipedia.org/wiki/Dependency_injection#Manually_injected_dependency). This is, as far as I can tell, perfectly correct terminology. Your original comment didn't specify anything about "frameworks", nor does the linked blog article... | null | 0 | 1318858445 | False | 0 | c2s5epu | t3_lf1px | null | t1_c2s5epu | t1_c2s5cvh | null | 1427743198 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318858699 | False | 0 | c2s5fl3 | t3_lf038 | null | t1_c2s5fl3 | t1_c2s54vc | null | 1427743209 | 3 | t5_2fwo | null | null | null |
True | jgroome | null | I would have thought my sarcasm was pretty obvious... | null | 0 | 1318858704 | False | 0 | c2s5flu | t3_lez65 | null | t1_c2s5flu | t1_c2s4xib | null | 1427743217 | 1 | t5_2fwo | null | null | null |
True | loganekz | null | So you're suggesting that each developer roll there own set of classes for every application to do the "plumbing" work of passing concrete implementations into these constructors?
I do agree with you with the "automatic" methods of trying to figure out the dependencies -- but there's nothing saying you can't manual... | null | 0 | 1318858713 | False | 0 | c2s5fn0 | t3_lf1px | null | t1_c2s5fn0 | t1_c2s5cvh | null | 1427743217 | 3 | t5_2fwo | null | null | null |
True | jakkarth | null | > App demos should include code and/or architecture discussion.
Please see the sidebar for more information. | null | 0 | 1318858770 | False | 0 | c2s5ftp | t3_lf35e | null | t1_c2s5ftp | t3_lf35e | null | 1427743212 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | It looks like it could be really good, but it's s-expr based. Which probably means that most algol-family programmers run away screaming like little children who think that they'll be eaten by the ghost of parenthesis. ;) | null | 0 | 1318858799 | False | 0 | c2s5fwy | t3_le3tg | null | t1_c2s5fwy | t3_le3tg | null | 1427743214 | 1 | t5_2fwo | null | null | null |
True | jb55 | null | Usually the point of contention in DI arguments is the benefit of DI frameworks. DI itself is relatively uninteresting, it's already well established that passing the minimal interface between things is a good thing.
If we are arguing about the benefits of DI then I don't think I have any more to say =/ | null | 0 | 1318858819 | False | 0 | c2s5fzh | t3_lf1px | null | t1_c2s5fzh | t1_c2s5epu | null | 1427743215 | 2 | t5_2fwo | null | null | null |
True | pnpbios | null | Exodus 32:7
> Then the LORD said to Moses, “Go down, because your people, whom you brought up out of Egypt, have become corrupt. 8 They have been quick to turn away from what I commanded them and have made themselves an idol cast in the shape of a calf. They have bowed down to it and sacrificed to it and have said,... | null | 0 | 1318858847 | False | 0 | c2s5g35 | t3_lddk9 | null | t1_c2s5g35 | t1_c2rwd1j | null | 1427743216 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318858939 | False | 0 | c2s5gdu | t3_lf038 | null | t1_c2s5gdu | t1_c2s57ai | null | 1427743220 | 8 | t5_2fwo | null | null | null |
True | pnpbios | null | It was too confusing for adwords to give relevant results, lol. | null | 0 | 1318858967 | False | 0 | c2s5gha | t3_lca6k | null | t1_c2s5gha | t3_lca6k | null | 1427743221 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | > Pride is the main cause I think, we all want to be proud of the code we write and thats why we hate "ugly" code, even if it works great :(
This is so true. We really ought to minimize our egos when doing professional work. | null | 0 | 1318858978 | False | 0 | c2s5giu | t3_lehrj | null | t1_c2s5giu | t1_c2s37pw | null | 1427743222 | 1 | t5_2fwo | null | null | null |
True | jb55 | null | Don't pass concrete implementations into constructors? | null | 0 | 1318859022 | False | 0 | c2s5gnw | t3_lf1px | null | t1_c2s5gnw | t1_c2s5fn0 | null | 1427743223 | 0 | t5_2fwo | null | null | null |
True | jeffbell | null | I wanted to get the stricter compile time checking and linking rules of C++. New code could use classes.
It would have been a matter of a few reserved words and an extern "C".
| null | 0 | 1318859114 | False | 0 | c2s5gz5 | t3_ld12r | null | t1_c2s5gz5 | t1_c2s3d82 | null | 1427743228 | 1 | t5_2fwo | null | null | null |
True | wolfier | null | the methodology yes. the frameworks, not so much, especially those that emphasize setter injection over constructor injection - because the latter is the only sane way to go if you want immutable objects.
it also depends on which type of object - it usually doesn't make sense to inject every single thing that can be ... | null | 0 | 1318859177 | False | 0 | c2s5h6e | t3_lf1px | null | t1_c2s5h6e | t3_lf1px | null | 1427743230 | 23 | t5_2fwo | null | null | null |
True | ruinercollector | null | Very much depends on which functional language.
Those derived from ML fall into category 1.
Those derived from lisp fall into category 2.
How much haskell relates to ML is pretty arguable, but either way, haskell goes into category 1. | null | 0 | 1318859395 | False | 0 | c2s5hwy | t3_lajug | null | t1_c2s5hwy | t1_c2ryodl | null | 1427743241 | 1 | t5_2fwo | null | null | null |
True | rdmiller3 | null | My favorite part was the opening:
> Coding is sort of like a superpower
Nailed it! | null | 0 | 1318859554 | False | 0 | c2s5ig1 | t3_lf038 | null | t1_c2s5ig1 | t3_lf038 | null | 1427743246 | 31 | t5_2fwo | null | null | null |
True | armhead | null | I am 32 years old, and I'm learning C right now. I'm not doing it for professional reasons. I'm doing it for fun. I generally think I'm bad at coding, but I enjoy the mental challenge it provides. I have some ideas, but I'm too new at programming to implement them. Every time I have one I write it down and save it f... | null | 0 | 1318859626 | False | 0 | c2s5io1 | t3_lf038 | null | t1_c2s5io1 | t3_lf038 | null | 1427743249 | 30 | t5_2fwo | null | null | null |
True | runedk | null | Being artificially forced to extract interfaces for every one of your classes is not a benefit. And doing so is not a prerequisite for mocking an object for a unit test as mocking frameworks can mock concrete classes as well as interfaces.
Dependency injection is *one* technique that *can* facilitate truly modular des... | null | 0 | 1318859720 | True | 0 | c2s5izr | t3_lf1px | null | t1_c2s5izr | t3_lf1px | null | 1427743254 | 20 | t5_2fwo | null | null | null |
True | Chaoslab | null | I played the Amiga one back in the day. Sterling Effort! | null | 0 | 1318859906 | False | 0 | c2s5jou | t3_lefzo | null | t1_c2s5jou | t3_lefzo | null | 1427743264 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318860012 | False | 0 | c2s5k2f | t3_lde7w | null | t1_c2s5k2f | t3_lde7w | null | 1427743268 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318860118 | False | 0 | c2s5kfo | t3_lf038 | null | t1_c2s5kfo | t3_lf038 | null | 1427743273 | -9 | t5_2fwo | null | null | null |
True | MrDOS | null | You're interested in applying this to Windows (presumably some Server edition), not IIS. This is a setting of the TCP stack, not an application using it. | null | 0 | 1318860122 | False | 0 | c2s5kg2 | t3_ldjwf | null | t1_c2s5kg2 | t1_c2rw3yi | null | 1427743273 | 3 | t5_2fwo | null | null | null |
True | antpocas | null | The Jargon File is a bunch of bullshit that's mostly irrelevant by now, and the editor's (ESR) competence (both as a programmer and as editor of the jargon file) is questionable at best. | null | 0 | 1318860360 | False | 0 | c2s5lcu | t3_lf038 | null | t1_c2s5lcu | t1_c2s57s8 | null | 1427743287 | 4 | 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.