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 | theoldboy | null | Underscore Holy War round 3654795769 ... go!
| null | 0 | 1318874945 | False | 0 | c2s7mtf | t3_lf2w2 | null | t1_c2s7mtf | t1_c2s5ykl | null | 1427744246 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | >Is anyone really fucking stupid enough to set their system to GMT then calculate local time each time? Really?
This is how almost all software on almost all UNIX and UNIX-like systems works. So yes, thousands of programmers, system administrators and engineers over the past 50 years are "fucking stupid enough" to ... | null | 0 | 1318874982 | False | 0 | c2s7n1m | t3_le7ky | null | t1_c2s7n1m | t1_c2s7c4j | null | 1427744248 | 6 | t5_2fwo | null | null | null |
True | bplus | null | Well then get off reddit and start programming, no, really!
If you fancy a challenge start with this free book:
http://savannah.nongnu.org/projects/pgubook/
It's tough but I think it's the correct way to introduce programming. No IDEs, just you, a text editor and an assembler.
I've been programming about six years,... | null | 0 | 1318874993 | False | 0 | c2s7n3s | t3_lf038 | null | t1_c2s7n3s | t1_c2s7b2c | null | 1427744249 | 13 | t5_2fwo | null | null | null |
True | gjs278 | null | >that's not true, javascript vulnerabilities can be used to steal credentials and allow further escalation.
tell me these magical websites that you can even enter credentials that don't require javascript. you can't use reddit without javascript. you can't use half of google without javascript. what websites are yo... | null | 0 | 1318875158 | False | 0 | c2s7nzr | t3_ldz7c | null | t1_c2s7nzr | t1_c2s7mfb | null | 1427744261 | 0 | t5_2fwo | null | null | null |
True | grauenwolf | null | How is that any different from a factory method that returns the correct version of the repository? | null | 0 | 1318875159 | False | 0 | c2s7o07 | t3_lf1px | null | t1_c2s7o07 | t1_c2s680p | null | 1427744262 | 3 | t5_2fwo | null | null | null |
True | kasbah | null | Does the OP's link or your qmake project link together seperate .pde files like the IDE does? This has been the only reason why I still have to open it occasionally. The makefiles I have scavenged so far cannot do this. | null | 0 | 1318875228 | False | 0 | c2s7odl | t3_lf57z | null | t1_c2s7odl | t1_c2s5yj7 | null | 1427744267 | 2 | t5_2fwo | null | null | null |
True | DeepDuh | null | It wasn't about your accent - of course since I can't hear it - it was about using 'nice' after a sentence for sarcastic effect. | null | 0 | 1318875240 | False | 0 | c2s7ogd | t3_ldz7c | null | t1_c2s7ogd | t1_c2s71n8 | null | 1427744267 | 0 | t5_2fwo | null | null | null |
True | kasbah | null | It is actually based of the Processing IDE. | null | 0 | 1318875262 | False | 0 | c2s7okf | t3_lf57z | null | t1_c2s7okf | t1_c2s773a | null | 1427744270 | 3 | t5_2fwo | null | null | null |
True | grauenwolf | null | I don't trust anything that claims to provide "separation of concerns". I would rather see tools claim to solve specific problems than broad, poorly defined concepts. | null | 0 | 1318875283 | False | 0 | c2s7opa | t3_lf1px | null | t1_c2s7opa | t1_c2s5u5s | null | 1427744271 | -2 | t5_2fwo | null | null | null |
True | cronus42 | null | It's not particularly unreliable, but the amount of work that goes into debugging when something is wrong is extreme.
Examples:
We've had to disable parallel GC at runtime because of a "stop the world" type blocking condition that occurs without fail. At the time we discovered it, the parallel GC feature was marked a... | null | 0 | 1318875290 | False | 0 | c2s7oqt | t3_lde7w | null | t1_c2s7oqt | t1_c2s00em | null | 1427744271 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318875339 | False | 0 | c2s7p04 | t3_lf038 | null | t1_c2s7p04 | t1_c2s5io1 | null | 1427744275 | 8 | t5_2fwo | null | null | null |
True | some_dev | null | I'd agree that it's relatively uninteresting, but that doesn't mean its widely used. Its all-too-common for programmers to write code that acquires its own dependencies with no alternative DI constructor. Even worse, I see the "service locator" pattern quite a lot. | null | 0 | 1318875444 | False | 0 | c2s7pl8 | t3_lf1px | null | t1_c2s7pl8 | t1_c2s5fzh | null | 1427744282 | 1 | t5_2fwo | null | null | null |
True | TheKingOfPoon | null | thank you! | null | 0 | 1318875517 | False | 0 | c2s7q0u | t3_leeo8 | null | t1_c2s7q0u | t1_c2s007s | null | 1427744288 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | > We have many service classes that each often depend on several other service classes.
Sounds like you have replaced the "Single Responsibility Principle" with the "Not My Responsibility Principle". Perhaps it is time to start moving stuff around so that you don't have such a tangled web of inter-dependencies. | null | 0 | 1318875551 | False | 0 | c2s7q7e | t3_lf1px | null | t1_c2s7q7e | t1_c2s6eqg | null | 1427744290 | 1 | t5_2fwo | null | null | null |
True | Timmmmbob | null | Yes. `.pde` files are just renamed `.cpp` files. Part of Arduino's weird view that renaming things makes stuff friendlier (c.f. "sketches"). | null | 0 | 1318875554 | False | 0 | c2s7q80 | t3_lf57z | null | t1_c2s7q80 | t1_c2s7odl | null | 1427744290 | 3 | t5_2fwo | null | null | null |
True | Timmmmbob | null | Heh, no. Arduino and Eclipse are about as far apart as you can get, in all dimensions except awfulness! | null | 0 | 1318875621 | False | 0 | c2s7ql7 | t3_lf57z | null | t1_c2s7ql7 | t1_c2s773a | null | 1427744295 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | Whenever I see objects that cannot be instantiated to usable initial state via constructors I curse the ancestors of programmer who wrote the code. | null | 0 | 1318875649 | False | 0 | c2s7qpu | t3_lf1px | null | t1_c2s7qpu | t1_c2s6n1o | null | 1427744297 | 7 | t5_2fwo | null | null | null |
True | StrangeWill | null | Yeah, but at least with C you pick up a familiar syntax and such, and you're a skip and a jump away from C++, which is a hell of a lot more useful than assembly. | null | 0 | 1318875705 | True | 0 | c2s7r3h | t3_lf038 | null | t1_c2s7r3h | t1_c2s7cof | null | 1427744302 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | My problem is that I've never seen someone use a DI framework correctly. Instead of using it just to create the object graphs at startup they smear it all over the application so that pratically every class needs to know about the DI logic. | null | 0 | 1318875728 | False | 0 | c2s7r7l | t3_lf1px | null | t1_c2s7r7l | t1_c2s7h4j | null | 1427744303 | -3 | t5_2fwo | null | null | null |
True | grauenwolf | null | No one cares about the dependency injection in the sense that you pass something to a constructor. That is such a basic technique it doesn't even need a name. | null | 0 | 1318875821 | False | 0 | c2s7rsc | t3_lf1px | null | t1_c2s7rsc | t1_c2s5epu | null | 1427744311 | 3 | t5_2fwo | null | null | null |
True | omnilynx | null | That's great, but refactoring isn't usually avoided because it breaks things: as long as you're doing sufficient testing, that can be fixed. It's avoided because it takes a long time. When he says "the real key is taking time... It won't be something you can just inject into your daily routine, spend ten minutes a day ... | null | 0 | 1318875984 | False | 0 | c2s7spk | t3_lehrj | null | t1_c2s7spk | t3_lehrj | null | 1427744323 | 1 | t5_2fwo | null | null | null |
True | Tordek | null | Ah, crap. Yeah, [RFC 2181](http://tools.ietf.org/html/rfc2181#section-10.1) clarifies stuff about cnames and is more explicit:
> An alias name (label of a CNAME record) may,
if DNSSEC is in use, have SIG, NXT, and KEY RRs, but may have no
other data. That is, for any label in the DNS (any domain name)
ex... | null | 0 | 1318875995 | False | 0 | c2s7ssf | t3_lcoln | null | t1_c2s7ssf | t1_c2s4ln8 | null | 1427744324 | 2 | t5_2fwo | null | null | null |
True | jimbolla | null | It's not like that at all. There are a lot of services because the app does a lot of things, tons of database access, logging, emailing, ftp, excel generation, file importing, etc. They are neither tangled nor interdependent; I have worked carefully to keep the dependency chain almost completely acyclic. The DI framewo... | null | 0 | 1318876026 | False | 0 | c2s7syv | t3_lf1px | null | t1_c2s7syv | t1_c2s7q7e | null | 1427744326 | 5 | t5_2fwo | null | null | null |
True | Poddster | null | Keep on preaching. | null | 0 | 1318876028 | False | 0 | c2s7sz0 | t3_lf2w2 | null | t1_c2s7sz0 | t3_lf2w2 | null | 1427744326 | 1 | t5_2fwo | null | null | null |
True | dnew | null | > not the same
So? I mean, I don't see your point. Inline assembly isn't C. It's assembly. It's right there in the name, even. :-) Or are you saying that every language with inline assembler is as powerful as C when it comes to writing "full access to the system" code? I'll grant you that most languages that giv... | null | 0 | 1318876083 | False | 0 | c2s7tag | t3_l7gl3 | null | t1_c2s7tag | t1_c2s3p50 | null | 1427744330 | 1 | t5_2fwo | null | null | null |
True | phaedrusalt | null | One large (and eventually futile) project at JPL had a meeting every week for months to decide how to implement a single bit of functionality. The answer would flip-flop between the two possible answers each time, and we'd have to take that as our "new" marching orders. Once, I voiced my opinion that we'd be getting ... | null | 0 | 1318876154 | False | 0 | c2s7tpx | t3_ld22x | null | t1_c2s7tpx | t1_c2s3a60 | null | 1427744337 | 2 | t5_2fwo | null | null | null |
True | vagif | null | Cursing is not gonna help.
Generally this is just another evidence that programming based on unenforceable conventions and recommendations always fails. That's why we have to introduce GC, because saying "don't forget to release memory" does not help. If something can be done, it will be done. If objects can be create... | null | 0 | 1318876203 | True | 0 | c2s7u04 | t3_lf1px | null | t1_c2s7u04 | t1_c2s7qpu | null | 1427744340 | -2 | t5_2fwo | null | null | null |
True | benihana | null | Holy shit, you just solved software development!!!
just use good design!! It's so simple and obvious now!! | null | 0 | 1318876211 | False | 0 | c2s7u12 | t3_lf1px | null | t1_c2s7u12 | t1_c2s77ui | null | 1427744341 | 12 | t5_2fwo | null | null | null |
True | PilotPirx | null | Every good idea opens new space for more ideas. IT is just crazy with that. Every year brings new platforms, new communities, new opportunities for creativity. Things that where difficult yesterday you can have at your fingertips today, just a few commands away. Take 3D graphics for example, rich internet applications ... | null | 0 | 1318876233 | False | 0 | c2s7u5n | t3_lf038 | null | t1_c2s7u5n | t1_c2s57ai | null | 1427744342 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | While I agree that people "don't always do things the right way", adding a another layer for them to mess up isn't the answer. | null | 0 | 1318876349 | False | 0 | c2s7uu1 | t3_lf1px | null | t1_c2s7uu1 | t1_c2s7mjc | null | 1427744350 | -2 | t5_2fwo | null | null | null |
True | freakish777 | null | Another great way to guard against this is having your resume ready to go and potential interviews lined up. The day that Senior Dev decides to retire and that Legacy code base becomes your responsibility (and you aren't in charge of a re-writing it with others) is the day you start looking for something that won't dr... | null | 0 | 1318876356 | False | 0 | c2s7uv1 | t3_lehrj | null | t1_c2s7uv1 | t1_c2s5rve | null | 1427744350 | 2 | t5_2fwo | null | null | null |
True | phaedrusalt | null | What kind of a lame-ass company uses an open environment these days? If that's their idea of getting code done then I'm afraid your job won't last long, that company is doomed. Sorry. | null | 0 | 1318876402 | False | 0 | c2s7v3q | t3_ld22x | null | t1_c2s7v3q | t1_c2s60ic | null | 1427744355 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | Sadly that is the solution. A simple and obvious design eliminates the need for a dependency injection framework. | null | 0 | 1318876407 | False | 0 | c2s7v4z | t3_lf1px | null | t1_c2s7v4z | t1_c2s7u12 | null | 1427744355 | 1 | t5_2fwo | null | null | null |
True | wh44 | null | > Candidate #1 in those slides is a bad programmer. He looked at the bad code, didn't really know which code was bad or good, and even if he thought code was bad, he didn't know why.
Wrong: he knew which code was bad and how to fix it, too. He just fixed more than needed and didn't know what would happen when you c... | null | 0 | 1318876427 | False | 0 | c2s7v8e | t3_l6yn1 | null | t1_c2s7v8e | t1_c2s734t | null | 1427744356 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | He does: http://www.jeffwofford.com/?p=838 | null | 0 | 1318876650 | False | 0 | c2s7wk2 | t3_ld22x | null | t1_c2s7wk2 | t1_c2rua4b | null | 1427744373 | 2 | t5_2fwo | null | null | null |
True | lostraven | null | This will probably get lost in here, but I've been thinking about this idea over the last couple of nights.
Every time I go into r/gaming I find at least one (if not many more) posts replete with nostalgia or desire for a certain type of game/game aspect. Last night it was a thread about [missing cheat codes](http://... | null | 0 | 1318876679 | False | 0 | c2s7wq4 | t3_lf038 | null | t1_c2s7wq4 | t3_lf038 | null | 1427744376 | 1 | t5_2fwo | null | null | null |
True | antpocas | null | Proper personal hygiene and having a social life and learning how to program well are not mutually exclusive, and avoiding sleep and food will do more harm than good. | null | 0 | 1318876753 | False | 0 | c2s7x5h | t3_lf038 | null | t1_c2s7x5h | t1_c2s5s3m | null | 1427744382 | 1 | t5_2fwo | null | null | null |
True | frezik | null | That's half the trouble, I think. It's a big, scary sounding term for a pretty basic idea. | null | 0 | 1318876788 | False | 0 | c2s7xca | t3_lf1px | null | t1_c2s7xca | t1_c2s7rsc | null | 1427744384 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | I find that a simple two-layer approach handles this nicely.
** Layer 1: Service Context **
This contains every low level service. Depending on the implementation, each service may accessed via a singleton or a factory method.
Any sort of mocking is done at this level.
If DI is still needed, it is hidden inside thi... | null | 0 | 1318876796 | False | 0 | c2s7xe1 | t3_lf1px | null | t1_c2s7xe1 | t1_c2s7syv | null | 1427744384 | 2 | t5_2fwo | null | null | null |
True | xTRUMANx | null | I've got a hunch that a lot of folks use DI frameworks precisely to solve this trivial problem. Wouldn't it be best to inform folks that if that's what they use DI frameworks for perhaps the example code I pasted above may be a better solution? | null | 0 | 1318876807 | False | 0 | c2s7xgj | t3_lf1px | null | t1_c2s7xgj | t1_c2s6o1b | null | 1427744385 | 2 | t5_2fwo | null | null | null |
True | l33t_d0nut | null | Thanks. It adds a few things that PowerGUI doesn't support such as a PowerShell Project system and integration into the DTE. | null | 0 | 1318876819 | False | 0 | c2s7xjg | t3_lfby4 | null | t1_c2s7xjg | t1_c2s7lwi | null | 1427744386 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I think you and the author are in agreement. See his updates: http://www.jeffwofford.com/?p=838
He's not advocating that you should churn out a bunch of shit code. | null | 0 | 1318876840 | True | 0 | c2s7xna | t3_ld22x | null | t1_c2s7xna | t1_c2rq3u7 | null | 1427744388 | 1 | t5_2fwo | null | null | null |
True | gregK | null | [ “Mock objects and dependency injection are just for people who don't know math.” ](http://www.youtube.com/watch?v=8Mttjyf-8P4#t=7m50s)
--Erik Meijer | null | 0 | 1318876841 | True | 0 | c2s7xnl | t3_lf1px | null | t1_c2s7xnl | t3_lf1px | null | 1427744388 | 12 | t5_2fwo | null | null | null |
True | freakish777 | null | >Regression test relentlessly. Integrate continuously.
Absolutely. Dev, Test, Staging, and Prod environments along with good branching tools allows for this. Want to change something? Touch the code and play with it. Make sure you know what cases it currently supports (I think this is where the author is referr... | null | 0 | 1318876863 | False | 0 | c2s7xrn | t3_lehrj | null | t1_c2s7xrn | t1_c2s70n9 | null | 1427744389 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | First I would like to know why y ans z are copies of x.
As a general rule I don't reassign local variables. With the exception of index variables and counters, there just never seems to be a good reason to. | null | 0 | 1318876975 | False | 0 | c2s7ygn | t3_l6uwv | null | t1_c2s7ygn | t1_c2s4v7n | null | 1427744398 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | That is somewhat an American colloquialism. | null | 0 | 1318877113 | False | 0 | c2s7z8y | t3_ldz7c | null | t1_c2s7z8y | t1_c2s7ogd | null | 1427744408 | 1 | t5_2fwo | null | null | null |
True | Poddster | null | I just had to look up what DI is.
Why do we need a confusing name to describe "not choosing the class you're going to use at compile time, but dynamically at run time". Standard interface stuff. It's just filling out a callback. Programs from the 80s written in C do this. | null | 0 | 1318877137 | False | 0 | c2s7zeh | t3_lf1px | null | t1_c2s7zeh | t3_lf1px | null | 1427744410 | 13 | t5_2fwo | null | null | null |
True | [deleted] | null | I did a C++, assembly and Java (I don't remember doing that one but I was reassured at Graduation by my classmates that I did) courses whilst doing EE, in that order.
I never really understood or liked programming until my 4th year; I had to do a big image-processing assignment in Matlab. I couldn't be fucked to deal... | null | 0 | 1318877214 | False | 0 | c2s7zvx | t3_lf038 | null | t1_c2s7zvx | t1_c2s5dsc | null | 1427744418 | 3 | t5_2fwo | null | null | null |
True | byteflow | null | ) | null | 0 | 1318877224 | False | 0 | c2s7zyi | t3_lf7o7 | null | t1_c2s7zyi | t3_lf7o7 | null | 1427744419 | 15 | t5_2fwo | null | null | null |
True | kristovaher | null | Cheers :) | null | 0 | 1318877271 | False | 0 | c2s807c | t3_kvpld | null | t1_c2s807c | t1_c2s7jzw | null | 1427744422 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | > A nice evolution is using annotations or attributes (in C#). That way code and DI is all on one spot. This makes refactoring easier since you're not hunting for the right config xml. It doesn't solve the compiler checking to ensure the right object types are actually wired together, however it is pretty easy to fi... | null | 0 | 1318877290 | False | 0 | c2s80b4 | t3_lf1px | null | t1_c2s80b4 | t1_c2s5nl6 | null | 1427744423 | 2 | t5_2fwo | null | null | null |
True | Pet_Ant | null | > As far as I'm concerned, dependency injection just adds another point of failure to the code base, any time you modify a data structure, you have to modify your DI.
Uhm, no, you are doing it wrong. When you use DI you usually have an interface and several implementations of that interface. Only if you change the ... | null | 0 | 1318877355 | False | 0 | c2s80mx | t3_lf1px | null | t1_c2s80mx | t1_c2s72ti | null | 1427744428 | 4 | t5_2fwo | null | null | null |
True | MisterSnuggles | null | The WinAVR distribution takes care of a lot of this stuff already, and includes a nice tool to generate Makefiles for a variety of chips and programmers. That said, this is much lighter weight and not limited to Windows.
The only thing that I found strange is that the author chose to use Rake instead of the usual 'ma... | null | 0 | 1318877370 | False | 0 | c2s80po | t3_lf57z | null | t1_c2s80po | t3_lf57z | null | 1427744428 | 2 | t5_2fwo | null | null | null |
True | Poddster | null | I agree. UPVOTED. | null | 0 | 1318877402 | False | 0 | c2s80xc | t3_lehrj | null | t1_c2s80xc | t1_c2s2ic0 | null | 1428243045 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | http://lambda-the-ultimate.org/node/3619 | null | 0 | 1318877415 | False | 0 | c2s80zj | t3_lf1px | null | t1_c2s80zj | t1_c2s7xnl | null | 1427744431 | 1 | t5_2fwo | null | null | null |
True | jimbolla | null | Yours is probably a very adequate solution for many projects. My solution is very adequate for my project. | null | 0 | 1318877427 | False | 0 | c2s8121 | t3_lf1px | null | t1_c2s8121 | t1_c2s7xe1 | null | 1427744433 | 3 | t5_2fwo | null | null | null |
True | burdalane | null | I first tried programming as a kid. I took AP Computer Science in high school and majored in computer science in college. Writing fairly simple programs was never a problem, but I still have trouble writing more complicated application by myself. | null | 0 | 1318877471 | False | 0 | c2s81c8 | t3_lf038 | null | t1_c2s81c8 | t3_lf038 | null | 1427744436 | 1 | t5_2fwo | null | null | null |
True | Poddster | null | >So I guess the answer to "what's the largest codebase you've worked with" is "So big no human can understand more than a tiny slice of it" at which point getting bigger doesn't matter.
Are you actually editing that code?
Code you can edit = code you work with. | null | 0 | 1318877493 | False | 0 | c2s81ge | t3_lehrj | null | t1_c2s81ge | t1_c2s7abj | null | 1427744438 | 1 | t5_2fwo | null | null | null |
True | notfancy | null | Very amusing comment by Paul at 16:00. While I agree with the general sentiment, I find it a poorly executed argument: you *might* need indirection, but you probably don't need it *now*, so don't complicate your life and your tests by abstracting before its time. Everything else is rules of thumb elevated to dogma and ... | null | 0 | 1318877505 | True | 0 | c2s81jf | t3_lf1px | null | t1_c2s81jf | t1_c2s5m5r | null | 1427744439 | 6 | t5_2fwo | null | null | null |
True | lluad | null | The page linked to is SEO spam linking to an affiliate page with affiliate ID 13809 - the same affiliate ID moratwist2 [spammed earlier today](http://www.reddit.com/r/harrypotter/comments/lebxk/can_everyone_go_subscribe_to_this_daily_deal_site/) in /r/harrypotter.
Something tells me this might not be a legitimate ques... | null | 0 | 1318877599 | False | 0 | c2s822d | t3_lf9wc | null | t1_c2s822d | t3_lf9wc | null | 1427744446 | 1 | t5_2fwo | null | null | null |
True | eric_t | null | But it was not one order of magnitude, but *two* for the fast version!
And as Real World Haskell notes, lists are the "bread and butter of functional programming". It would be interesting to see someone well versed in Haskell try to optimize the code. From what I can see, it follows many of the guidelines for list fus... | null | 0 | 1318877687 | False | 0 | c2s82j5 | t3_lew0f | null | t1_c2s82j5 | t1_c2s6x6l | null | 1427744452 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318877688 | False | 0 | c2s82jg | t3_lf038 | null | t1_c2s82jg | t1_c2s7zvx | null | 1427744452 | 2 | t5_2fwo | null | null | null |
True | Kensin | null | > 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.
This is my problem. Once I figure out how to implement something, I tend to lose interest. | null | 0 | 1318877753 | False | 0 | c2s82uw | t3_lf038 | null | t1_c2s82uw | t1_c2s5tlp | null | 1427744456 | 5 | t5_2fwo | null | null | null |
True | pnpbios | null | Not me, the architect. it went data base -> stored procedures -> linq2sql -> web services -> dependency injection -> unity mvvm containers -> some more linq in the view model -> view
he wanted to add prism in there as well, but i'm not sure where it would have fit. | null | 0 | 1318877839 | False | 0 | c2s83i4 | t3_lf1px | null | t1_c2s83i4 | t1_c2s80mx | null | 1427744464 | 3 | t5_2fwo | null | null | null |
True | tophatstuff | null | ThisIsEasierToTypeThough | null | 0 | 1318877869 | False | 0 | c2s83jp | t3_lf2w2 | null | t1_c2s83jp | t1_c2s5ykl | null | 1427744465 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | I got to do assembly for 8052s (opcodes typed in directly) as my uni couldn't afford microcontroller dev kits. The 1 FPGA devkit we had was a professors and brought it in for 1 morning each week to see if our VHDL would synthesize and run. | null | 0 | 1318877872 | False | 0 | c2s83lj | t3_lf038 | null | t1_c2s83lj | t1_c2s82jg | null | 1427744466 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318877911 | False | 0 | c2s83w4 | t3_lehrj | null | t1_c2s83w4 | t1_c2s4ylv | null | 1427744469 | 1 | t5_2fwo | null | null | null |
True | chironshands | null | I didn't mean to suggest that the languages and tools can make up for bad programmers. Having disciplined programmers is of utmost importance. To elaborate my view: for some languages, it is easy to write test-suites; for some it is easy to write refactoring tools. The existence of a REPL might be of considerable advan... | null | 0 | 1318877980 | False | 0 | c2s84ap | t3_lehrj | null | t1_c2s84ap | t1_c2s4ylv | null | 1427744475 | 2 | t5_2fwo | null | null | null |
True | vincentrevelations | null | The scroll wheel on my mouse doesn't scroll horizontally. | null | 0 | 1318878022 | False | 0 | c2s84ic | t3_lez65 | null | t1_c2s84ic | t1_c2s533h | null | 1427744478 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | Your claim was this:
> Without a DI framework, this would have led to a lot of broken constructor chains that would have needed fixed manually.
I am showing you how why that is not true and how you can solve the same problem without adding a DI framework.
| null | 0 | 1318878162 | False | 0 | c2s85ao | t3_lf1px | null | t1_c2s85ao | t1_c2s8121 | null | 1427744489 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318878188 | False | 0 | c2s85hk | t3_lf1px | null | t1_c2s85hk | t1_c2s8121 | null | 1427744490 | 1 | t5_2fwo | null | null | null |
True | Poddster | null | Which is why everyone should start with some form of simple assembly, like the original ARM instruction set or something.
Honestly. | null | 0 | 1318878242 | False | 0 | c2s85sk | t3_lf038 | null | t1_c2s85sk | t1_c2s7cof | null | 1427744494 | 1 | t5_2fwo | null | null | null |
True | Game_Ender | null | Also getting PyPy to work with existing C modules is boring hard work involving debugging lots of harry C and JIT issues (crashes, memory corruption, etc). From a developers perspective it's much more exciting to explore the idea of completely replacing code you didn't write with a faster, sexier version. I am not be... | null | 0 | 1318878299 | False | 0 | c2s864x | t3_lez71 | null | t1_c2s864x | t1_c2s5o0i | null | 1427744499 | 4 | t5_2fwo | null | null | null |
True | potifar | null | It too late to learn how to ride dinosaurs :´(
*edit*: now that I think about it, I think I'm wrong. Modern birds are often classified as dinosaurs, and I would think it's possible to ride an Ostrich. Hmmm... | null | 0 | 1318878396 | True | 0 | c2s86nf | t3_lf038 | null | t1_c2s86nf | t1_c2s68gy | null | 1427744505 | 9 | t5_2fwo | null | null | null |
True | jb55 | null | It's still not necessary. Configure your repository in a function:
IPostRepository GetPostRepository(ISomeDependency dependency) {
return new DefaultPostRepository(dependency)
}
void Main() {
var someDependency = GetSomeDependency();
var postRepository = GetPostRepository(someDependency)... | null | 0 | 1318878526 | False | 0 | c2s87b3 | t3_lf1px | null | t1_c2s87b3 | t1_c2s6o1b | null | 1427744516 | 0 | t5_2fwo | null | null | null |
True | StrangeWill | null | >you can check their features and compare it with Microsoft official specs.
Why would you do that to yourself? | null | 0 | 1318878555 | False | 0 | c2s87ii | t3_lddk9 | null | t1_c2s87ii | t1_c2rvjun | null | 1427744517 | 2 | t5_2fwo | null | null | null |
True | serpent | null | > he knew which code was bad and how to fix it, too.
Sure, if you think most code which looks funny is bad, then you'll get the bad ones right (and you'll get a lot of the good ones wrong, just like candidate #1 did).
I don't think that's a sign of a good programmer. The main reason why is that he'll see code whic... | null | 0 | 1318878651 | True | 0 | c2s883q | t3_l6yn1 | null | t1_c2s883q | t1_c2s7v8e | null | 1427744525 | 0 | t5_2fwo | null | null | null |
True | potifar | null | > My biggest issue is that it seems all the good ideas have been done already.
Have you never had a moment where you've thought "man, I wish this program did [this or that]"? Start looking at the stuff you do every day and figure out little optimizations you can do with snippets of code. Once I started thinking lik... | null | 0 | 1318878698 | False | 0 | c2s88es | t3_lf038 | null | t1_c2s88es | t1_c2s57ai | null | 1427744529 | 1 | t5_2fwo | null | null | null |
True | Poddster | null | You commenting on the right article? | null | 0 | 1318878734 | False | 0 | c2s88m3 | t3_lf038 | null | t1_c2s88m3 | t1_c2s72kh | null | 1427744532 | 10 | t5_2fwo | null | null | null |
True | StrangeWill | null | >do not unit test your queries or execution time.
As much as I've been tempted (as a separate report on our CI server), the biggest glaring problem is that our dev systems get hammered by tests, debug code and CI jobs. The response times would be all over the place anyway.
Right now I'm just running [MVC Mini Prof... | null | 0 | 1318878765 | False | 0 | c2s88u3 | t3_lcoln | null | t1_c2s88u3 | t1_c2rsrmr | null | 1427744535 | 1 | t5_2fwo | null | null | null |
True | FlySwat | null | >This is the DI Antipattern: Your ORM call massively returns dependencies - a navigable graph of Entities.
Example code may or may not reflect reality.
>The promise of DI was that you need not change code. Not even a single line.
I prefer wiring in code versus XML.
| null | 0 | 1318878868 | False | 0 | c2s89em | t3_lf1px | null | t1_c2s89em | t1_c2s77a8 | null | 1427744541 | 9 | t5_2fwo | null | null | null |
True | FlySwat | null | It autowires the 500 other dependencies that may vary depending on the application context?
Seriously, all I need to do is tell my web framework to use a DI container, and it just all works.
It's hard to rationalize using a trivial example, but in a large complex application, it is a lifesaver once you are in mainten... | null | 0 | 1318878910 | True | 0 | c2s89o7 | t3_lf1px | null | t1_c2s89o7 | t1_c2s7o07 | null | 1427744545 | -1 | t5_2fwo | null | null | null |
True | SethMandelbrot | null | ; | null | 0 | 1318878932 | False | 0 | c2s89sf | t3_lf7o7 | null | t1_c2s89sf | t1_c2s7zyi | null | 1427744547 | 11 | t5_2fwo | null | null | null |
True | waitwhatthefudge | null | what books did you use to learn to code? I'm about your age and though there are tutorials - I always get sidetracked and not focused. | null | 0 | 1318878998 | False | 0 | c2s8a5p | t3_lf038 | null | t1_c2s8a5p | t1_c2s5buk | null | 1427744552 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318879000 | False | 0 | c2s8a6j | t3_lf1px | null | t1_c2s8a6j | t3_lf1px | null | 1427744552 | 1 | t5_2fwo | null | null | null |
True | StrangeWill | null | >This is the real WTF. What kind of queries take three seconds to run, that is ridiculous. Even with indexes 1.5 seconds is insane.
Yeah, I've discussed my code "being slow" at times (~250ms response, graphic heavy GDI+ garbage I have no control over), I get laughed at. :( "Anything under a second is _good_", heh. ... | null | 0 | 1318879004 | True | 0 | c2s8a6n | t3_lcoln | null | t1_c2s8a6n | t1_c2rp27t | null | 1427744552 | 1 | t5_2fwo | null | null | null |
True | bitwize | null | ObQwe1234:
> so it's still only as powerful as c++ templates?
> lame. wouldn't touch it with a ten-foot pole. | null | 0 | 1318879103 | False | 0 | c2s8apo | t3_le3tg | null | t1_c2s8apo | t1_c2s0ccu | null | 1427744559 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | The problem is that macros are usually illustrated with simple examples that transform a two-line bit of code to a one-line bit of code. E.g. AIF:
(if (some-function) (do-something it))
-- to --
(let (it (some-function)) (do-something it))
This is basically a macro that binds the result of the predic... | null | 0 | 1318879162 | False | 0 | c2s8b28 | t3_lc3ae | null | t1_c2s8b28 | t1_c2rq1lt | null | 1427744563 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | The problem is that macros are usually illustrated with simple examples that transform a two-line bit of code to a one-line bit of code. E.g. AIF:
(if (some-function) (do-something it))
-- to --
(let (it (some-function)) (do-something it))
This is basically a macro that binds the result of the predic... | null | 0 | 1318879176 | True | 0 | c2s8b4q | t3_lc3ae | null | t1_c2s8b4q | t1_c2rq1lt | null | 1427744564 | 3 | t5_2fwo | null | null | null |
True | nascent | null | > 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?
Then in C++ you must declare your function virtual so that they may be used with polymorphism, wh... | null | 0 | 1318879246 | False | 0 | c2s8bk1 | t3_kljc0 | null | t1_c2s8bk1 | t1_c2s4upx | null | 1427744571 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318879267 | False | 0 | c2s8bot | t3_lf1px | null | t1_c2s8bot | t1_c2s5fn0 | null | 1427744573 | 1 | t5_2fwo | null | null | null |
True | gonemad16 | null | i like to use camel case for functions/params and this_style_for_local_variables ... make its a bit easier to tell which vars are passed in and which were declared locally | null | 0 | 1318879333 | False | 0 | c2s8c1t | t3_lf2w2 | null | t1_c2s8c1t | t1_c2s5ykl | null | 1427744579 | 0 | t5_2fwo | null | null | null |
True | tagattack | null | After nearly 20 years of programming, am I nievë to still believe that the point of good design and object oriented programming is to *manage* and *organize* the cruft? We all know the real world is conceptually dirty, which is why Haskell has Monads and there is no simple `DateTime` or `Calendar` implementation. It'... | null | 0 | 1318879355 | False | 0 | c2s8c6u | t3_lehrj | null | t1_c2s8c6u | t3_lehrj | null | 1427744579 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | I usually see DI frameworks used as a poor man's service locator. | null | 0 | 1318879440 | False | 0 | c2s8cqq | t3_lf1px | null | t1_c2s8cqq | t1_c2s7pl8 | null | 1427744586 | 1 | t5_2fwo | null | null | null |
True | notfancy | null | > outside of OO (clojure, haskell) i could not find any use for it.
Every higher-order function is the moral equivalent of a class with constructor dependencies. | null | 0 | 1318879454 | False | 0 | c2s8cu0 | t3_lf1px | null | t1_c2s8cu0 | t1_c2s6n1o | null | 1427744587 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Proof? Whilst learning to program in your 40s is admirable, that doesn't mean he's necessarily better that the other candidates for any given programmer job. | null | 0 | 1318879503 | False | 0 | c2s8d3t | t3_lf038 | null | t1_c2s8d3t | t1_c2s769o | null | 1427744590 | -17 | t5_2fwo | null | null | null |
True | grauenwolf | null | I am automatically opposed to anything that claims to "encourage best practices" as opposed to solving a specific problem. | null | 0 | 1318879559 | False | 0 | c2s8df6 | t3_lf1px | null | t1_c2s8df6 | t1_c2s5yfk | null | 1427744594 | 0 | t5_2fwo | null | null | null |
True | lukeatron | null | More often than not, when I think I have something completely figured out before I implement it, I find out that what I was thinking isn't going to work. The process of working my way around these roadblocks tends to teach me a lot about whatever technology I'm working with. Once I get past the proof of concept, I'l... | null | 0 | 1318879597 | False | 0 | c2s8dn7 | t3_lf038 | null | t1_c2s8dn7 | t1_c2s82uw | null | 1427744597 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | What languages do you want to learn though? There are of course general books that apply to any language like algorithm books but I think if you're learning you'll want to see yourself making something so starting off with algorithm books may not be useful. | null | 0 | 1318879711 | False | 0 | c2s8ebe | t3_lf038 | null | t1_c2s8ebe | t1_c2s8a5p | null | 1427744607 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | > Maybe become active in open-source, make a name for yourself there? I hear that's a great networking opportunity.
Good luck with that. Becoming active in FOSS to "make a name for yourself" and to "network" says "lack of passion". Without passion, you won't perform and thus you won't make a name for yourself. | null | 0 | 1318879724 | False | 0 | c2s8ed4 | t3_lf038 | null | t1_c2s8ed4 | t1_c2s7b2c | null | 1427744607 | 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.