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
[deleted]
null
0
1315214192
False
0
c2hlefh
t3_k4uxf
null
t1_c2hlefh
t1_c2hkgr4
null
1427560527
3
t5_2fwo
null
null
null
True
paranoidray
null
great tutorial. I don't understand why this gets downvoted.
null
0
1315214262
False
0
c2hleji
t3_k4qrh
null
t1_c2hleji
t3_k4qrh
null
1427560533
4
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315214543
False
0
c2hlf1v
t3_k4uxf
null
t1_c2hlf1v
t1_c2hkrg0
null
1427560535
3
t5_2fwo
null
null
null
True
mikaelhg
null
Or communicating with others. Or understanding the business you're serving.
null
0
1315214732
False
0
c2hlfd8
t3_k55g9
null
t1_c2hlfd8
t1_c2hlcay
null
1427560539
9
t5_2fwo
null
null
null
True
bobindashadows
null
He was being sarcastic.
null
0
1315215030
False
0
c2hlfvl
t3_k42i7
null
t1_c2hlfvl
t1_c2hg3ym
null
1427560550
2
t5_2fwo
null
null
null
True
bobindashadows
null
Which eclipse button was that? I can't be bothered to learn manual refactoring.
null
0
1315215079
False
0
c2hlfyf
t3_k42i7
null
t1_c2hlfyf
t1_c2hkkmh
null
1427560548
10
t5_2fwo
null
null
null
True
[deleted]
null
It's the button that reserves all the memory and then a bit more.
null
0
1315215339
False
0
c2hlgdo
t3_k42i7
null
t1_c2hlgdo
t1_c2hlfyf
null
1427560552
6
t5_2fwo
null
null
null
True
kolme
null
My bullshit detector just went ring-a-ding-ding: «Step #n to become a great programmer: Don't use this programming language because I personally don't like» Edit: [Wrong tab](http://www.reddit.com/r/programming/comments/k42i7/how_to_become_a_great_software_developer_because/)
null
0
1315215425
False
0
c2hlgio
t3_k55g9
null
t1_c2hlgio
t3_k55g9
null
1427560554
2
t5_2fwo
null
null
null
True
johnwaterwood
null
Maybe it's because of a double Pavlov reaction by some guys who merely see the words "java" and "jsf" and downvote right away without even reading it? Or maybe it are some RoR guys who can't stand that JSF is now easy too? :p
null
0
1315215644
False
0
c2hlgvn
t3_k4qrh
null
t1_c2hlgvn
t1_c2hleji
null
1427560559
1
t5_2fwo
null
null
null
True
bobindashadows
null
He's pointing out that you need to duplicate the method for each type - iEnumerable, Iobservable, and so on. Higher-order type constructors (as seen in Haskell, ML, Scala) let you write the method once, while retaining type-safety.
null
0
1315215807
False
0
c2hlh5n
t3_k3pyu
null
t1_c2hlh5n
t1_c2hl4qx
null
1427560563
3
t5_2fwo
null
null
null
True
millstone
null
OO programmers have a critique of design patterns in Java, but it's from the opposite direction, that Java is insufficiently OO. Many of the traditional design patterns are necessary in Java only to work around insufficient dynamism in the language. For example, the various Factory patterns would be trivial if Java c...
null
0
1315215989
False
0
c2hlhge
t3_k56t1
null
t1_c2hlhge
t3_k56t1
null
1427560567
23
t5_2fwo
null
null
null
True
BioQuark
null
bettse
null
0
1315216012
False
0
c2hlhhc
t3_k4uxf
null
t1_c2hlhhc
t1_c2hlf1v
null
1427560569
14
t5_2fwo
null
null
null
True
Pie21
null
Something non-programming-related on a programming-related site is still nothing to do with programming. "Some seem to think this reddit is for "links that programmers might find interesting or funny". No. It's for programming links. Programming. Programming. *Programming*."
null
0
1315216023
False
0
c2hlhi0
t3_k3jqa
null
t1_c2hlhi0
t1_c2h8jjv
null
1427560569
1
t5_2fwo
null
null
null
True
akdas
null
I really like this article even if it could be augmented, because it drives home the point that you really have to keep practicing, and paying attention along the way. Incidentally, this is why a formal education at a good university is helpful. Essentially, you'll be doing exactly this, alongside theory hopefully to ...
null
0
1315216072
False
0
c2hlhkp
t3_k55g9
null
t1_c2hlhkp
t3_k55g9
null
1427560569
31
t5_2fwo
null
null
null
True
bobindashadows
null
Come on man, most programmers even interested in monads have seen the semicolon. Even the web-dev kids who have only touched Ruby have probably seen semicolons in JavaScript (unless they suk at JavaScript)
null
0
1315216073
False
0
c2hlhkv
t3_k3pyu
null
t1_c2hlhkv
t1_c2hil9z
null
1427560569
2
t5_2fwo
null
null
null
True
CyberDiablo
null
[It's already hosted there.](https://github.com/git/git)
null
0
1315216719
False
0
c2hlimi
t3_k4uxf
null
t1_c2hlimi
t1_c2hklp6
null
1427560585
7
t5_2fwo
null
null
null
True
phaker
null
It's not that bad unless your ratio projects started / projects finished is `DIVIDE BY ZERO ERROR`.
null
0
1315216960
False
0
c2hlj0j
t3_k55g9
null
t1_c2hlj0j
t1_c2hld80
null
1427560587
54
t5_2fwo
null
null
null
True
luckystarr
null
Not sure what you mean by *more object oriented* wrt constructors and procedure calls. I always though that the missing first class functions (and stand alone functions in general) that restricted Java to these byzantine command pattern constructs.
null
0
1315216970
False
0
c2hlj15
t3_k56t1
null
t1_c2hlj15
t1_c2hlhge
null
1427560587
14
t5_2fwo
null
null
null
True
perlgeek
null
That's why programming in your free time is still much fun, and will stay that way: you just chose to do those things that are fun to you. This can be working on challenging algorithms (even if somebody might have implemented something similar already -- who cares if it's for fun anyway?), or throwing together some co...
null
0
1315217053
False
0
c2hlj64
t3_k42if
null
t1_c2hlj64
t3_k42if
null
1427560590
3
t5_2fwo
null
null
null
True
rib-bit
null
> Incidentally, this is why a formal education at a good university is helpful. I found this to be true when I went but I found CS grads these days don't have a lot of theory. they don't get orders of magnitude, set theory, etc.
null
0
1315217059
False
0
c2hlj6h
t3_k55g9
null
t1_c2hlj6h
t1_c2hlhkp
null
1427560590
6
t5_2fwo
null
null
null
True
tamrix
null
>A lot of people in this thread saying C# is better, have not used C#. Programming languages are just memes as well. Whatever opinion is most up voted just circle jerks it's way into similar threads. After you read reddit long enough everyone just says the same shit again and again.
null
0
1315217463
False
0
c2hljtn
t3_k3ivo
null
t1_c2hljtn
t1_c2hbeo4
null
1427560603
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315217519
False
0
c2hljwz
t3_k4uxf
null
t1_c2hljwz
t1_c2hkrg0
null
1427560604
-1
t5_2fwo
null
null
null
True
wicked
null
Let me explain better. I wrote a Monte Carlo program that takes two unbiased sources of 8 bits, multiply them together and return the lowest 8 bits. Here are the results for the first 10 numbers. 0: 0.019601 1: 0.001977 2: 0.003907 3: 0.001992 4: 0.005882 5: 0.001953 6: 0.003839 7: 0.001955 8: 0.00792...
null
0
1315217559
False
0
c2hljz4
t3_k0y50
null
t1_c2hljz4
t1_c2gt7im
null
1427560604
3
t5_2fwo
null
null
null
True
glados_v2
null
I think the point of ezekiel is that people use unnecessary libraries and OOP to the extreme.
null
0
1315217601
False
0
c2hlk1s
t3_k42if
null
t1_c2hlk1s
t1_c2hk7a9
null
1427560604
8
t5_2fwo
null
null
null
True
divbyzero
null
Does anybody really like unqualified imports? Sure it makes the code a little neater looking but for anything larger than a toy example it it a nightmare for readers of your code. For somebody unfamiliar with the code, it's impossible to tell where a module boundary ends without jumping into every function. Maintainin...
null
0
1315217832
False
0
c2hlkdj
t3_k325t
null
t1_c2hlkdj
t1_c2h8zoy
null
1427560606
2
t5_2fwo
null
null
null
True
jaryl
null
To be fair, GitHub contributes to OS projects and put up some of their internal tools on GitHub. So technically, parts of GitHub are on GitHub.
null
0
1315217942
False
0
c2hlkkk
t3_k4uxf
null
t1_c2hlkkk
t1_c2hl35r
null
1427560609
7
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315218275
False
0
c2hll2k
t3_k42i7
null
t1_c2hll2k
t1_c2hkqla
null
1427560615
1
t5_2fwo
null
null
null
True
codeshite
null
Yes I really do. I'm not poking fun at 'n00bs', they are the ones who haven't yet lost their common sense.
null
0
1315218475
False
0
c2hlldz
t3_k42i7
null
t1_c2hlldz
t1_c2hkekg
null
1427560618
2
t5_2fwo
null
null
null
True
[deleted]
null
that is fucking nonsense and you are dealing with grads who were terrible or from terrible programs.
null
0
1315218530
False
0
c2hllgz
t3_k55g9
null
t1_c2hllgz
t1_c2hlj6h
null
1427560620
46
t5_2fwo
null
null
null
True
perlgeek
null
And yet I would like to see more jquery tutorials spending a bit of time on that point.
null
0
1315218641
False
0
c2hllnb
t3_k1bq3
null
t1_c2hllnb
t1_c2gsrr5
null
1427560624
1
t5_2fwo
null
null
null
True
[deleted]
null
What does advanced Javascript actually mean?
null
0
1315218693
False
0
c2hllqw
t3_k4vwc
null
t1_c2hllqw
t1_c2hl80b
null
1428195514
0
t5_2fwo
null
null
null
True
rib-bit
null
thank you for your intelligent response
null
0
1315218798
False
0
c2hllvy
t3_k55g9
null
t1_c2hllvy
t1_c2hllgz
null
1427560633
9
t5_2fwo
null
null
null
True
bobappleyard
null
> C is a good at lot of things, but C ain't one of them. Haha
null
0
1315218847
False
0
c2hllyp
t3_k3un1
null
t1_c2hllyp
t1_c2hl895
null
1427560634
2
t5_2fwo
null
null
null
True
MarshallBanana
null
Chrome's built-in reader is actually Foxit.
null
0
1315218991
False
0
c2hlm72
t3_k4jfq
null
t1_c2hlm72
t1_c2hkjpl
null
1427560639
2
t5_2fwo
null
null
null
True
tamrix
null
> java is competing with python, php, C#, ruby, javascript etc So then who does scala, groovy, clojure compete with? I see Java as an enterprise language competing with C#, C++ and Objective C. Not with scripting languages you kids write small websites with. >from my perspective C++ is a low level systems progr...
null
0
1315219018
False
0
c2hlm8t
t3_k3ivo
null
t1_c2hlm8t
t1_c2he3ro
null
1427560639
0
t5_2fwo
null
null
null
True
perlgeek
null
The problem is that somebody might provide a link to your page which injects code into the page -- somebody might accidentally follow the click, and be vulnerable on your page, without having conciously done anything wrong.
null
0
1315219211
False
0
c2hlmja
t3_k1bq3
null
t1_c2hlmja
t1_c2gymi3
null
1427560641
1
t5_2fwo
null
null
null
True
deong
null
Mocks and DI were developed to solve the problem of components that were so tightly integrated that they couldn't be tested independently or used together in any way other than their original intent. How do you replace them with simple pure functions? Write simple pure functions that don't share those faults. You can ...
null
0
1315219421
False
0
c2hlmuc
t3_k42if
null
t1_c2hlmuc
t1_c2hk7a9
null
1427560652
33
t5_2fwo
null
null
null
True
[deleted]
null
"kids these days don't understand big-o notation" deserves nothing less.
null
0
1315219502
False
0
c2hlmy3
t3_k55g9
null
t1_c2hlmy3
t1_c2hllvy
null
1427560645
32
t5_2fwo
null
null
null
True
dumdedum_moar
null
Exactly. The most famous part being an object-oriented Ruby git library: https://github.com/mojombo/grit/ Also worth mentioning, for those wanting a private GitHub instance, Github Firewall Install may be for you: http://fi.github.com/
null
0
1315219618
False
0
c2hln41
t3_k4uxf
null
t1_c2hln41
t1_c2hlkkk
null
1427560649
7
t5_2fwo
null
null
null
True
jkreijkamp
null
That, and being a good programmer, makes you a good software developer/engineer. Being a good programmer, means you're good at programming. To be useful to a company you need to be able to be more than being a good programmer.
null
0
1315219904
False
0
c2hlnjo
t3_k55g9
null
t1_c2hlnjo
t1_c2hlfd8
null
1427560657
20
t5_2fwo
null
null
null
True
robgleeson
null
a lot of forks go nowhere, you're right, but they shouldn't expire "in a day" because sometimes I fork, plan to contribute, and something at work happens, or it's the weekend and something comes up. I only fork a project when I'm going to contribute to it, but time constraints don't mean I'll be able to do that "in a ...
null
0
1315219973
False
0
c2hlnnf
t3_k4uxf
null
t1_c2hlnnf
t1_c2hl3yn
null
1427560659
2
t5_2fwo
null
null
null
True
davehope
null
In particular: http://article.gmane.org/gmane.linux.kernel/1187922 >>On Sun, Sep 4, 2011 at 6:09 PM, Mithrandir <mithrandiragain <at> lavabit.com> wrote: >> Just wondering: when master.kernel.org gets back up, will this be 'just a >> mirror' or a separate place to develop? Perhaps I'm th...
null
0
1315220385
False
0
c2hlobg
t3_k4uxf
null
t1_c2hlobg
t1_c2hl03i
null
1427560666
37
t5_2fwo
null
null
null
True
johnfredcee
null
Interesting. I appear to be badly stuck on step five (assuming learning Prolog counts as learning a declarative language)...
null
0
1315220467
False
0
c2hlogb
t3_k55g9
null
t1_c2hlogb
t3_k55g9
null
1427560666
1
t5_2fwo
null
null
null
True
tamrix
null
Come on it's an extremely obvious satire from the first point. You have to remember though only a small portion of redditors in here are actually programmers. A lot just read an online tutorial for python over the weekend and call themselves programmers.
null
0
1315220488
False
0
c2hloh9
t3_k42i7
null
t1_c2hloh9
t1_c2hiy62
null
1427560666
2
t5_2fwo
null
null
null
True
eric_t
null
Author here. As I say on the site, I would be happy to get suggestions and criticism.
null
0
1315220522
False
0
c2hloj8
t3_k58pi
null
t1_c2hloj8
t3_k58pi
null
1428195510
35
t5_2fwo
null
null
null
True
oSand
null
> Or communicating with others. Or understanding the business you're serving. Yes. Avoiding communication with others is the key to being a productive programmer.
null
0
1315220957
False
0
c2hlp6c
t3_k55g9
null
t1_c2hlp6c
t1_c2hlfd8
null
1427560673
4
t5_2fwo
null
null
null
True
sebidenes
null
that's missing indeed :)
null
0
1315221234
False
0
c2hlplk
t3_k42i7
null
t1_c2hlplk
t1_c2hgp6v
null
1427560678
1
t5_2fwo
null
null
null
True
OopsLostPassword
null
Is that a serious question ? Do you really think that there are no topic more advanced in javascript that knowing what *this* is ?
null
0
1315221355
False
0
c2hlps3
t3_k4vwc
null
t1_c2hlps3
t1_c2hllqw
null
1427560679
0
t5_2fwo
null
null
null
True
deong
null
It's really not, though. I've worked at big boring corporations before, and I'd like nothing more than to give them software that works. You can't. And the reason you can't is because the "new" way of writing software is so complex that mortals can't reason about it. Before I left my last job to return to academia, I ...
null
0
1315221475
False
0
c2hlpz1
t3_k42if
null
t1_c2hlpz1
t1_c2hcsft
null
1427560680
22
t5_2fwo
null
null
null
True
[deleted]
null
Yes it is a legitimate question. So give me at least an example of what might be advanced Javascript.
null
0
1315221839
False
0
c2hlqk5
t3_k4vwc
null
t1_c2hlqk5
t1_c2hlps3
null
1427560686
3
t5_2fwo
null
null
null
True
shenglong
null
Cool. Looks like it's come a long way since the first time I tried it. I'm now going to use this as a replacement for SnippetCompiler. http://www.sliver.com/dotnet/SnippetCompiler/
null
0
1315222173
False
0
c2hlr2j
t3_k4jik
null
t1_c2hlr2j
t3_k4jik
null
1427560693
1
t5_2fwo
null
null
null
True
ezekiel
null
Yes. The saddest is to join a team a month or two into a project and all they have done is generate thousands of lines of code to interface to a giant logging framework. This kind of strange approach to programming does not seem localized or limited. We as an industry have taken a wrong turn.
null
0
1315222199
False
0
c2hlr43
t3_k42if
null
t1_c2hlr43
t1_c2hlk1s
null
1427560693
6
t5_2fwo
null
null
null
True
ezekiel
null
> That is ridiculous. Was it Java-based? Essentially, yes. It was C#. But, I have seen quite a few similar disasters in both Sun/Oracle's version of Java and Microsoft's.
null
0
1315222288
False
0
c2hlr9c
t3_k42if
null
t1_c2hlr9c
t1_c2hk7a9
null
1427560695
1
t5_2fwo
null
null
null
True
deong
null
> But that's progress. In the end, it's about meeting the customers' needs faster and more reliably. The problem is that the overwhelming evidence is that we aren't doing this at all. Systems today are not optimized for the client needs, they're optimized for developer convenience. Or rather, I'd argue, for a misgu...
null
0
1315222416
False
0
c2hlrgx
t3_k42if
null
t1_c2hlrgx
t1_c2hk85k
null
1427560699
21
t5_2fwo
null
null
null
True
johnwaterwood
null
didn't someone once said: objects should be the only components?
null
0
1315222492
False
0
c2hlrmd
t3_k56t1
null
t1_c2hlrmd
t3_k56t1
null
1427560700
2
t5_2fwo
null
null
null
True
gobacktolurking
null
Fuckin' Melvin. <3
null
0
1315222764
False
0
c2hls2h
t3_k4uxf
null
t1_c2hls2h
t1_c2hkz4n
null
1427560707
0
t5_2fwo
null
null
null
True
tinou
null
> Not sure what you mean by more object oriented wrt constructors and procedure calls. If new is a class method, you can overload "object creation" and this is more powerful than factories, dependency injection, etc.
null
0
1315223103
False
0
c2hlsmd
t3_k56t1
null
t1_c2hlsmd
t1_c2hlj15
null
1427560713
16
t5_2fwo
null
null
null
True
ezekiel
null
> And the reason you can't is because the "new" way of writing software is so complex that mortals can't reason about it. > but we know that what we're doing now doesn't work Exactly. This is the quagmire we are in. Business software really can be written so that it is understandable and nearly bug-free. There...
null
0
1315223170
False
0
c2hlsqc
t3_k42if
null
t1_c2hlsqc
t1_c2hlpz1
null
1427560714
3
t5_2fwo
null
null
null
True
[deleted]
null
Java is not a dog. People *perceive* it that way because they perceive incorrectly but believe their intuition more than numbers. In what way does Java cross-platform support fail??? And I don't agree about static typing. It's my 2nd requirement after cross-platform and an absolute must. It is dynamic typing that ...
null
0
1315223244
False
0
c2hlsuy
t3_k3ivo
null
t1_c2hlsuy
t1_c2hjyqa
null
1427560716
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315223415
False
0
c2hlt5e
t3_k56t1
null
t1_c2hlt5e
t3_k56t1
null
1427560720
1
t5_2fwo
null
null
null
True
bobindashadows
null
The hard part for hobbyists is to quantify when something is "finished". When you're on the job you have requirements; nothing is required in a hobby project, so you can never complete them. The projects that have meaningful releases are typically those that aren't hobbies anymore.
null
0
1315223520
False
0
c2hltbz
t3_k55g9
null
t1_c2hltbz
t1_c2hlj0j
null
1427560722
37
t5_2fwo
null
null
null
True
bobindashadows
null
Honestly, it's the only real answer. It just isn't worded very politely.
null
0
1315223601
False
0
c2hltgt
t3_k55g9
null
t1_c2hltgt
t1_c2hllvy
null
1427560724
26
t5_2fwo
null
null
null
True
RiotingPacifist
null
Less then 10hrs between it being posted here and him turning off most of the community features such as the issue tracker, but hey it's to be expected as the github community to tend to act like idiots, I think the first "issue" was "does not run ms office".
null
0
1315223603
False
0
c2hltgw
t3_k4uxf
null
t1_c2hltgw
t3_k4uxf
null
1427560724
5
t5_2fwo
null
null
null
True
pointy
null
Yes, fair enough.
null
0
1315223697
False
0
c2hltmb
t3_k4vwc
null
t1_c2hltmb
t1_c2hknm7
null
1427560726
1
t5_2fwo
null
null
null
True
ezekiel
null
The management of businesses *imagine* that software development is like production jobs. They have to imagine that, because if it isn't then they cannot control it. They choose control instead of results. Software development is getting *farther* away from being repeatable production work due to the problem described...
null
0
1315223745
False
0
c2hltpn
t3_k42if
null
t1_c2hltpn
t1_c2hl92f
null
1427560727
6
t5_2fwo
null
null
null
True
n1c0_ds
null
Same here. Now I release a very small original product, then work on improving it. I now work on small programs like [Ticks](http://nicolasbouliane.com/ticks) instead of attempting the impossible. Either way, the learning experience alone is worth it. No need to feel bad about scrapping a project.
null
0
1315223777
False
0
c2hltrg
t3_k55g9
null
t1_c2hltrg
t1_c2hld80
null
1427560728
3
t5_2fwo
null
null
null
True
n1c0_ds
null
This is important. I wouldn't stand most of the egomaniac programmers that write most programming articles. You're only here to perform a job, just like the accountant and the rest of the engineers. I don't see those people being a dick about making your pay or building the next generation of toilet paper.
null
0
1315223960
False
0
c2hlu2o
t3_k55g9
null
t1_c2hlu2o
t1_c2hlnjo
null
1427560732
5
t5_2fwo
null
null
null
True
vintermann
null
Android game development in C++ on Windows is not what I'm interested in right now, but this idea in general - a fully configured standard repository, set up to work with revision control and build systems, so you can just clone it and get to work - is an idea I really like. I spend far too much time agonizing over dif...
null
0
1315223975
True
0
c2hlu3p
t3_k59d4
null
t1_c2hlu3p
t3_k59d4
null
1427560732
1
t5_2fwo
null
null
null
True
Tuna-Fish2
null
This is not a mirror. While master.kernel.org is down, this is where Torvald's primary dev tree lives.
null
0
1315224246
False
0
c2hlukc
t3_k4uxf
null
t1_c2hlukc
t1_c2hj8l2
null
1427560738
2
t5_2fwo
null
null
null
True
mikaelhg
null
No, that's what programming meant in the 70s, and some CS textbooks. These days, it's specifically called "cowboy" or "rockstar" to indicate the deficiency of this way of thinking in no uncertain terms.
null
0
1315224390
True
0
c2hlusw
t3_k55g9
null
t1_c2hlusw
t1_c2hlnjo
null
1427560741
-1
t5_2fwo
null
null
null
True
bureX
null
I just thought they were really crappy ideas until I reached the "Java is dead" part.
null
0
1315224397
False
0
c2hluti
t3_k42i7
null
t1_c2hluti
t1_c2hg884
null
1427560741
-2
t5_2fwo
null
null
null
True
shutmeup
null
"the idea of creating a LightOnCommand class that implements the Command interface to encapsulate the act of turning a light on feels like such a waste of brainpower, bytes, and sanity. " Ok, just create a unique class that does all that and much more that you want... I guarantee you will have trouble changing somethi...
null
0
1315224426
False
0
c2hluvr
t3_k56t1
null
t1_c2hluvr
t3_k56t1
null
1427560742
-3
t5_2fwo
null
null
null
True
bobindashadows
null
Personally, there's dozens of forks of my projects, and only 4 of those forks so far have resulted in a commit. It's fucking annoying because I keep on tricking myself into thinking those people are going to commit. Which is what I thought a fork was for. At least all 4 of those were good commits and ended up merged b...
null
0
1315224631
False
0
c2hlv9p
t3_k4uxf
null
t1_c2hlv9p
t1_c2hl3yn
null
1427560748
7
t5_2fwo
null
null
null
True
forcedtoregister
null
Nice. I've been thinking that I'm going to have to take a look at Fortran at some point, given the kind of work I've been doing recently. If you happen to need some Fortran speed and expressiveness with matrices in C++ then the [Eigen](http://eigen.tuxfamily.org/index.php?title=Main_Page) library is a good start. The ...
null
0
1315224664
False
0
c2hlvbx
t3_k58pi
null
t1_c2hlvbx
t3_k58pi
null
1427560749
5
t5_2fwo
null
null
null
True
skilldrick
null
I'm focussing on Java because the book focusses on Java. You wouldn't have to create a new class to encapsulate the act of turning on a light in a lot of languages, you could use a lambda or some equivalent functionality. The problem is in Java, pretty much *all* you have is classes, so every abstraction problem *has* ...
null
0
1315224699
False
0
c2hlvef
t3_k56t1
null
t1_c2hlvef
t1_c2hluvr
null
1427560750
10
t5_2fwo
null
null
null
True
twhittock
null
Sorry, apart from RoR (which I hadn't considered the parallels to before) I can't think of anything similar. I only did it because it's such a pain to get started on Android/C++ if you're not interested in doing JNI work and learning about manifests etc. Oh, and it's not really Windows specific as such - it uses the ...
null
0
1315224748
False
0
c2hlvhg
t3_k59d4
null
t1_c2hlvhg
t1_c2hlu3p
null
1427560751
3
t5_2fwo
null
null
null
True
meatgrinder
null
I find it ironic that the Linux kernel README needs a section entitled "What is Linux?". If you've found your way to a kernel source tree, you should have at least a casual idea what you're looking at. And if not, I doubt that blurb will help. But it's tradition more than anything, I suppose.
null
0
1315225124
False
0
c2hlw7b
t3_k4uxf
null
t1_c2hlw7b
t3_k4uxf
null
1427560759
1
t5_2fwo
null
null
null
True
robertcrowther
null
Assuming the goal of a hobby project is to learn something, rather than just to release something, that's OK as a workflow. --edit D'Oh! Wrong way round
null
0
1315225148
True
0
c2hlw8t
t3_k55g9
null
t1_c2hlw8t
t1_c2hld80
null
1427560760
7
t5_2fwo
null
null
null
True
bobindashadows
null
Wonderful post. It's always annoying to hear people bash things they don't understand, and this post does a great job explaining why fortran's still alive and kicking. Though.... > Fortran actually has generics, but the implementation is not great, you still have to write code for every type you want to support. ...
null
0
1315225282
False
0
c2hlwiy
t3_k58pi
null
t1_c2hlwiy
t3_k58pi
null
1427560764
9
t5_2fwo
null
null
null
True
eric_t
null
What work have you been doing? I have played around a bit with Eigen for some particle physics stuff, and it really is an excellent library. I would also like to mention [PETSc](http://www.mcs.anl.gov/petsc/petsc-as/), which is a library for parallel linear algebra computations. It's written in C, but has great bindi...
null
0
1315225553
False
0
c2hlx2x
t3_k58pi
null
t1_c2hlx2x
t1_c2hlvbx
null
1427560772
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315225599
False
0
c2hlx66
t3_k42i7
null
t1_c2hlx66
t1_c2hg884
null
1427560772
1
t5_2fwo
null
null
null
True
bobindashadows
null
A simple example is stateless visitors. In Ruby you just call `container.each` and provide a block/`Proc` object. Of course, Ruby is still single dispatch, so you need visitor-like patterns for a stateful visitor.
null
0
1315225787
False
0
c2hlxjz
t3_k56t1
null
t1_c2hlxjz
t1_c2hlj15
null
1427560785
2
t5_2fwo
null
null
null
True
mooli
null
This is a thread about Quake3 (an action game) networking in which someone said: > WTF? UDP? Use TCP retards. As a gamedev that uses both TCP and UDP in games, I know full well that there is a place for each. That said, I thought that the quote - from the first google result on "TCP vs UDP in games" - was a succin...
null
0
1315226068
False
0
c2hly5c
t3_k4m3q
null
t1_c2hly5c
t1_c2hij0b
null
1427560786
1
t5_2fwo
null
null
null
True
stuhacking
null
It sounds like you're saying that every language should have everything but the kitchen sink thrown in. The argument could equally be applied to Scheme (every solution looks like a function), or Prolog (every solution looks like a rule definition). Of course, it's perfectly reasonable to write a very basic, imperative...
null
0
1315226352
True
0
c2hlyq9
t3_k56t1
null
t1_c2hlyq9
t1_c2hlvef
null
1427560793
3
t5_2fwo
null
null
null
True
eric_t
null
> Is the only benefit then that you can keep using the same name "List" everywhere instead of "StringList", "RealList", "IntegerList"? Exactly :) I have used it sometimes when I want to have the same function name but want to support both real and integer arguments. In that case it is not too much work, but yeah, i...
null
0
1315226390
False
0
c2hlysw
t3_k58pi
null
t1_c2hlysw
t1_c2hlwiy
null
1427560794
2
t5_2fwo
null
null
null
True
[deleted]
null
Java has it's flaws, but there are advantages in its limitations. The fact that there's a fairly limited set of patterns to choose from means that you're going to have to put more work into the design end of things to make it fit your needs, and it's never going to be as efficient as some languages, but the actual codi...
null
0
1315226524
False
0
c2hlz2x
t3_k56t1
null
t1_c2hlz2x
t1_c2hlvef
null
1427560798
-1
t5_2fwo
null
null
null
True
jediknight
null
A lot of the new programmers come from ecosystems created by a language. It would be great if you could describe a little bit the Fortran ecosystem. My questions would be: 1. How can one program in Fortran one the 3 big platforms (Win, Linux, OS X) 2. Is there a standard library? What does it includes? 3. Is there...
null
0
1315226556
False
0
c2hlz5h
t3_k58pi
null
t1_c2hlz5h
t1_c2hloj8
null
1427560799
45
t5_2fwo
null
null
null
True
skilldrick
null
I get your point, but that's not really what I'm saying. Scheme functions are a *lot* more flexible than Java classes. Java classes are for specifying objects. You can do that with a Scheme function if you want (with closures), but there are lots of other things you can do with first-class functions (for instance).
null
0
1315226590
False
0
c2hlz7v
t3_k56t1
null
t1_c2hlz7v
t1_c2hlyq9
null
1427560800
6
t5_2fwo
null
null
null
True
[deleted]
null
yet another site abusing that stupid ninja nonsense.
null
0
1315226592
False
0
c2hlz80
t3_k3nab
null
t1_c2hlz80
t1_c2he580
null
1427560800
1
t5_2fwo
null
null
null
True
vintermann
null
Thanks to you reminding me, I did some googling around, and this is the first I found: http://code.google.com/p/cpp-project-template/ It apparently has sister projects for java.
null
0
1315226606
False
0
c2hlz8x
t3_k59d4
null
t1_c2hlz8x
t1_c2hlvhg
null
1427560800
1
t5_2fwo
null
null
null
True
skilldrick
null
I think passing an anonymous function is much easier to understand than creating an entire class hierarchy to encapsulate a single type of action.
null
0
1315226674
False
0
c2hlzeo
t3_k56t1
null
t1_c2hlzeo
t1_c2hlz2x
null
1427560806
3
t5_2fwo
null
null
null
True
TheCritic
null
Link?
null
0
1315226721
False
0
c2hlzic
t3_k4uxf
null
t1_c2hlzic
t1_c2hlefh
null
1427560803
2
t5_2fwo
null
null
null
True
JPMoresmau
null
"When you're on the job you have requirements". Ha! Ha ha! Ha ha ha! Sob.
null
0
1315226756
False
0
c2hlzl2
t3_k55g9
null
t1_c2hlzl2
t1_c2hltbz
null
1427560804
71
t5_2fwo
null
null
null
True
slgard
null
you know that "etc" means "and all the rest" ? If I was going to have to list all the programming languages that could possibly compete with java it would make for a very long (and unrealistic) list. Of course C++ is a high level programming language based on a definition from the 20th century (ie compared to assembly...
null
0
1315226821
False
0
c2hlzp2
t3_k3ivo
null
t1_c2hlzp2
t1_c2hlm8t
null
1427560807
1
t5_2fwo
null
null
null
True
[deleted]
null
I would love to discuss this with you a bit more, but you have downvoted my posts just because you disagree which leads me to believe that you're not sophisticated enough to deal with the issues involved.
null
0
1315226843
False
0
c2hlzqp
t3_k3ivo
null
t1_c2hlzqp
t1_c2hlsuy
null
1427560807
1
t5_2fwo
null
null
null
True
rvirding
null
Of course, but never worried about it being a state machine internally. Unless, of course, I was implementing a regex package.
null
0
1315226893
False
0
c2hlzud
t3_k12ka
null
t1_c2hlzud
t1_c2h6xwk
null
1427560818
1
t5_2fwo
null
null
null
True
jseigh
null
I'm somewhat familiar with the techniques used here. They're using RCU to take care of race conditions that would otherwise be present in accessing and updating the reference count. The reference counted pointers here are meant to be used atomically hence all the memory barriers and such. You can contrast this wit...
null
0
1315226912
False
0
c2hlzvq
t3_k4jfq
null
t1_c2hlzvq
t3_k4jfq
null
1427560818
2
t5_2fwo
null
null
null
True
Kaitnieks
null
I'm watching you code/paint live all the time on the 2nd monitor. The strange reason for it is that it actually helps me work. I'm working from home and hearing/seeing someone else makes me feel like a part of a group and increases my productivity.
null
0
1315226915
False
0
c2hlzw5
t3_k4395
null
t1_c2hlzw5
t3_k4395
null
1427560818
2
t5_2fwo
null
null
null
True
quotemstr
null
Is that how you dismiss all criticism?
null
0
1315226941
False
0
c2hlzyn
t3_k42if
null
t1_c2hlzyn
t1_c2hj73t
null
1427560817
10
t5_2fwo
null
null
null
True
hopfrog187
null
This article isn't about business software. It's about becoming a good programmer, and that is more about expanding the scope of what you're capable of and less about delivering something tangible. And actually, the advice given was pretty good.
null
0
1315226961
False
0
c2hm005
t3_k55g9
null
t1_c2hm005
t1_c2hlfd8
null
1427560810
10
t5_2fwo
null
null
null