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 | I never understood dependency injection, or why avoiding nested new is so important to coupling and composibility until I watched this [Google Tech Talk](http://www.youtube.com/watch?v=RlfLCWKxHJ0) video. It is the clearest explanation that I have seen and avoids any discussion of DI Frameworks or IOC containers, since... | null | 0 | 1318860584 | False | 0 | c2s5m5r | t3_lf1px | null | t1_c2s5m5r | t3_lf1px | null | 1427743296 | 12 | t5_2fwo | null | null | null |
True | frezik | null | That's exactly what I suggest. The reason is that manual code to implement this is a tiny amount of the total application code, and some configurable framework will not significantly shorten the code length. It may well increase it.
To take [Wiki's example of an XML-configed framework](http://en.wikipedia.org/wiki/Dep... | null | 0 | 1318860597 | False | 0 | c2s5m7p | t3_lf1px | null | t1_c2s5m7p | t1_c2s5fn0 | null | 1427743296 | 5 | t5_2fwo | null | null | null |
True | hpipebordr87 | null | Nice work! I really like the mood slider.
I have used Gearman in projects before and it seems to do the job. I have not used RabbitMQ so I may be a little biased | null | 0 | 1318860824 | False | 0 | c2s5n1n | t3_lf35e | null | t1_c2s5n1n | t3_lf35e | null | 1427743307 | 2 | t5_2fwo | null | null | null |
True | mycatverbs | null | I'd argue that AP Compsci 1 should be taught in Python. The first step is always to get the kids hooked. ;) | null | 0 | 1318860840 | False | 0 | c2s5n3q | t3_la9wn | null | t1_c2s5n3q | t1_c2rby2f | null | 1427743315 | 1 | t5_2fwo | null | null | null |
True | jonte | null | Huge animated smileys and social networking spam? I guess some people would like this. I'm happy to say that I'm not one of them. | null | 0 | 1318860854 | False | 0 | c2s5n5k | t3_lf35e | null | t1_c2s5n5k | t3_lf35e | null | 1427743315 | 1 | t5_2fwo | null | null | null |
True | no_hero | null | DI, like anything (Hibernate) is best used judiciously. I've seen Spring XML configurations that would make you cry. That obviously moves one problem into another (managing *.xmls).
A nice evolution is using annotations or attributes (in C#). That way code and DI is all on one spot. This makes refactoring easier sinc... | null | 0 | 1318860974 | False | 0 | c2s5nl6 | t3_lf1px | null | t1_c2s5nl6 | t3_lf1px | null | 1427743315 | 8 | t5_2fwo | null | null | null |
True | UloPe | null | It's not as if there has been no work done in that direction: http://morepypy.blogspot.com/2010/04/using-cpython-extension-modules-with.html
One of the pypy devs said (can't find the source right now, may have been in a conference talk) there are some inherent slow-downs when the JITed PyPy code has to talk to a C ext... | null | 0 | 1318861084 | False | 0 | c2s5o0i | t3_lez71 | null | t1_c2s5o0i | t1_c2s4zww | null | 1427743322 | 8 | t5_2fwo | null | null | null |
True | mukicookie | null | Same for me, though I will be a Mechanical Engineering turned CS major. | null | 0 | 1318861201 | False | 0 | c2s5oh3 | t3_lf038 | null | t1_c2s5oh3 | t1_c2s5dsc | null | 1427743326 | 2 | t5_2fwo | null | null | null |
True | bboomslang | null | the original developer did [put it under open source license](http://kernel.scripting.com/), later [some spinoff started](http://frontierkernel.org/) (probably some fallout between Dave and the devs that took over when it turned open source) and there is a newer version (Dave again) for it under http://home.opml.org/ -... | null | 0 | 1318861212 | False | 0 | c2s5oif | t3_ldy85 | null | t1_c2s5oif | t3_ldy85 | null | 1427743326 | 2 | t5_2fwo | null | null | null |
True | jshufro | null | The good ideas always seem done. That's 20/20 hindsight for you. Maybe you should just think, "In five years time, what will seem like it was an obviously good idea 5 years prior?" | null | 0 | 1318861683 | False | 0 | c2s5qed | t3_lf038 | null | t1_c2s5qed | t1_c2s57ai | null | 1427743351 | 4 | t5_2fwo | null | null | null |
True | mmattax | null | While it has a lot of social networking aspects, I think the real power is an embeddable option that can aggregate moods from news sites, blog posts, movie reviews, etc.
While the "front-end" is smiley faces, the data on the back-end can lead to some pretty social analysis. | null | 0 | 1318861782 | False | 0 | c2s5qrp | t3_lf35e | null | t1_c2s5qrp | t1_c2s5n5k | null | 1427743356 | 1 | t5_2fwo | null | null | null |
True | Samus_ | null | well, yes and no, it's true that 99.9% of websites (including reddit) require javascript to function properly and it's also true that, as long as you allow them to run they'll screw you but guess what? the time reddit was hit by a self-replicating javascript injection I was still able to browse :)
as I've said I use i... | null | 0 | 1318861831 | False | 0 | c2s5qy6 | t3_ldz7c | null | t1_c2s5qy6 | t1_c2s47c1 | null | 1427743359 | 2 | t5_2fwo | null | null | null |
True | Kanarico1 | null | I graduated as an Electrical Engineer last year. I did an internship at a software company and now I'm currently working at a software company. I like coding more than the engineering stuff but I feel like I don't have enough computer/programming knowledge to do my job. I can figure things out when it just comes to mai... | null | 0 | 1318861870 | False | 0 | c2s5r3x | t3_lf038 | null | t1_c2s5r3x | t1_c2s5dsc | null | 1427743361 | 6 | t5_2fwo | null | null | null |
True | cygnosis | null | I like to refactor covertly in that kind of situation. Whenever I get a bug report on a codebase like that I'll double the time I need to fix it so that I can clean up the code a bit while I'm at it. It's not always possible to do that, especially if your workload is too over the top. And it's a slow process, for su... | null | 0 | 1318862080 | False | 0 | c2s5rve | t3_lehrj | null | t1_c2s5rve | t1_c2s513j | null | 1427743371 | 6 | t5_2fwo | null | null | null |
True | noscreenname | null | > every time I tried to setup something new (new development environment, tool, library, etc), something would always go wrong.
This is the hardest part. That's why seeing "Hello world" on your screen is so satisfying! | null | 0 | 1318862120 | False | 0 | c2s5s11 | t3_lf038 | null | t1_c2s5s11 | t3_lf038 | null | 1427743373 | 12 | t5_2fwo | null | null | null |
True | paperhat | null | I had the opposite high school experience. I thought I wanted to be a computer programmer until 1991 when I took programming class in high school that used Pascal. The teacher was so bad that I came out of the class more confused about programming than when I entered. I was convinced that I didn't have what it takes t... | null | 0 | 1318862133 | False | 0 | c2s5s32 | t3_lf038 | null | t1_c2s5s32 | t3_lf038 | null | 1427743373 | 7 | t5_2fwo | null | null | null |
True | bobbane | null | Larval stage did enter the jargon file after ESR's curation started (was surprised when checking my first edition confirmed that), but that does not invalidate the phenomenon, so cool it with the ad hominem.
I personally went through larval stage at 17 - in 1973, which is my excuse for being late. | null | 0 | 1318862136 | False | 0 | c2s5s3m | t3_lf038 | null | t1_c2s5s3m | t1_c2s5lcu | null | 1427743374 | 1 | t5_2fwo | null | null | null |
True | codese38 | null | Wow. At 32 you picked up C. You are a brave person.
RIP Dennis Ritchie. | null | 0 | 1318862188 | False | 0 | c2s5sb3 | t3_lf038 | null | t1_c2s5sb3 | t1_c2s5io1 | null | 1427743376 | -7 | t5_2fwo | null | null | null |
True | Hyrule34 | null | I too am an engineering undergrad with limited knowledge in programming. I am considering applying to go back to school for a CS degree. When you said you went back, did you get another bachelor's or a higher degree? | null | 0 | 1318862454 | False | 0 | c2s5tgl | t3_lf038 | null | t1_c2s5tgl | t1_c2s5dsc | null | 1427743391 | 3 | t5_2fwo | null | null | null |
True | lukeatron | null | I've been programming seriously for about 22 years now and I still constantly get ideas that I have no idea how to implement. I love that about programming. If I already knew how to do it, I'd just explain it to some else and let them do all the boring implementation work. | null | 0 | 1318862487 | False | 0 | c2s5tlp | t3_lf038 | null | t1_c2s5tlp | t1_c2s5io1 | null | 1427743393 | 7 | t5_2fwo | null | null | null |
True | x86_64Ubuntu | null | As a Flex programmer I love DI. It makes testing easier and allows me to achieve separation of concer in an easier and more deliberate fashion. Of course with any tool, what you get out of it is dependen on your skillset and knowledge of what it is trying to help you achieve. A bad programmer with a DI framework is ... | null | 0 | 1318862618 | False | 0 | c2s5u5s | t3_lf1px | null | t1_c2s5u5s | t3_lf1px | null | 1427743400 | 6 | t5_2fwo | null | null | null |
True | absinthe718 | null | My favorite example is in a Analytic tool we use. The tool is built as a jar that is used by a few apps. It assumes a JNDI datasource and publishes a service that is usable by GWT or SpringMVC with only a few lines added to the app.
The test suite of the app replaces a part of the spring application context with one t... | null | 0 | 1318862777 | False | 0 | c2s5uu8 | t3_lf1px | null | t1_c2s5uu8 | t3_lf1px | null | 1427743408 | 2 | t5_2fwo | null | null | null |
True | mycatverbs | null | They're rare, but there exist people like the author of the [New Turing Omnibus](http://www.amazon.co.uk/New-Turing-Omnibus-DEWDNEY/dp/0805071660). | null | 0 | 1318862920 | False | 0 | c2s5vfj | t3_la9wn | null | t1_c2s5vfj | t1_c2r5on3 | null | 1427743418 | 1 | t5_2fwo | null | null | null |
True | runvnc | null | Good point, there are definitely times you do need to redo things..
but.. wow.. ok do we really need 1200 CMSs? | null | 0 | 1318862943 | False | 0 | c2s5vin | t3_ldgye | null | t1_c2s5vin | t1_c2s59lj | null | 1427743419 | 1 | t5_2fwo | null | null | null |
True | funkbringer | null | After years of false starts with terrible books and "tutorials", this website is actually teaching me how to use code to solve problems:
http://www.codingbat.com
Nick Parlante you are a champion. | null | 0 | 1318862974 | False | 0 | c2s5vn6 | t3_lf038 | null | t1_c2s5vn6 | t3_lf038 | null | 1427743419 | 10 | t5_2fwo | null | null | null |
True | cockmongler | null | This is true, I was perhaps overstating. My point is that the tools are not the solution (they never are), tools are just that: tools. So yes, when you have uglyness in the form of a giant function and you can just select bits and extract them into new functions that is very useful. It is possible to use the same tool ... | null | 0 | 1318863080 | False | 0 | c2s5w04 | t3_lehrj | null | t1_c2s5w04 | t1_c2s54ja | null | 1427743425 | 2 | t5_2fwo | null | null | null |
True | loganekz | null | > TL;DR: DI frameworks BAD, passing interfaces into constructors OK (why wouldn't they be?)
Hmm, so which one is it? | null | 0 | 1318863089 | False | 0 | c2s5w2h | t3_lf1px | null | t1_c2s5w2h | t1_c2s5gnw | null | 1427743426 | 2 | t5_2fwo | null | null | null |
True | artengo | null | Sorry, I had too much PHP today... | null | 0 | 1318863247 | False | 0 | c2s5wle | t3_lez65 | null | t1_c2s5wle | t1_c2s5flu | null | 1427743432 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I ended up getting my masters in Computer Engineering, specializing in software engineering. The only classes I took taught by CS department were database classes and one data mining course I took for fun. I also did a couple of internships during that time which were really helpful.
Edit: I think that I had to take a... | null | 0 | 1318863640 | True | 0 | c2s5xyq | t3_lf038 | null | t1_c2s5xyq | t1_c2s5tgl | null | 1427743451 | 1 | t5_2fwo | null | null | null |
True | taejo | null | I would imagine the average historian doesn't really care about an hour's time difference, especially before the era of instantaneous communication. | null | 0 | 1318863641 | False | 0 | c2s5xyz | t3_le7ky | null | t1_c2s5xyz | t1_c2s4rre | null | 1427743451 | 2 | t5_2fwo | null | null | null |
True | XPreNN | null | Same for me, high school classes on programming were abysmal, I didn't understand anything. I went to college, studied Computer Sciences and am now a web developer by profession. FUCK YEAH! | null | 0 | 1318863749 | False | 0 | c2s5yf3 | t3_lf038 | null | t1_c2s5yf3 | t1_c2s5s32 | null | 1427743456 | 3 | t5_2fwo | null | null | null |
True | loganekz | null | Fair enough -- reason why I'm not opposed to these type of frameworks is that it encourages "best practices" of keeping your application modular instead of having tightly coupled code. Furthermore it promotes composition over inheritance for reusable code which is another benefit IMHO.
Of course bad developers will ab... | null | 0 | 1318863755 | False | 0 | c2s5yfk | t3_lf1px | null | t1_c2s5yfk | t1_c2s5m7p | null | 1427743458 | 2 | t5_2fwo | null | null | null |
True | Timmmmbob | null | They should just ditch the Arduino IDE and use QtCreator (or something based off it) instead. The Arduino IDE is awful.
Incidentally, I have a qmake project file for arduino if anyone is interested...
Edit: Actually I lied, it was a Makefile project. The qmake one was for ARM Cortex M3 cross-compiling. It shouldn't b... | null | 0 | 1318863780 | True | 0 | c2s5yj7 | t3_lf57z | null | t1_c2s5yj7 | t3_lf57z | null | 1427743458 | 4 | t5_2fwo | null | null | null |
True | smcameron | null | "Underscores and other special characters in names made sense when computer terminals had no separate uppercase and lowercase characters."
Ugh. BecauseThisStyleIsSoMuchMore readable_than_this_style. /sarcasm. | null | 0 | 1318863788 | False | 0 | c2s5ykl | t3_lf2w2 | null | t1_c2s5ykl | t3_lf2w2 | null | 1427743458 | 13 | t5_2fwo | null | null | null |
True | [deleted] | null | Copyrighting facts for fun and profit. | null | 0 | 1318863981 | False | 0 | c2s5zdp | t3_le7ky | null | t1_c2s5zdp | t1_c2s417t | null | 1427743469 | 4 | t5_2fwo | null | null | null |
True | mr_curmudgeon | null | DI seemed like a much better idea when people were looking for ways to add some more XML configuration bullshit to their applications. | null | 0 | 1318864076 | False | 0 | c2s5zs3 | t3_lf1px | null | t1_c2s5zs3 | t3_lf1px | null | 1427743474 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | I applaud you all for getting formal education in CS / software engineering.
Maybe I've had bad luck, but I know numerous mechanical/electrical engineers working as software engineers that think they can code and are actually awful at the job.
I wouldn't pick up a soldering iron and start designing circuit boards. I... | null | 0 | 1318864208 | False | 0 | c2s60cp | t3_lf038 | null | t1_c2s60cp | t1_c2s5dsc | null | 1427743483 | 5 | t5_2fwo | null | null | null |
True | XPreNN | null | The first one drives me IN-FUCKING-SANE at times. I'm very sensitive to environment noise and I have to program in an open environment with - at times - constant chattering and phone calls going on. I get nothing done and I'm stressed and exhausted at the end of the day. Good thing I love my job and have nice colleague... | null | 0 | 1318864242 | False | 0 | c2s60ic | t3_ld22x | null | t1_c2s60ic | t1_c2rqn0y | null | 1427743486 | 1 | t5_2fwo | null | null | null |
True | cosmo7 | null | I'd say the .NET APIs have aged pretty well, especially considering the size of them. If I were to call out a shitty API I'd pick Facebook or Twitter. | null | 0 | 1318864306 | False | 0 | c2s60tg | t3_ld22x | null | t1_c2s60tg | t1_c2rpm8g | null | 1427743491 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318864320 | False | 0 | c2s60vw | t3_lf038 | null | t1_c2s60vw | t3_lf038 | null | 1427743491 | 4 | t5_2fwo | null | null | null |
True | cosmo7 | null | > You can't redesign a published API.
Yes you can; it's called versioning. | null | 0 | 1318864339 | False | 0 | c2s60yl | t3_ld22x | null | t1_c2s60yl | t1_c2rs09o | null | 1427743491 | 2 | t5_2fwo | null | null | null |
True | expertunderachiever | null | Nowhere in that "article" did he talk to **WHY** I should move to C++ from C. | null | 0 | 1318864384 | False | 0 | c2s615q | t3_ld12r | null | t1_c2s615q | t3_ld12r | null | 1427743496 | 1 | t5_2fwo | null | null | null |
True | jared84lsu | null | You can further your path to becoming an architecture astronaut. | null | 0 | 1318864402 | False | 0 | c2s618x | t3_lf1px | null | t1_c2s618x | t3_lf1px | null | 1427743497 | 16 | t5_2fwo | null | null | null |
True | loganekz | null | Who is forcing the developer to extract interfaces for every class, or to use the "black magic" ways of resolving dependencies?
I don't know why the concept of DI is blamed for this, it seems you should blame a developer making these poor decisions. DI is one way of building a modular application, and it promotes the... | null | 0 | 1318864417 | False | 0 | c2s61b5 | t3_lf1px | null | t1_c2s61b5 | t1_c2s5izr | null | 1427743498 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | How can you tell my accent from a written comment? Hmm. | null | 0 | 1318864440 | False | 0 | c2s61eg | t3_ldz7c | null | t1_c2s61eg | t1_c2s4d7c | null | 1427743498 | 2 | t5_2fwo | null | null | null |
True | ithika | null | > The same care should be taken when turning verbs into adjectives: saying that something is “deletable” is incorrect.
Ah, the hubris of the amateur linguist... | null | 0 | 1318864586 | False | 0 | c2s621f | t3_lf2w2 | null | t1_c2s621f | t3_lf2w2 | null | 1427743504 | 8 | t5_2fwo | null | null | null |
True | ais523 | null | If it were consistent with other broadcast IPs, it would mean "ping the entire Internet", but no sane ISP will honour such a request (and even a typical router will refuse to honour it). In practice, it normally means "ping some reasonable subset of nearby computers", perhaps the ones on your own network but not on the... | null | 0 | 1318864644 | False | 0 | c2s62am | t3_ldz7c | null | t1_c2s62am | t1_c2s16lr | null | 1427743516 | 2 | t5_2fwo | null | null | null |
True | RecycledAir | null | Many people start at your age. 19 isn't late at all.
That being said. I wouldn't start with C if you haven't programmed before, you may get discouraged.
http://diveintopython3.ep.io/ | null | 0 | 1318865107 | False | 0 | c2s64hp | t3_lf038 | null | t1_c2s64hp | t1_c2s60vw | null | 1427743535 | 7 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | What would be "improper tail recursion"? | null | 0 | 1318865108 | False | 0 | c2s64i3 | t3_ld22x | null | t1_c2s64i3 | t1_c2s4eq2 | null | 1427743535 | 1 | t5_2fwo | null | null | null |
True | rkenned | null | >In this design the code only works when the black magic framework is in effect and it is hard to reason about class states in the program.
The simple solution is not to write unnecessarily stateful classes. POJO's and primitives should be the some of the only objects in your average Spring application that are mu... | null | 0 | 1318865116 | False | 0 | c2s64jn | t3_lf1px | null | t1_c2s64jn | t1_c2s5izr | null | 1427743537 | 5 | t5_2fwo | null | null | null |
True | nuxi | null | His crime wasn't taking time, it was giving it away. | null | 0 | 1318865142 | False | 0 | c2s64nh | t3_le7ky | null | t1_c2s64nh | t3_le7ky | null | 1427743537 | 1 | t5_2fwo | null | null | null |
True | rubygeek | null | I'm not sure if I see why you wouldn't then just forgo the complexity of handling two different cases, and just insist on receiving something that can be dereferenced.
| null | 0 | 1318865202 | False | 0 | c2s64ym | t3_le3tg | null | t1_c2s64ym | t1_c2s5a9s | null | 1427743542 | 1 | t5_2fwo | null | null | null |
True | jb55 | null | Don't define a constructor that takes concrete implementations if you want me to be super precise with my wording. Of course passing concrete implementations into constructors is fine as long as it's via its interface. | null | 0 | 1318865280 | False | 0 | c2s65bx | t3_lf1px | null | t1_c2s65bx | t1_c2s5w2h | null | 1427743547 | 1 | t5_2fwo | null | null | null |
True | runedk | null | I am not blaming DI for this and I know it is not required to use DI. But it is mentioned in the blog entry as a consequence of DI and a prerequisite for mocking objects which apparently makes it a benefit in the view of the author. | null | 0 | 1318865343 | False | 0 | c2s65mm | t3_lf1px | null | t1_c2s65mm | t1_c2s61b5 | null | 1427743551 | 2 | t5_2fwo | null | null | null |
True | shinp | null | You're probably doomed from the start if the reason you are learning to code is to develop a product or start an internet company.
As you learn more, the dunning-kruger effect would quickly make you realize that there is so much to learn before reaching those goals and might fizzle your motivation. Like the article s... | null | 0 | 1318865381 | False | 0 | c2s65sz | t3_lf038 | null | t1_c2s65sz | t1_c2s57ai | null | 1427743553 | 18 | t5_2fwo | null | null | null |
True | [deleted] | null | Perhaps this is a general symptom of initial impression? Certainly, it took me some time with DI (using existing frameworks) before that "black magic" feeling eroded away to reveal a more strategic understanding of its value.
Now, I am much more equipped to understand why one uses DI, what its strengths are, and re... | null | 0 | 1318865426 | False | 0 | c2s661q | t3_lf1px | null | t1_c2s661q | t1_c2s61b5 | null | 1427743557 | 1 | t5_2fwo | null | null | null |
True | prog101 | null | Perhaps -- I've heard other people say that about .NET too. All of my experience has been with pre-.NET stuff. | null | 0 | 1318865450 | False | 0 | c2s666b | t3_ld22x | null | t1_c2s666b | t1_c2s60tg | null | 1427743557 | 1 | t5_2fwo | null | null | null |
True | a_redditor | null | [RegexOne](http://regexone.com/) is a nice, web-based, interactive intro to regex for anyone who is interested. | null | 0 | 1318865670 | False | 0 | c2s679t | t3_leahm | null | t1_c2s679t | t3_leahm | null | 1427743572 | 2 | t5_2fwo | null | null | null |
True | a_redditor | null | "Hmm, Perl makes regex really easy!"
You now have three problems. | null | 0 | 1318865676 | False | 0 | c2s67b3 | t3_leahm | null | t1_c2s67b3 | t1_c2s0p9q | null | 1427743573 | 3 | t5_2fwo | null | null | null |
True | FlySwat | null | I've found this pattern makes DI worthwhile to me.
I have two websites, a user facing high load site that needs aggressive caching, and a admin site that needs no caching at all.
I want to consolidate data access into a common repository. Lets pretend its a blog, and also extremely simplify the interface:
pub... | null | 0 | 1318865826 | False | 0 | c2s680p | t3_lf1px | null | t1_c2s680p | t3_lf1px | null | 1427743582 | 5 | t5_2fwo | null | null | null |
True | 0xABADC0DA | null | Or HTTP pipelining mode -- doesn't need a new protocol and you get similar performance benefits as Spdy. Plus it works today in Opera and Firefox on all websites (Spdy only works in Chrome to Google's servers). | null | 0 | 1318865828 | False | 0 | c2s6814 | t3_ld753 | null | t1_c2s6814 | t1_c2rqcqd | null | 1427743582 | 2 | t5_2fwo | null | null | null |
True | roboduck | null | Well, frankly, duh. It's not too late to learn how to ______, where you can fill ANYTHING in the blank. | null | 0 | 1318865919 | False | 0 | c2s68gy | t3_lf038 | null | t1_c2s68gy | t3_lf038 | null | 1427743588 | 15 | t5_2fwo | null | null | null |
True | runedk | null | I know of none. I am simply arguing that the reasoning of the blog entry is flawed:
I understand the argument in the entry as: DI forces you to extract interfaces => extracting interfaces are necessary for mocking => mocking is necessary for proper testing which is will make sure your code is good. Therefore usi... | null | 0 | 1318866072 | False | 0 | c2s69a7 | t3_lf1px | null | t1_c2s69a7 | t1_c2s64jn | null | 1427743598 | 1 | t5_2fwo | null | null | null |
True | 0xABADC0DA | null | You can get the same visible performance improvements with HTTP pipelining. Just use Opera where it's on by default or in Firefox set "network.http.pipelining=true" in about:config.
Chrome doesn't support pipelining yet but they might be [working on it](http://code.google.com/p/chromium/issues/detail?id=8991) as a 's... | null | 0 | 1318866094 | False | 0 | c2s69eg | t3_ld753 | null | t1_c2s69eg | t1_c2rrm5j | null | 1427743600 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318866220 | False | 0 | c2s6a0p | t3_lehrj | null | t1_c2s6a0p | t1_c2s4xti | null | 1427743609 | 1 | t5_2fwo | null | null | null |
True | rkenned | null | One thing I like about doing the configuration with Java code as opposed to XML (Spring 3.x new feature) is that the vast majority of your config issues will be caught at compile time. | null | 0 | 1318866276 | False | 0 | c2s6aac | t3_lf1px | null | t1_c2s6aac | t1_c2s5h6e | null | 1427743611 | 8 | t5_2fwo | null | null | null |
True | FoolishClownfish | null | Well, in this case I was the decision-maker and the programmer, so it worked out well. I fully agree that the first time you implement a program of any complexity, it should be treated as a prototype, because you will learn so much implementing it the first time. The trick is convincing the management types that re-i... | null | 0 | 1318866281 | False | 0 | c2s6abd | t3_ldgye | null | t1_c2s6abd | t1_c2s3x2d | null | 1427743612 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | > What you're left with is a mysterious glob of code that works - and maybe even works exceptionally well - but is incredibly hard to reason about. You can't just sit down and start changing stuff to make it look nicer, because you will violate some hidden rule that keeps the whole thing working smoothly.
I have se... | null | 0 | 1318866499 | False | 0 | c2s6bce | t3_lehrj | null | t1_c2s6bce | t3_lehrj | null | 1427743626 | 6 | t5_2fwo | null | null | null |
True | chneukirchen | null | Their problem, no? | null | 0 | 1318866509 | False | 0 | c2s6bgv | t3_le3tg | null | t1_c2s6bgv | t1_c2s5fwy | null | 1427743635 | 4 | t5_2fwo | null | null | null |
True | filthgrinder | null | I gotta try this. | null | 0 | 1318866620 | False | 0 | c2s6c29 | t3_lf038 | null | t1_c2s6c29 | t3_lf038 | null | 1427743635 | 2 | t5_2fwo | null | null | null |
True | ash_gti | null | Is it feasible to re-write NumPy and/or say Matplotlib to be a C library and use Ctypes to interface?
I am just curious, it seems lots of other python implementations try to implement Ctypes, but may or may not have compatible C level APIs. This seems like it could be a way of having various libraries work with pytho... | null | 0 | 1318866772 | False | 0 | c2s6ctw | t3_lez71 | null | t1_c2s6ctw | t3_lez71 | null | 1427743644 | 8 | t5_2fwo | null | null | null |
True | footpole | null | Why start with c? | null | 0 | 1318866927 | False | 0 | c2s6dll | t3_lf038 | null | t1_c2s6dll | t1_c2s5io1 | null | 1427743655 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318867024 | False | 0 | c2s6e2g | t3_lehrj | null | t1_c2s6e2g | t1_c2s6a0p | null | 1427743661 | 1 | t5_2fwo | null | null | null |
True | jakkarth | null | > Just because it has a computer in it doesn't make it programming.
Please see the sidebar for more information. | null | 0 | 1318867095 | False | 0 | c2s6een | t3_lf7ip | null | t1_c2s6een | t3_lf7ip | null | 1427743666 | 2 | t5_2fwo | null | null | null |
True | jimbolla | null | Absolutely. I work on a decent sized C# web application that uses the [Autofac](http://code.google.com/p/autofac/) DI framework. We have many service classes that each often depend on several other service classes. (Trying to do good by Single Responsibility Principle.) By the time to you get up to the MVC controllers ... | null | 0 | 1318867162 | False | 0 | c2s6eqg | t3_lf1px | null | t1_c2s6eqg | t3_lf1px | null | 1427743680 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | Performance is absolutely critical (financial trading systems/high frequency trading), and it needs to be achieved with minimal work on the part of the clients using the code. Developers here have different backgrounds, different areas of expertise and so a policy we have is that the writer of any code bears the burde... | null | 0 | 1318867284 | False | 0 | c2s6fbo | t3_le3tg | null | t1_c2s6fbo | t1_c2s64ym | null | 1428192234 | 3 | t5_2fwo | null | null | null |
True | noscreenname | null | I started programming with c when I was 18. Now, I work as software developer. So don't get discouraged, stick to whatever book/tutorial you are following and if you really like it, it will come naturally. | null | 0 | 1318867341 | False | 0 | c2s6fm1 | t3_lf038 | null | t1_c2s6fm1 | t1_c2s60vw | null | 1427743687 | 2 | t5_2fwo | null | null | null |
True | ISV_Damocles | null | And that's frankly a bafflingly modest goal whose side effects in confusing new developers to the language are far more detrimental than the minor benefit in slightly more intelligent analysis of supposedly static types (that this particular programmer may be intentionally breaking because the language lets him).
Do y... | null | 0 | 1318867360 | False | 0 | c2s6fpa | t3_l9v2n | null | t1_c2s6fpa | t1_c2rxcms | null | 1427743688 | 1 | t5_2fwo | null | null | null |
True | gjs278 | null | >visit sites that might be dangerous then it's a good tool
the only thing it "might be dangerous" involving javascript is data getting stolen. if you don't even trust the website enough to allow javascript, why do you trust it enough with your login details? | null | 0 | 1318867388 | False | 0 | c2s6ful | t3_ldz7c | null | t1_c2s6ful | t1_c2s5qy6 | null | 1427743689 | 0 | t5_2fwo | null | null | null |
True | wallychamp | null | Hoverboards, got it. | null | 0 | 1318867488 | False | 0 | c2s6gcm | t3_lf038 | null | t1_c2s6gcm | t1_c2s5qed | null | 1427743695 | 14 | t5_2fwo | null | null | null |
True | [deleted] | null | Yes, it is, at least for me. And for quite a number of others, it seems. It is certainly easier to type. | null | 0 | 1318867488 | False | 0 | c2s6gcu | t3_lf2w2 | null | t1_c2s6gcu | t1_c2s5ykl | null | 1427743695 | 2 | t5_2fwo | null | null | null |
True | xTRUMANx | null | I'm convinced that this is even necessary. Up until now all I've been using DI frameworks for was to bind a certain interface to a certain class so that the framework would handle the instantiation for me like your above line of code.
> `Container.RegisterType<IPostRepository, Repository.PostRepository>();`
... | null | 0 | 1318867493 | False | 0 | c2s6gdm | t3_lf1px | null | t1_c2s6gdm | t1_c2s680p | null | 1427743695 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | have to start somewhere, not like it really matters any beyond fanboyism what language you begin with | null | 0 | 1318867606 | False | 0 | c2s6gxv | t3_lf038 | null | t1_c2s6gxv | t1_c2s6dll | null | 1427743702 | 2 | t5_2fwo | null | null | null |
True | pnpbios | null | Why not? | null | 0 | 1318867647 | False | 0 | c2s6h6g | t3_lf038 | null | t1_c2s6h6g | t1_c2s6dll | null | 1427743708 | 23 | t5_2fwo | null | null | null |
True | reddituser780 | null | There will ALWAYS be new good ideas, and it will always seem everything's been done.
Try /r/somebodymakethis | null | 0 | 1318867709 | False | 0 | c2s6hj1 | t3_lf038 | null | t1_c2s6hj1 | t1_c2s57ai | null | 1427743707 | 3 | t5_2fwo | null | null | null |
True | Vanthu | null | I took a programming class in high school. It was plugging wires into a board and using punch cards. I got the best grade in the class. It didn't captivate me. I wanted a real job so I became a maintenance mechanic.
I graduated with my Computer Science degree 28 years later at age 45.
It's been 10 years since I grad... | null | 0 | 1318867753 | False | 0 | c2s6hqp | t3_lf038 | null | t1_c2s6hqp | t3_lf038 | null | 1427743719 | 139 | t5_2fwo | null | null | null |
True | xTRUMANx | null | > I'm not opposed to these type of frameworks is that it encourages "best practices" of keeping your application modular instead of having tightly coupled code
Although that's a good thought, you seem to be encouraging having more dependencies that could cause bugs out of your reach to fix for the sole benefit of e... | null | 0 | 1318867841 | False | 0 | c2s6i6y | t3_lf1px | null | t1_c2s6i6y | t1_c2s5yfk | null | 1427743722 | 3 | t5_2fwo | null | null | null |
True | Boko_ | null | >It is difficult!
Programming is -not- difficult. Programming efficiently is difficult.
With just a couple weeks of experience and a bit of imagination, you can make a lot of cool things.. though when other more experienced programmers see your code, they're going to be thinking "What the heck.. why didn't you jus... | null | 0 | 1318867939 | False | 0 | c2s6ipn | t3_lf038 | null | t1_c2s6ipn | t3_lf038 | null | 1427743727 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318867950 | False | 0 | c2s6irf | t3_ld8jp | null | t1_c2s6irf | t1_c2rrqlh | null | 1427743726 | 2 | t5_2fwo | null | null | null |
True | ryeguy146 | null | And for *fun*. I'm versed in C, but it's not the language I'd pick for fun. It does have a simple elegance to it, but fun is not an adjective I'd apply. | null | 0 | 1318868016 | False | 0 | c2s6j52 | t3_lf038 | null | t1_c2s6j52 | t1_c2s6dll | null | 1427743731 | 8 | t5_2fwo | null | null | null |
True | akdas | null | > My biggest issue is that it seems all the good ideas have been done already.
What's your academic background in CS (not programming, in actual computer science)? Being at a research-oriented university, I can guarantee you there's a *huge* number of open problems. Some of these are the really hard ones that you m... | null | 0 | 1318868050 | False | 0 | c2s6jaq | t3_lf038 | null | t1_c2s6jaq | t1_c2s57ai | null | 1427743732 | 5 | t5_2fwo | null | null | null |
True | bobindashadows | null | HTTP pipelining is disabled by default on all major browsers because of its flaws (mandatory FIFO means head-of-line or lost packets kill its performance), it doesn't work over most proxies, and it *doesn't* work on all websites because there's still tons of buggy old web servers out there that fuck it up (looking at y... | null | 0 | 1318868092 | False | 0 | c2s6ji2 | t3_ld753 | null | t1_c2s6ji2 | t1_c2s6814 | null | 1427743735 | 2 | t5_2fwo | null | null | null |
True | paolog | null | Well, strictly speaking, the adjective is "delible", but who the hell would understand that? Use "deletable" and "deleter" if you want - they are perfectly understandable (and both are actually dictionary words already...). Who cares what you use as long as its understandable to the reader, which is all that counts? | null | 0 | 1318868102 | False | 0 | c2s6jjo | t3_lf2w2 | null | t1_c2s6jjo | t1_c2s621f | null | 1427743735 | 4 | t5_2fwo | null | null | null |
True | ryeguy146 | null | Look into feature oriented software design. I just listened to a podcast about it and it sounds like an interesting up and coming project. Work with Pypy, their development is something new. There are all sorts of projects out there that are fresh. | null | 0 | 1318868180 | False | 0 | c2s6jxt | t3_lf038 | null | t1_c2s6jxt | t1_c2s57ai | null | 1427743738 | 2 | t5_2fwo | null | null | null |
True | footpole | null | It can be quite daunting for a beginner. It's not fanboyism to suggest trying something else. Depending on what he's trying to achieve, there are probably better alternatives. | null | 0 | 1318868252 | False | 0 | c2s6kc1 | t3_lf038 | null | t1_c2s6kc1 | t1_c2s6gxv | null | 1427743743 | 2 | t5_2fwo | null | null | null |
True | Boko_ | null | Whenever you come across something you're unsure of how to implement, go through it step by step in pseudo terms. (This probably sounds obvious.. but it helps) By pseudo terms, I mean like try to explain what you want as if you were explaining it to someone who knows nothing about programming or from a perspective of w... | null | 0 | 1318868317 | False | 0 | c2s6koz | t3_lf038 | null | t1_c2s6koz | t1_c2s5io1 | null | 1427743756 | 8 | t5_2fwo | null | null | null |
True | footpole | null | See my reply below. Also, I agree with c not being the fun choice. | null | 0 | 1318868324 | False | 0 | c2s6kqc | t3_lf038 | null | t1_c2s6kqc | t1_c2s6h6g | null | 1427743755 | 1 | t5_2fwo | null | null | null |
True | imgonnacallyouretard | null | There are numerous inefficiencies associated with TCP. It's time for a new protocol. | null | 0 | 1318868601 | False | 0 | c2s6m8w | t3_ld753 | null | t1_c2s6m8w | t1_c2s6814 | null | 1427743771 | 1 | t5_2fwo | null | null | null |
True | Solon1 | null | The biggest reason to learn Haskell is the intellectual superiority you'll have over your fellow programmers. Sure, that doesn't seem like a practical reason, but why is everyone "learning" Haskell, but so few programs on Github and Sourceforge are actually written in Haskell? Intellectualism is a big motivator. | null | 0 | 1318868672 | False | 0 | c2s6mml | t3_lde7w | null | t1_c2s6mml | t3_lde7w | null | 1427743777 | 1 | t5_2fwo | null | null | null |
True | rkenned | null | Ahh, yeah, that's no longer required if you use Mockito. I tend to use Mockito for all my mocking needs, so I didn't really get the author's point when he said
>... They realize that injecting mocks and stubs into your classes when testing means that you’re using alternative implementations of your interfaces and... | null | 0 | 1318868697 | False | 0 | c2s6mrs | t3_lf1px | null | t1_c2s6mrs | t1_c2s69a7 | null | 1427743779 | 3 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.