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
grauenwolf
null
Test Driven Development is a great idea. Unit Test Driven Development is workable, but no where near as effective. Test Driven Design is almost always a disaster.
null
0
1316978495
False
0
c2mhyia
t3_kq001
null
t1_c2mhyia
t1_c2marsz
null
1427645590
1
t5_2fwo
null
null
null
True
xiongchiamiov
null
Ok? That's not a reason to not use a significant-whitespace language?
null
0
1316978566
False
0
c2mhyt9
t3_kooiy
null
t1_c2mhyt9
t1_c2mgvuy
null
1427645594
1
t5_2fwo
null
null
null
True
robertwilliams
null
It's not a lie. TDD is a tool. It's a very useful tool. But like any tool, it does require some actual skill to use it.
null
0
1316978620
False
0
c2mhz1a
t3_kq001
null
t1_c2mhz1a
t1_c2mhw4f
null
1427645596
2
t5_2fwo
null
null
null
True
scgtrp
null
You could use only spaces. It's not my first choice, but if you really need those aligned it's better than the alternative. Personally I don't bother to align them and just indent the second line one level more.
null
0
1316978710
False
0
c2mhzfw
t3_kooiy
null
t1_c2mhzfw
t1_c2mfh5l
null
1427645601
1
t5_2fwo
null
null
null
True
BraveSirRobin
null
A pool in java wouldn't work, it would be a double hit as you cannot avoid the in-built GC when using objects. One approach I've considered for dealing with silly volumes of data is a multi-dimensional array, basically throwing away the whole class model and just having a table of values, one row per "object".
null
0
1316978808
False
0
c2mhzu2
t3_kq27q
null
t1_c2mhzu2
t1_c2mgxrl
null
1427645608
1
t5_2fwo
null
null
null
True
s73v3r
null
The better setup would be to have a group of developers dedicated to testing. That would include setting up automated unit tests. Ideally these would be in place before development starts, or at least before it gets to far into it. QA should not be deiced on the basis of what's cheaper.
null
0
1316978917
False
0
c2mi0b7
t3_kq001
null
t1_c2mi0b7
t1_c2m9xhn
null
1427645613
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316979136
False
0
c2mi16v
t3_kqixo
null
t1_c2mi16v
t1_c2mg82n
null
1427645630
4
t5_2fwo
null
null
null
True
grauenwolf
null
There is absolutely nothing in any form of Test Driven Design or Test Driven Development that prevents someone from cramming everything into a single class or scattering it across dozens. In fact it is completely agnostic to how you structure your code so long as tests can be written against it. In some cases I've seen people using TDD actually make coupling far worse. But the problem wasn't TDD itself, it was TDD in combination with mocking frameworks. Test Driven Development brings a lot of good things to the table. But when you exagerate its effects and make claims that it can solve issues that it clearly cannot you end up with articles like this. Or worse, you get that abortion known as Test Driven Design.
null
0
1316979278
False
0
c2mi1r3
t3_kq001
null
t1_c2mi1r3
t1_c2mhz1a
null
1427645640
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316979283
False
0
c2mi1rx
t3_kqixo
null
t1_c2mi1rx
t1_c2mfpat
null
1427645640
1
t5_2fwo
null
null
null
True
Garage_Dragon
null
I tried to read the article, but all I could manage to do was admire that server rack's wiring job. Fucking art is what that is.
null
0
1316979354
False
0
c2mi22s
t3_kqzw8
null
t1_c2mi22s
t3_kqzw8
null
1427645654
14
t5_2fwo
null
null
null
True
AStrangeStranger
null
> he problem with that statement is TDD actually encourages you to not write the tests before you start coding is that TDD or just the way some coders/teams work? People tend to ignore the parts they don't like - such as sitting down and mapping it all out > You skip the whole "design the tests" phase and jump right into implementing them. If the test covers a small enough part (or is similar to other tests in project) then designing as you go along isn't a problem - but you need to do some work upfront to have broken design down into these areas
null
0
1316979467
False
0
c2mi2jt
t3_kq001
null
t1_c2mi2jt
t1_c2mhx5z
null
1427645656
2
t5_2fwo
null
null
null
True
BraveSirRobin
null
Yeah, I was being very generous with the 1%, you'd really need a code guru who knows all of the compiler tricks for the language, crazy things like Duff's Device and so on.
null
0
1316979504
False
0
c2mi2pf
t3_kq27q
null
t1_c2mi2pf
t1_c2mfx1c
null
1427645658
1
t5_2fwo
null
null
null
True
gtani
null
http://groups.google.com/group/clojure/browse_thread/thread/15f2f5ccda68c086#
null
0
1316979535
False
0
c2mi2tu
t3_kpk8d
null
t1_c2mi2tu
t1_c2mfvas
null
1427645658
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316979648
False
0
c2mi3bf
t3_kr2ks
null
t1_c2mi3bf
t3_kr2ks
null
1427645673
3
t5_2fwo
null
null
null
True
IanCal
null
> I don't see the problem. node.js is designed especially for loads and loads of concurrent connections like this. It's goal is to provide an easy way to build scalable network programs and it's doing a good job of it. It doesn't seem to scale across multiple machines (or even processors?) and any threading involves forking the process, which if we're talking about non-green threads then that's pretty expensive. I'd hit elrang straight away if I'm dealing with over 100k connections. Wit h 30 gigs of ram you can hit a million user chat client thingy (search for million user comet application). Erlangs got the pedigree for creating highly concurrent, fast, extremely reliable systems. Why re-invent the wheel?
null
0
1316979735
False
0
c2mi3p1
t3_kq27q
null
t1_c2mi3p1
t1_c2mh4p8
null
1427645665
2
t5_2fwo
null
null
null
True
tehRash
null
wow that was really bad.. People who don't know what they are talking about shuoldnt teach
null
0
1316979761
False
0
c2mi3th
t3_kr2ks
null
t1_c2mi3th
t3_kr2ks
null
1427645667
5
t5_2fwo
null
null
null
True
hobbified
null
The lighted kindle cover is damn nice too.
null
0
1316979824
False
0
c2mi430
t3_kqixo
null
t1_c2mi430
t1_c2mfnm7
null
1427645669
2
t5_2fwo
null
null
null
True
hobbified
null
Third option: just navigate to the .mobi file on the web in the Kindle's browser, and it will download it for you.
null
0
1316979918
False
0
c2mi4gy
t3_kqixo
null
t1_c2mi4gy
t1_c2mecie
null
1427645674
4
t5_2fwo
null
null
null
True
Iggyhopper
null
What the new standard? ``<strong>``? *\*Not hip on standards.*
null
0
1316979997
False
0
c2mi4s4
t3_kr2ks
null
t1_c2mi4s4
t1_c2mi3bf
null
1427645685
2
t5_2fwo
null
null
null
True
ONEPIECEOFZEALOT
null
This is overwhelmingly good news correct? The article is a bit of a challenge to read but everything sounds... Great?
null
0
1316980307
False
0
c2mi654
t3_kqzw8
null
t1_c2mi654
t3_kqzw8
null
1427645704
3
t5_2fwo
null
null
null
True
robertwilliams
null
I agree TDD is not a panacea. You need to already know how to design code. But in my experience, TDD helps guide me to a good design. In the interest of either triggering some behavior, or detecting that something happened, I'm more likely to do things like code against an interface instead of a concrete class, or use dependency injection or a factory method rather than call a constructor directly, or set up a pub/sub mechanism rather than just directly call a method. I also tend to extract out bits of unrelated functionality into smaller classes, and combine bits of related functionality into one class, simply because it's easier to test. All those steps generally lead you towards a good design. And you can *know* it's a good design precisely because you're able to use it that way.
null
0
1316980315
False
0
c2mi66f
t3_kq001
null
t1_c2mi66f
t1_c2mi1r3
null
1427645704
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316980543
False
0
c2mi76c
t3_kr2ks
null
t1_c2mi76c
t1_c2mi4s4
null
1427645716
1
t5_2fwo
null
null
null
True
tpastor
null
if anyone has more books / links suggestions, pls comment in the blog post.
null
0
1316980588
False
0
c2mi7dq
t3_kr344
null
t1_c2mi7dq
t3_kr344
null
1427645719
-1
t5_2fwo
null
null
null
True
Inverter
null
The usual game: Efficiency, Names, Reflection, now choose any two... (Efficiency here is actually Efficiency + Compile-Time Checking). Anyhow, thanks for the hint, might come in useful in some situations where I can forget efficiency.
null
0
1316980594
False
0
c2mi7ea
t3_kqtat
null
t1_c2mi7ea
t1_c2mhw6q
null
1427645719
2
t5_2fwo
null
null
null
True
bobindashadows
null
Exactly. My last boss was so pissed when I explained that I wrote our backend server in DOS batch files because I knew how to write DOS batch files. He gave me this holier than thou speech about how *my choice* was "wrong." Wrong! As if we live in a world of right and wrong! As if we don't have servers with 24 logical cores and dozens of gigabytes of memory! Choice of language is a *personal* decision!
null
0
1316980681
False
0
c2mi7qs
t3_kq27q
null
t1_c2mi7qs
t1_c2mgunp
null
1427645723
4
t5_2fwo
null
null
null
True
rookie_MP
null
Very true. However, my plan is to package the RTS and the compiler together in a single binary, so I'd have to figure out a good way of integrating FACT and C.
null
0
1316980741
False
0
c2mi7zu
t3_kpqzv
null
t1_c2mi7zu
t1_c2mfqyh
null
1427645726
2
t5_2fwo
null
null
null
True
bplus
null
Genuine question, I've haven't ever used git before or git hub. How do I download the mobi file ? (sorry if this seems really stupid)
null
0
1316980749
False
0
c2mi815
t3_kqixo
null
t1_c2mi815
t3_kqixo
null
1427645725
1
t5_2fwo
null
null
null
True
Darkhack
null
It's used for concatenation. Walter thought that the + operator could be ambiguous in certain situations. The example given on the D site is, > If one has an array of floats, is ‘+’ overloaded to be the same as a vector addition, or an array concatenation? In other words, they decided that addition is not the same as concatenation so the ~ operator was chosen to be used instead.
null
0
1316980757
False
0
c2mi82r
t3_kqoz2
null
t1_c2mi82r
t1_c2mg23w
null
1427645725
3
t5_2fwo
null
null
null
True
rkenned
null
The problem is with TDD, there are a lot of people that think that you can't take it too far, and that there is no law of diminishing returns. Allowing tests to drive you design isn't a bad thing, it is allowing tests to be the only thing that drives your design.
null
0
1316980821
False
0
c2mi8ca
t3_kq001
null
t1_c2mi8ca
t1_c2mbccw
null
1427645728
3
t5_2fwo
null
null
null
True
parkrrr
null
Nope. Subject to satisfactory performance determined in the sole discretion of the instructors, you may be awarded a letter of completion signed by the instructors of the Sites upon conclusion of the Online Course; you acknowledge that any letter of completion awarded will not be affiliated with Stanford or any college or university and **will not stand in the place of a course taken at an accredited institution**; you acknowledge that instructors of any Online Course will not be involved in any attempts to get the course recognized by any educational or accredited institution.
null
0
1316980864
False
0
c2mi8ia
t3_kqucu
null
t1_c2mi8ia
t1_c2mhqqt
null
1427645729
5
t5_2fwo
null
null
null
True
bobindashadows
null
> Evented programming with js makes it easy to do parallel i/o requests. Every major programming language has evented IO capabilities, and the other major dynamic languages\* even have nice, easy-to-use evented IO capabilities. \*No, I don't count PHP in "major dynamic languages" despite it fitting the bill. If you're writing an evented server in PHP you have brain damage.
null
0
1316981175
False
0
c2mi9t4
t3_kq27q
null
t1_c2mi9t4
t1_c2mdgpd
null
1427645740
2
t5_2fwo
null
null
null
True
immerc
null
Editors can't fix the formatting on a whitespace-significant language when that whitespace hasn't been properly preserved when it was copied and pasted from a website, so, yes, it is.
null
0
1316981202
False
0
c2mi9wt
t3_kooiy
null
t1_c2mi9wt
t1_c2mhyt9
null
1427645741
2
t5_2fwo
null
null
null
True
benpage26
null
https://github.com/jonathanpatt/sicp-kindle/blob/master/sicp.mobi ( then click view raw) or just click [here](https://github.com/jonathanpatt/sicp-kindle/blob/master/sicp.mobi?raw=true)
null
0
1316981478
False
0
c2mib34
t3_kqixo
null
t1_c2mib34
t1_c2mi815
null
1427645751
1
t5_2fwo
null
null
null
True
free_at_last
null
I maintain my companys UI test projects that is part of the CI Build process....I cry every time something fails miserably because the UI has changed.
null
0
1316981696
False
0
c2mic0q
t3_kq001
null
t1_c2mic0q
t1_c2ma9e0
null
1427645758
1
t5_2fwo
null
null
null
True
bonch
null
Not programming.
null
0
1316981840
False
0
c2miclm
t3_kqzw8
null
t1_c2miclm
t3_kqzw8
null
1427645761
7
t5_2fwo
null
null
null
True
timeshifter_
null
Damn, you weren't joking. That's beautiful.
null
0
1316981843
False
0
c2micm1
t3_kqzw8
null
t1_c2micm1
t1_c2mi22s
null
1427645761
4
t5_2fwo
null
null
null
True
bonch
null
Um, why is it good news? Government regulation of the internet is a very, very bad thing. Sysadmins at an ISP can regulate their private networks however they want.
null
0
1316981862
False
0
c2micod
t3_kqzw8
null
t1_c2micod
t1_c2mi654
null
1427645761
-5
t5_2fwo
null
null
null
True
xiongchiamiov
null
Oh, I see. Good point.
null
0
1316981886
False
0
c2micru
t3_kooiy
null
t1_c2micru
t1_c2mi9wt
null
1427645761
1
t5_2fwo
null
null
null
True
bonch
null
Political activists are so damn pushy that they'll forcefully upvote it even in a subreddit it doesn't belong in.
null
0
1316981917
False
0
c2micwq
t3_kqzw8
null
t1_c2micwq
t1_c2mhptt
null
1427645764
4
t5_2fwo
null
null
null
True
spunkybusiness
null
I think the OP blog post is really referring more to how prescriptive and holier-than-thou some folks are about TDD, i.e. the mantra that you MUST write a unit test before you cut any functional code; and you MUST mock out any dependencies. IMO and experience most folks write unit tests *after* writing a fragment of code, and those "unit" tests usually cross layers - it's not ideal, but it's practical and sure beats structuring your code specifically to run tests (which IMO is a bad thing)
null
0
1316981956
False
0
c2mid2p
t3_kq001
null
t1_c2mid2p
t1_c2m9rgi
null
1427645763
1
t5_2fwo
null
null
null
True
asegura
null
Array *concatenation*, as already said. And the `~=` compound assignment means *append*. And since strings in D are a special kind of character arrays, string concatenation uses `~` and not `+` as do C++, Java or Javascript. This little detail in the design of D was a very good idea.
null
0
1316982088
True
0
c2midla
t3_kqoz2
null
t1_c2midla
t1_c2mg23w
null
1427645767
6
t5_2fwo
null
null
null
True
Shorties
null
All I could think was, man what happens if one of those wires in the middle of the coil gets fried somehow. That would be a pain to fix.
null
0
1316982318
False
0
c2miemi
t3_kqzw8
null
t1_c2miemi
t1_c2mi22s
null
1427645773
1
t5_2fwo
null
null
null
True
Garage_Dragon
null
Yeah, exactly. Because you know this guy isn't going to just leave the dead one in place and wire a new patch on the outside. This OCD maniac is going to have to cut every single wire tie and redo the whole thing.
null
0
1316982435
False
0
c2mif6o
t3_kqzw8
null
t1_c2mif6o
t1_c2miemi
null
1427645780
1
t5_2fwo
null
null
null
True
AllegraGeller
null
[you're right, i can't wait until that fucking net neutrality is gone](http://i.imgur.com/unb01.jpg)
null
0
1316982460
False
0
c2mifah
t3_kqzw8
null
t1_c2mifah
t1_c2micod
null
1427645781
2
t5_2fwo
null
null
null
True
MaikB
null
I remember that as well, I've heard him say it in a video recording at the end of a talk he gave. IIRC it was: > Without reflection the used memory was 20% program vs. 80% data. With refection it turned into 80% program vs. 20% data.
null
0
1316982472
False
0
c2mifci
t3_kqtat
null
t1_c2mifci
t1_c2mggg0
null
1427645781
6
t5_2fwo
null
null
null
True
compwhizii
null
No it doesn't, those are 2 different people.
null
0
1316982478
False
0
c2mifda
t3_kq27q
null
t1_c2mifda
t1_c2mbm03
null
1427645783
1
t5_2fwo
null
null
null
True
[deleted]
null
Factoring in opportunity cost is not largely futile. It's the dominant economic factor in the calculation. Yes, dev time is not always worth more. However, it is worth more over a very large portion of the problem space. OP's original comment is silly: "I'd ask the same about Python, Ruby or even Java. When you're getting to that level of memory consumption, it's time to work in a language that gives you more control over memory management." If you're working on problems so big that commodity servers cannot accommodate the memory you need to allow programming in a high level language, then it's time to work in a language that gives you more control over memory management. 32GB is nowhere near that level, not in a world where you can load up a Dell server with 96GB for under $5k.
null
0
1316982486
False
0
c2mifet
t3_kq27q
null
t1_c2mifet
t1_c2mhwnp
null
1427645783
0
t5_2fwo
null
null
null
True
Abscissa256
null
DMD's frontend has been hooked up to LLVM and GCC, yielding the LDC and GDC compilers. That's where I would look for non-x86/x64. Some details (mostly pertaining to ARM) were recently discussed on this newsgroup thread: http://www.mail-archive.com/digitalmars-d-learn@puremagic.com/msg14973.html
null
0
1316982534
False
0
c2mifm0
t3_kqoz2
null
t1_c2mifm0
t1_c2mhc7y
null
1427645786
5
t5_2fwo
null
null
null
True
a_redditor
null
/r/technology is probably a better place for this.
null
0
1316982830
False
0
c2migx6
t3_kqzw8
null
t1_c2migx6
t3_kqzw8
null
1427645804
3
t5_2fwo
null
null
null
True
00kyle00
null
Aren't they D1 currently?
null
0
1316982995
False
0
c2mihnp
t3_kqoz2
null
t1_c2mihnp
t1_c2mifm0
null
1427645817
1
t5_2fwo
null
null
null
True
r42
null
I don't think the problem is activists; I think it's just average users. Most people don't think about which subreddit something is in before deciding to whether to upvote. I expect there's a huge overlap between r/programming and r/technology. Probably even a decent overlap with r/politics, merely because that's so popular. It only takes one to post it, and then anyone in both reddits is likely to upvote whichever reddit. Anyway, I stopped reading r/technology because I was sick of seeing net neutrality headlines. I hope r/programming isn't going that way as well.
null
0
1316983004
False
0
c2mihp2
t3_kqzw8
null
t1_c2mihp2
t1_c2micwq
null
1428192846
2
t5_2fwo
null
null
null
True
warmandfuzzy
null
always my favorite, so there.
null
0
1316983278
False
0
c2miiuh
t3_kqucu
null
t1_c2miiuh
t1_c2mhhbm
null
1427645833
3
t5_2fwo
null
null
null
True
igotthepancakes
null
I love you, and thank you.
null
0
1316983357
False
0
c2mij5m
t3_kqixo
null
t1_c2mij5m
t3_kqixo
null
1427645836
1
t5_2fwo
null
null
null
True
[deleted]
null
Implement in in an immutable manner?
null
0
1316983479
False
0
c2mijmq
t3_kqoz2
null
t1_c2mijmq
t3_kqoz2
null
1427645841
0
t5_2fwo
null
null
null
True
androo87
null
Andrew Ng's Stanford Machine Learning class is doing a similar online thing. Find that class here: http://www.ml-class.org/course/auth/welcome
null
0
1316983752
True
0
c2miktz
t3_kqucu
null
t1_c2miktz
t3_kqucu
null
1427645854
33
t5_2fwo
null
null
null
True
HeadphoneWarrior
null
Oxidization rusts our machines. Burn the forests.
null
0
1316984198
False
0
c2mimq9
t3_kqixo
null
t1_c2mimq9
t1_c2mgxdc
null
1427645880
1
t5_2fwo
null
null
null
True
paganel
null
> You do understand that there is a galaxy's worth of difference between an civil engineer and a software engineer, right? Tell that to all the Agile gurus who want to turn programming into a "serious" business, much like civil engineering is. Or do you think that I started bragging about building houses on /r/programming just for the fun of it?
null
0
1316984335
False
0
c2minac
t3_kq001
null
t1_c2minac
t1_c2mbfmk
null
1427645889
1
t5_2fwo
null
null
null
True
[deleted]
null
It's more interesting if you think about it from the application architecture, performance, and optimization perspectives (i.e. scalability & high volume).
null
0
1316984405
False
0
c2minln
t3_kqucu
null
t1_c2minln
t1_c2mhhbm
null
1427645896
3
t5_2fwo
null
null
null
True
[deleted]
null
Doesn't mean you couldn't put it on the 'ole resume though. ;) Knowledge is knowledge. Doesn't matter where you learned it only that you learned it.
null
0
1316984527
False
0
c2mio60
t3_kqucu
null
t1_c2mio60
t1_c2mhqqt
null
1427645900
11
t5_2fwo
null
null
null
True
deadly_pineapple
null
I doubt it because the Wii SDK is for C++.
null
0
1316984591
False
0
c2miofz
t3_kqoz2
null
t1_c2miofz
t1_c2mgfkc
null
1427645903
1
t5_2fwo
null
null
null
True
lightsaberon
null
It is a major component of the highly popular LAMP framework. A lot of businesses will always follow the herd.
null
0
1316984668
False
0
c2mioqj
t3_ko20r
null
t1_c2mioqj
t1_c2lv155
null
1427645906
1
t5_2fwo
null
null
null
True
iaH6eeBu
null
http://www.reddit.com/r/technology/comments/kpg07/net_neutrality_rules_published_lawsuits_soon_to/
null
0
1316984834
False
0
c2mipfc
t3_kqzw8
null
t1_c2mipfc
t1_c2migx6
null
1427645915
1
t5_2fwo
null
null
null
True
kLinus
null
I'm going to X-Post this to /r/gamedev since there might be some people that would find this helpful there.
null
0
1316985256
False
0
c2mir49
t3_kr344
null
t1_c2mir49
t3_kr344
null
1427645937
-1
t5_2fwo
null
null
null
True
MarcuBot
null
Why god WHY? Get Visual Studio and Visual assist...
null
0
1316985413
False
0
c2mirr6
t3_kr2x5
null
t1_c2mirr6
t3_kr2x5
null
1427645945
-22
t5_2fwo
null
null
null
True
easymovet
null
Is c# the newest of those? Definitely seems to have the least. "Gotchas"
null
0
1316985425
False
0
c2mirss
t3_kmpyi
null
t1_c2mirss
t1_c2lu0r4
null
1427645946
1
t5_2fwo
null
null
null
True
ropers
null
[Be part of the solution.](http://eho.st/ppprktas+)
null
0
1316985509
False
0
c2mis5j
t3_kqzw8
null
t1_c2mis5j
t1_c2micwq
null
1427645950
1
t5_2fwo
null
null
null
True
easymovet
null
Hah I just modified my headers to hide the os name. See if you can figure out the host os. HTTP://API.servercyde.com/API/3/
null
0
1316985660
False
0
c2miss4
t3_kmevq
null
t1_c2miss4
t3_kmevq
null
1427645958
1
t5_2fwo
null
null
null
True
duckfighter
null
As long as we do not know the context, the answer is still why not. Also, V8 compiles to machine code.
null
0
1316985679
False
0
c2misvc
t3_kq27q
null
t1_c2misvc
t1_c2mh2pz
null
1427645960
1
t5_2fwo
null
null
null
True
[deleted]
null
What's the difference between styling static and dynamic content? It's all just html5 markup in the end.
null
0
1316985703
False
0
c2misyr
t3_kpgmn
null
t1_c2misyr
t1_c2m9f8l
null
1427645961
1
t5_2fwo
null
null
null
True
jmdavis
null
There are D2 versions of both, though at least for gdc, it can be a bit hard to find, since the searches for it tend to show the page for the D1 version first rather than the [D2 version](https://bitbucket.org/goshawk/gdc/wiki/Home).
null
0
1316985944
False
0
c2miu0r
t3_kqoz2
null
t1_c2miu0r
t1_c2mihnp
null
1427645975
2
t5_2fwo
null
null
null
True
lessthan_i
null
C# is from circa 2001, so Java has been around longer. Groovy and Scala is from 2003 - though I have no idea when they matured and were used together with the JVM for serious purposes. Edit: Groovy went v. 1 in 2007. Scala, according to Wikipedia became usefull on the JVM in 2004.
null
0
1316985995
True
0
c2miu7v
t3_kmpyi
null
t1_c2miu7v
t1_c2mirss
null
1427645978
1
t5_2fwo
null
null
null
True
junkit33
null
Databases are also generally the single most valuable thing you can understand. In any application with a database where performance matters, the database tends to be the bottleneck. A few unoptimized lines of code are nothing compared to a slow query.
null
0
1316986094
False
0
c2miund
t3_kqucu
null
t1_c2miund
t1_c2mhhbm
null
1427645991
65
t5_2fwo
null
null
null
True
stesch
null
<b> is HTML5, by the way.
null
0
1316986099
False
0
c2miuon
t3_kr2ks
null
t1_c2miuon
t1_c2mi3bf
null
1427645991
1
t5_2fwo
null
null
null
True
stesch
null
> strong and em, or at least span with css definition, the stuff taught here is like... 1990s standards... You should brush up your HTML. HTML5 is here to stay. <b> is OK.
null
0
1316986136
False
0
c2miuue
t3_kr2ks
null
t1_c2miuue
t1_c2mi76c
null
1427645988
1
t5_2fwo
null
null
null
True
ericanderton
null
To be fair, Stroustrup has been at this for a *long* time. Without context, it's possible that this discussion happened more than 20 years ago. So the addition of mere *hundreds-of-kilobytes* of runtime data just for reflection, would have been quite distasteful then. IMO, it would be easy to require at least that much if you include all symbols, including the inheritance trees of types from template libraries like STL.
null
0
1316986478
False
0
c2miw9z
t3_kqtat
null
t1_c2miw9z
t1_c2mhgcb
null
1427646005
2
t5_2fwo
null
null
null
True
joopsmit
null
That was what I thought when studying CS. In practice, especially in business software, a really large percentage of programs is about presenting and manipulating data in databases. Designing a correct and workable database model is interesting and non-trivial.
null
0
1316986513
False
0
c2miwed
t3_kqucu
null
t1_c2miwed
t1_c2mhhbm
null
1427646006
7
t5_2fwo
null
null
null
True
Stormflux
null
Is that where the downvotes are coming from? This isn't a discussion about when to use classes vs structs. We're talking about methods vs. properties vs. public fields. Are you suggesting that there is never a reason for a class to expose a property? That's ridiculous. And what's all this about "code smell"? The reasons for using properties as opposed to public fields are explained in the link below. Which isn't to say you should *never* use a public field, just that I usually default to using properties in place of public fields unless I have a good reason not to. It is also the very first item (of 50) in Bill Wagner's Effective C#, so I'm kind of puzzled as to why you're jumping down my throat. http://csharpindepth.com/Articles/Chapter8/PropertiesMatter.aspx
null
0
1316986526
True
0
c2miwfy
t3_kq001
null
t1_c2miwfy
t1_c2mh0yt
null
1427646008
1
t5_2fwo
null
null
null
True
HotHands
null
Stanford seems to really like offering classes that I've already taken or are enrolled in... first AI, then machine learning, and now intro to db. Ah well, at least it will be good for everyone who hasn't taken them.
null
0
1316986643
False
0
c2miwvu
t3_kqucu
null
t1_c2miwvu
t3_kqucu
null
1427646013
1
t5_2fwo
null
null
null
True
comment-dwim
null
As far as multi-paradigm languages go, what I would like is to see a reboot of Tim Budd's [Leda](http://en.wikipedia.org/wiki/Leda_\(programming_language\)). The [source code](http://web.engr.oregonstate.edu/~budd/Books/leda/info/ledainterp.tar) for the interpreter does not compile anymore with newer versions of Bison/Flex. It featured class-based OO (with generics), closures (and tail recursion), both eager/lazy evaluation, call by ref, value and name, constraint logic programming, pattern matching and more in a coherent language, all in an interpreter that was about 170 kb of C code.
null
0
1316986667
False
0
c2miwzo
t3_kpwjl
null
t1_c2miwzo
t3_kpwjl
null
1427646014
2
t5_2fwo
null
null
null
True
IAmTheChampion
null
Thanks for the link! Even if you can't use it as credit, doesn't mean you can't put it on your resume. Why not take advantage of such an opportunity?
null
0
1316986927
False
0
c2miy4i
t3_kqucu
null
t1_c2miy4i
t3_kqucu
null
1427646029
6
t5_2fwo
null
null
null
True
noname-_-
null
He's probably not using Visual C++ or Windows.
null
0
1316986949
False
0
c2miy7n
t3_kr2x5
null
t1_c2miy7n
t1_c2mirr6
null
1427646030
9
t5_2fwo
null
null
null
True
imaginaryredditor
null
> One approach I've considered for dealing with silly volumes of data is a multi-dimensional array, basically throwing away the whole class model and just having a table of values, one row per "object". That's what android programmers do to get good rendering performance.
null
0
1316986986
False
0
c2miyd3
t3_kq27q
null
t1_c2miyd3
t1_c2mhzu2
null
1427646041
2
t5_2fwo
null
null
null
True
BraveSirRobin
null
I've done similar in Java Swing apps myself. The renderers fire a lot so the trick is to pre-prepare any calculations beforehand, when the data changes. The renderer should just be looking up values instead of working things out. Having it query a DB is a big no-no, particularly as the renderer works in the UI thread, so the whole app freezes when it's doing unnecessary stuff. Quite a common rookie mistake, gets worse and worse as datasets grow.
null
0
1316987246
False
0
c2mizfp
t3_kq27q
null
t1_c2mizfp
t1_c2miyd3
null
1427646054
1
t5_2fwo
null
null
null
True
[deleted]
null
So show us your hammer then. And show me how your hammer can represent a finite set of values that can be type-checked - and that you can attach simple methods to to convert said values to / from string representations for the API that demands them.
null
0
1316987270
False
0
c2mizj6
t3_kocub
null
t1_c2mizj6
t1_c2mgzzg
null
1427646055
1
t5_2fwo
null
null
null
True
opkode
null
From their wiki on Github > Because Rust doesn’t support x86-64 yet, you may need to configure LLVM using some special flags. You still have to use 32 bit LLVM and other toolchain
null
0
1316987316
False
0
c2mizpx
t3_kos4z
null
t1_c2mizpx
t1_c2mhw41
null
1427646056
2
t5_2fwo
null
null
null
True
Eldorian
null
Signed up... figured if nothing else it will be a fun little refresher course.
null
0
1316987474
False
0
c2mj0cv
t3_kqucu
null
t1_c2mj0cv
t3_kqucu
null
1427646063
9
t5_2fwo
null
null
null
True
kraln
null
These are mostly worthless to me. stock vim pretty much does everything I want.
null
0
1316987490
False
0
c2mj0fb
t3_kr2x5
null
t1_c2mj0fb
t3_kr2x5
null
1427646063
10
t5_2fwo
null
null
null
True
rafekett
null
Using a database is boring. Database design, theory, etc. are all quite interesting, though. I'm not quite sure what the subject matter is for this course, but if they cover the theory it should be very interesting.
null
0
1316987534
False
0
c2mj0lc
t3_kqucu
null
t1_c2mj0lc
t1_c2mhhbm
null
1427646069
6
t5_2fwo
null
null
null
True
[deleted]
null
That's cool. I use mainly Windows so I didn't note that.
null
0
1316987667
False
0
c2mj13j
t3_kqoz2
null
t1_c2mj13j
t1_c2mhlw9
null
1428192833
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316987766
False
0
c2mj1hg
t3_kr2ks
null
t1_c2mj1hg
t3_kr2ks
null
1427646090
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316987884
False
0
c2mj1wk
t3_kr2ks
null
t1_c2mj1wk
t3_kr2ks
null
1428192830
1
t5_2fwo
null
null
null
True
[deleted]
null
I have a similar sentiment. Although recently I took a graduate level database course which involved developing a toy RDBMS. It was one of the most challenging courses I've taken and allowed for freedom in design decisions (choose a bad design and it becomes an incredible amount of extra work). This course on the other hand appears to be a tour of the relational model, SQL, web technologies, high-level DB stuff. This is the part of Databases which I find uninteresting, but would expect from a introductory course in databases.
null
0
1316987923
False
0
c2mj21r
t3_kqucu
null
t1_c2mj21r
t1_c2mhhbm
null
1427646097
3
t5_2fwo
null
null
null
True
[deleted]
null
At first I thought it was kind of lame, but then I noticed that the author is an undergraduate student. Kudos.
null
0
1316987952
False
0
c2mj25i
t3_kr2x5
null
t1_c2mj25i
t3_kr2x5
null
1427646100
3
t5_2fwo
null
null
null
True
I_TYPE_IN_ALL_CAPS
null
UNMEMORABLE SHORTCUTS FOR THE THINGS WE TYPE THE LEAST. PRAGMA? REALLY?
null
0
1316988150
False
0
c2mj2vt
t3_kr2x5
null
t1_c2mj2vt
t3_kr2x5
null
1427646113
9
t5_2fwo
null
null
null
True
nascent
null
You mean, it doesn't?
null
0
1316988186
False
0
c2mj30h
t3_kooiy
null
t1_c2mj30h
t1_c2m54ap
null
1427646114
1
t5_2fwo
null
null
null
True
kataire
null
Just go with Django and call it MTV =P EDIT: Of course that's only half the truth anyway. There are several distinct "layers" in Django and there's more than three: there are models, templates, "views", routes and forms. And then there's probably even more that I am not aware of. It may or may not be "MVC", but it's definitely loosely coupled and functionally separated.
null
0
1316988270
True
0
c2mj3cu
t3_kquum
null
t1_c2mj3cu
t1_c2mgob0
null
1427646116
3
t5_2fwo
null
null
null
True
Poddster
null
>Perhaps you missed the words "trying" Nope >and "toy" in the original comment. Yep. Even so, my second comment still stands. Cart before the horse.
null
0
1316988458
False
0
c2mj44b
t3_kqqd5
null
t1_c2mj44b
t1_c2mg34c
null
1427646128
-5
t5_2fwo
null
null
null
True
Abscissa256
null
D can link with C and a certain subset of C++, so in theory they could use D, but unfortunately I don't think there's currently a D compiler that can target PowerPC CPUs. Although it may be possible to merge DevKitPro with GDC. That would be a great project for someone much more comfortable with GCC's source than I am.
null
0
1316988635
False
0
c2mj4v7
t3_kqoz2
null
t1_c2mj4v7
t1_c2miofz
null
1428192821
8
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316989191
False
0
c2mj75r
t3_kr2ks
null
t1_c2mj75r
t1_c2miuue
null
1428192820
1
t5_2fwo
null
null
null
True
Zarutian
null
> (this is a thing that can start wars) You are right about that. > But really, putting the brace on a separate line really helps the readability of the code. You are wrong about that. For me it is a code smell that stings me in the eyse and tells me a novice programmer lacking confidence wrote the code. As is excessive use of blank lines between statements/expressions and/or reduntant comments describing how instead of why.
null
0
1316989560
False
0
c2mj8oh
t3_kooiy
null
t1_c2mj8oh
t1_c2m1prn
null
1427646186
0
t5_2fwo
null
null
null