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
Tristanus
null
445 slides of how to write code that will blow up at the slightest change.
null
0
1318269517
False
0
c2qcfkc
t3_l6yn1
null
t1_c2qcfkc
t3_l6yn1
null
1427712011
21
t5_2fwo
null
null
null
True
lunyboy
null
Snarky comment, very helpful.
null
0
1318269544
False
0
c2qcfqf
t3_l7769
null
t1_c2qcfqf
t1_c2qcbr6
null
1427712013
0
t5_2fwo
null
null
null
True
TheMoonMaster
null
Agreed. I don't like how they use CSS to compose everything instead of using HTML for structure, Javascript for manipulation and CSS for style.
null
0
1318269552
False
0
c2qcfsc
t3_l7769
null
t1_c2qcfsc
t1_c2qc9wu
null
1427712013
2
t5_2fwo
null
null
null
True
ethraax
null
It was published (or copyrighted, at least) in 1997 - in your opinion, is it still largely applicable to modern C++ programming in 2011?
null
0
1318269620
False
0
c2qcg5m
t3_l6yn1
null
t1_c2qcg5m
t1_c2qboyw
null
1427712018
2
t5_2fwo
null
null
null
True
TheMoonMaster
null
That's a shitty excuse.
null
0
1318269661
False
0
c2qcgd7
t3_l6uwv
null
t1_c2qcgd7
t1_c2qc6gd
null
1427712021
0
t5_2fwo
null
null
null
True
pnpbios
null
now that the page is up, I'm even less impressed. All he's doing is wrapping webkit. His layout's aren't 'mobile optimized', nothing should be in 2+ columns. edit, I was wrong!
null
0
1318269664
True
0
c2qcgdp
t3_l7769
null
t1_c2qcgdp
t1_c2qcfqf
null
1427712021
0
t5_2fwo
null
null
null
True
acecool
null
I wonder how Dart will compare to [Pike](http://pike.ida.liu.se/), which is also a scripting language with optional static typing, and is supposed to be very fast. There is also [Squirrel](http://squirrel-lang.org/) a very fast scripting language that has C++ syntax and full C++-like object orientation.
null
0
1318269675
False
0
c2qcgff
t3_l6uwv
null
t1_c2qcgff
t3_l6uwv
null
1427712022
2
t5_2fwo
null
null
null
True
[deleted]
null
That does not in any way whatsoever explain the use of a PDF.
null
0
1318269695
False
0
c2qcgkt
t3_l6uwv
null
t1_c2qcgkt
t1_c2qata3
null
1427712024
1
t5_2fwo
null
null
null
True
pnpbios
null
it's a webkit wrapper with a few custom CSS tags.
null
0
1318269703
False
0
c2qcgm9
t3_l7769
null
t1_c2qcgm9
t1_c2qcbnd
null
1427712024
0
t5_2fwo
null
null
null
True
[deleted]
null
Thanks!
null
0
1318269723
False
0
c2qcgq1
t3_l6yn1
null
t1_c2qcgq1
t1_c2qcaks
null
1427712035
6
t5_2fwo
null
null
null
True
s73v3r
null
Yeah, I'm gonna need a source on that.
null
0
1318269803
False
0
c2qch5q
t3_l579f
null
t1_c2qch5q
t1_c2q0snp
null
1427712031
1
t5_2fwo
null
null
null
True
kamatsu
null
Sure have, and, unlike Go, this language at least has generic types, some idea of discriminated unions can be achieved with subtyping, and decent error handling mechanisms. In Go's credit, Go's type system is at least mostly sound (although incredibly weak), and Go's concurrency abstractions are nicer. I still prefer D...
null
0
1318269813
True
0
c2qch7u
t3_l6uwv
null
t1_c2qch7u
t1_c2qbdg2
null
1427712033
6
t5_2fwo
null
null
null
True
Purple_Haze
null
History is interesting. **grep** is important in the development of the Unix philosophy of small programs piped together in an ad hoc manner. It is relevant that it was written in **ed** because it's name comes from **ed**: to list all occurrences of the regexp "re" one types "g/re/p" where "g" stands for "global" and...
null
0
1318269828
False
0
c2qchb3
t3_l6xnp
null
t1_c2qchb3
t1_c2qc4ao
null
1427712034
14
t5_2fwo
null
null
null
True
s73v3r
null
Knowing how they work is far different than choosing one or the other. And at the theory level, OpenGL and D3d are fairly similar in how they work.
null
0
1318269869
False
0
c2qchi0
t3_l579f
null
t1_c2qchi0
t1_c2q14a9
null
1427712036
1
t5_2fwo
null
null
null
True
mdipierro
null
Very disappointed. Long live CoffeeScript.
null
0
1318269954
False
0
c2qchxf
t3_l6u5q
null
t1_c2qchxf
t3_l6u5q
null
1427712042
4
t5_2fwo
null
null
null
True
djdillon
null
Good point...
null
0
1318269962
False
0
c2qchyw
t3_l399g
null
t1_c2qchyw
t1_c2phl7s
null
1427712043
1
t5_2fwo
null
null
null
True
smcameron
null
See also output of "man queue" There's a userland variant you can get just by including <sys/queue.h>
null
0
1318269965
False
0
c2qchze
t3_l6xa0
null
t1_c2qchze
t3_l6xa0
null
1427712043
5
t5_2fwo
null
null
null
True
ewiethoff
null
Neither Joe Coder nor Susie Know-it-all remarks that curly quotes don't give you a string literal.
null
0
1318270000
False
0
c2qci5o
t3_l6yn1
null
t1_c2qci5o
t3_l6yn1
null
1427712045
17
t5_2fwo
null
null
null
True
pnpbios
null
OK, high plains drifter. If you're more comfortable using experimental languages with poor library support and idiot self absorbed user bases, that's your prerogative. If you want to make more than 60K a year, I suggest learning a 'boring' language and learn how to talk to other developers. But if you want to keep w...
null
0
1318270007
False
0
c2qci70
t3_l6uwv
null
t1_c2qci70
t1_c2qcgd7
null
1427712045
-3
t5_2fwo
null
null
null
True
vytah
null
1-element tuples are written (x,) not (x)
null
0
1318270028
False
0
c2qcial
t3_l6uwv
null
t1_c2qcial
t1_c2qc2uj
null
1427712046
1
t5_2fwo
null
null
null
True
ctess
null
This is an awesome site! Keep up the good work, you got my up vote :D
null
0
1318270102
False
0
c2qcipd
t3_l6ao7
null
t1_c2qcipd
t3_l6ao7
null
1427712051
2
t5_2fwo
null
null
null
True
painki11er
null
I think nobody got the sarcasm.
null
0
1318270114
False
0
c2qcirn
t3_l6uwv
null
t1_c2qcirn
t1_c2qcgkt
null
1427712052
3
t5_2fwo
null
null
null
True
kakali
null
I don't entirely disagree. In C++, it seems doubly important to decide on a style and then stick to that framework. Once you've made that decision (which STL and Boost can help decide), I think C++ is pretty easy to develop in.
null
0
1318270134
False
0
c2qciwo
t3_l6yn1
null
t1_c2qciwo
t1_c2qc0nb
null
1427712054
9
t5_2fwo
null
null
null
True
reddit_clone
null
With _that_ attitude ...
null
0
1318270158
False
0
c2qcj0m
t3_l6uwv
null
t1_c2qcj0m
t1_c2qcadz
null
1427712055
-1
t5_2fwo
null
null
null
True
julesjacobs
null
Could you explain a bit more why it is problematic? Perhaps with an example program that is difficult to type infer. I'm ignorant on the issues but it seems that it should be doable to do a type checker that tells you one of three things: - program can be made type safe with the proper annotations - program cannot be ...
null
0
1318270192
True
0
c2qcj7c
t3_l6uwv
null
t1_c2qcj7c
t1_c2qc5on
null
1427712058
3
t5_2fwo
null
null
null
True
jinglebells
null
Didn't mean to come across as a hissy fit, it's just very frustrating. This is a Virtual Machine so it can't be a network card issue. I can't log in at all. Not useably, since once I log in I get an activation screen then it boots me back to the logon screen. I've given up on it, it was mainly served as an example ...
null
0
1318270193
False
0
c2qcj7m
t3_kz7vp
null
t1_c2qcj7m
t1_c2q5741
null
1427712058
1
t5_2fwo
null
null
null
True
apage43
null
That depends where you're applying, but almost certainly not. Don't sweat it.
null
0
1318270196
False
0
c2qcj87
t3_l6yn1
null
t1_c2qcj87
t1_c2qc58d
null
1427712058
3
t5_2fwo
null
null
null
True
damg
null
I believe it will since the V8 and IonMonkey JS engines get good performance from type specialization which benefits from this.
null
0
1318270281
False
0
c2qcjlz
t3_l6uwv
null
t1_c2qcjlz
t1_c2qc897
null
1427712063
1
t5_2fwo
null
null
null
True
[deleted]
null
While the absurdity and naivety of your responses have been diverse and not at all subtle, I think the sheer ignorance you display is best illustrated by this gem: >I believe it was the great Linus Torvalds who taught us that a Unix kernel was about one man-year of work. Linux was nowhere near on par with Unix aft...
null
0
1318270287
False
0
c2qcjo0
t3_l466j
null
t1_c2qcjo0
t1_c2q34em
null
1427712064
1
t5_2fwo
null
null
null
True
bcain
null
Ok, so I'll never be able access things like camera / location? Or does the native browser actually have access to those things?
null
0
1318270312
False
0
c2qcjtw
t3_l7769
null
t1_c2qcjtw
t1_c2qcgm9
null
1427712067
1
t5_2fwo
null
null
null
True
kev009
null
Language Lawyers. Useful knowledge if you're writing a compiler or code tools perhaps, not so much otherwise.
null
0
1318270316
False
0
c2qcjuq
t3_l6yn1
null
t1_c2qcjuq
t1_c2qbr11
null
1427712067
11
t5_2fwo
null
null
null
True
gobliin
null
I don't see why that should be the case. Why does grep have to interpret an utf-8 string unicode character by unicode character? Why not byte by byte?
null
0
1318270356
False
0
c2qck2e
t3_l6xnp
null
t1_c2qck2e
t1_c2qbwty
null
1427712069
5
t5_2fwo
null
null
null
True
TheMoonMaster
null
For one, I'm not a fan of Google Dart. For two, I know a few "boring" languages. And even though I appreciate your advice as an attempt to help me better myself, you just don't know what you're talking about. Also, no shit Ruby can't be embedded or used to write robotics software efficiently.
null
0
1318270378
False
0
c2qck6m
t3_l6uwv
null
t1_c2qck6m
t1_c2qci70
null
1427712070
0
t5_2fwo
null
null
null
True
sgoguen
null
> What if you have a method called Greeter()? Consider treating constructors like regular functions. Want to make your constructor a singleton? function MakeSingleton(constructor) { var instance = null; return function() { if(instance == null) instance = constructor(); return ins...
null
0
1318270380
False
0
c2qck6u
t3_l6uwv
null
t1_c2qck6u
t1_c2q9rmi
null
1427712071
1
t5_2fwo
null
null
null
True
bcain
null
Jeez, why downvote the submitter? If you're not interested in the article, downvote that and move on. Interesting threads are getting buried.
null
0
1318270391
False
0
c2qck8y
t3_l7769
null
t1_c2qck8y
t3_l7769
null
1427712071
-1
t5_2fwo
null
null
null
True
vanhellion
null
I wouldn't have known half of the cases presented in these slides immediately after graduating. Especially vague in my mind were the nuances between C and C++ behaviors. There are still plenty of things I'm not always sure about (I work primary with C++), but knowledge of your own ignorance is more important than hav...
null
0
1318270393
False
0
c2qck9f
t3_l6yn1
null
t1_c2qck9f
t1_c2qc58d
null
1427712071
3
t5_2fwo
null
null
null
True
scubaguy
null
Good point. Though in static mode, this form should be caught as a compile time error right? I suppose that's the problem with being halfway between static and dynamic. The static camp expect more static behavior, while the dynamic camp will find it distasteful.
null
0
1318270399
False
0
c2qckad
t3_l6uwv
null
t1_c2qckad
t1_c2qbezw
null
1427712072
3
t5_2fwo
null
null
null
True
Taladar
null
Well, lets just say products explicitly made with the mindset "we understand the complex features but those average people won't" usually don't end up great. Sometimes they are successful, yes, Java probably being the best example of that, but they are rarely the ones chosen by a technical audience (as opposed to manag...
null
0
1318270435
False
0
c2qckh8
t3_l6uwv
null
t1_c2qckh8
t1_c2qbo2v
null
1427712074
3
t5_2fwo
null
null
null
True
[deleted]
null
Can we stop pretending that prototypal inheritance is anything other than a steaming pile of shit?
null
0
1318270457
False
0
c2qcklk
t3_l765i
null
t1_c2qcklk
t3_l765i
null
1427712076
-11
t5_2fwo
null
null
null
True
galtzagorri
null
I downloaded it and it doesn't seem to be a webkit. Only one column and native UIs
null
0
1318270489
False
0
c2qckra
t3_l7769
null
t1_c2qckra
t1_c2qcgdp
null
1427712078
3
t5_2fwo
null
null
null
True
grauenwolf
null
Most VB programmers? Do you really hang out with that many of them?
null
0
1318270571
False
0
c2qcl6p
t3_l1tjd
null
t1_c2qcl6p
t1_c2pt49p
null
1427712083
1
t5_2fwo
null
null
null
True
grauenwolf
null
DataContractSerializer http://stackoverflow.com/questions/1076730/datacontractserializer-doesnt-call-my-constructor
null
0
1318270626
False
0
c2qclj5
t3_l38op
null
t1_c2qclj5
t1_c2pskrn
null
1427712088
1
t5_2fwo
null
null
null
True
pnpbios
null
First thing I look for whenever I have to go and play archaeologist on a server is table triggers. Table triggers should not contain logic. Logging at the very most. Stored procedures should not contain any logic beyond what is necessary to do complex CRUD in an orderly fashion. Views should not contain any logic oth...
null
0
1318270665
False
0
c2qclqu
t3_l6wmx
null
t1_c2qclqu
t3_l6wmx
null
1427712092
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318270681
True
0
c2qclu5
t3_l6uwv
null
t1_c2qclu5
t1_c2qc939
null
1427712092
1
t5_2fwo
null
null
null
True
grauenwolf
null
I have to wonder which one. Certainly it isn't Merril Lynch which had whole departments running on Excel up to the point where Bank of America bought them out.
null
0
1318270809
False
0
c2qcmhr
t3_l1tjd
null
t1_c2qcmhr
t1_c2psb0s
null
1427712100
1
t5_2fwo
null
null
null
True
SnowdensOfYesteryear
null
Out of curiosity how is this different from the standard [select](http://pubs.opengroup.org/onlinepubs/009695399/functions/select.html) system call? Does BSD not have select?
null
0
1318270811
False
0
c2qcmhz
t3_l6j3g
null
t1_c2qcmhz
t3_l6j3g
null
1427712100
1
t5_2fwo
null
null
null
True
jacekplacek
null
Somehow I doubt it... there were times the new language popped up every second day. Hey, I did one in college too, not very likely you'd ever run into it's spec :)
null
0
1318270829
False
0
c2qcmkj
t3_l6uwv
null
t1_c2qcmkj
t1_c2q9u7s
null
1427712102
1
t5_2fwo
null
null
null
True
name_was_taken
null
The most succinct tl;dr I've ever seen, and possibly the most accurate as well. I'm duly impressed. (And no, this isn't sarcasm.)
null
0
1318270835
False
0
c2qcmlk
t3_l79i1
null
t1_c2qcmlk
t1_c2qca3z
null
1427712103
1
t5_2fwo
null
null
null
True
kamatsu
null
Very well said.
null
0
1318270857
False
0
c2qcmqe
t3_l6uwv
null
t1_c2qcmqe
t1_c2qbx9m
null
1427712105
3
t5_2fwo
null
null
null
True
pnpbios
null
I'm still pretty sure it's just webkit with a few new css extensions. webkit is the rendering engine that ships on all of these phones.
null
0
1318270881
False
0
c2qcmux
t3_l7769
null
t1_c2qcmux
t1_c2qckra
null
1427712106
2
t5_2fwo
null
null
null
True
gobliin
null
Hmm. At first sight it might not matter, but I think that Purple_Haze's historical context is actually pretty informative. I wouldn't even call ed a text-editor, it's more of a text-debugger and patcher-tool. Kind of like dos' debug is for com files. The original grep did not contain any fancy algos as it was writt...
null
0
1318270961
False
0
c2qcna5
t3_l6xnp
null
t1_c2qcna5
t1_c2qc4ao
null
1427712112
2
t5_2fwo
null
null
null
True
aaronla
null
No, they don't. Er, rather, most won't, because most don't know these answers themselves. I'm a self professed language lawyer. I don't know everything, but I know more than most about the languages I use than most of my colleagues would care to. I've been interviewed by lesser, more ego-driven language lawyers. One ...
null
0
1318270994
False
0
c2qcngj
t3_l6yn1
null
t1_c2qcngj
t1_c2qc58d
null
1427712114
15
t5_2fwo
null
null
null
True
DrGirlfriend
null
It is [Big-O notation](http://en.wikipedia.org/wiki/Big_O_notation). It is hard to grasp at first but extremely important if you want to be a programmer of non-suck quality.
null
0
1318270997
False
0
c2qcnhc
t3_l6xa0
null
t1_c2qcnhc
t1_c2qc13u
null
1427712114
1
t5_2fwo
null
null
null
True
flussence
null
Can you *please* give us a default HTML API that's not as excruciatingly painful to use as the W3C DOM, and not just a clone of jQuery's gigantic-workaround syntax?
null
0
1318271004
False
0
c2qcnip
t3_l6uwv
null
t1_c2qcnip
t1_c2q9lpp
null
1427712115
2
t5_2fwo
null
null
null
True
danhakimi
null
On windows phone devices. And in a few other places... They force .NET harder, but where they can push C#, they will. I tried learning C# (the idea of a purely compiled Java got me excited), but as soon as I was told ".NET or GTFO" I decided that Microsoft clearly didn't care about not being a dick to developers.
null
0
1318271028
False
0
c2qcnn5
t3_l6uwv
null
t1_c2qcnn5
t1_c2qc7f3
null
1427712116
1
t5_2fwo
null
null
null
True
ethraax
null
That makes sense, since grep skips over swaths of characters. In the C locale, skipping n characters is a O(1) operation. In a variable-width locale, like UTF-8, skipping n characters is an O(n) operation.
null
0
1318271057
False
0
c2qcnt0
t3_l6xnp
null
t1_c2qcnt0
t1_c2qbukx
null
1427712119
13
t5_2fwo
null
null
null
True
WalterGR
null
* [Code Hard! (with Java)](http://www.reddit.com/r/programming/comments/l55ki/code_hard_with_java/) - 80 points * [Python Cupcakes :)](http://www.reddit.com/r/programming/comments/l63z2/python_cupcakes/) - 48 points
null
0
1318271075
False
0
c2qcnw9
t3_l6m5r
null
t1_c2qcnw9
t1_c2qcfat
null
1427712120
1
t5_2fwo
null
null
null
True
dauphic
null
Why, exactly, does this language exist?
null
0
1318271076
False
0
c2qcnwh
t3_l6u5q
null
t1_c2qcnwh
t3_l6u5q
null
1427712120
7
t5_2fwo
null
null
null
True
Mr_Pickles_Esq
null
One thing to note is that you probably want to use the O_EVTONLY flag to open() otherwise you'll prevent the volume that the file is on from being unmounted. Also, because it requires open descriptors, kqueue/GCD is not suitable if you need to monitor a lot of files and you should be using FSEvents instead in that cas...
null
0
1318271099
False
0
c2qco1w
t3_l6j3g
null
t1_c2qco1w
t3_l6j3g
null
1427712122
2
t5_2fwo
null
null
null
True
[deleted]
null
Point noted!
null
0
1318271117
False
0
c2qco5d
t3_l73uk
null
t1_c2qco5d
t1_c2qbv5u
null
1427712124
2
t5_2fwo
null
null
null
True
pnpbios
null
Well, enlighten me then. Is Ruby not a ghetto then? http://techcrunch.com/2008/01/01/zed-shaw-puts-the-smack-down-on-the-rails-community/ Why exactly is a not boring language better than a boring one, other than the fact that it's got esoteric syntax? The way I see it, you do boring things with not boring languages,...
null
0
1318271149
False
0
c2qcobt
t3_l6uwv
null
t1_c2qcobt
t1_c2qck6m
null
1427712126
0
t5_2fwo
null
null
null
True
Taladar
null
This would be a non-issue if 'if' was an expression and not a statement, you could just do something like: Greeter greeter1 = if ( food == 1 ) { new GreeterSubClass() } else { new Greeter() }
null
0
1318271162
False
0
c2qcoei
t3_l6uwv
null
t1_c2qcoei
t1_c2qc3bu
null
1427712126
1
t5_2fwo
null
null
null
True
kamatsu
null
Not sure, but the language would've been much better designed.
null
0
1318271179
False
0
c2qcoh8
t3_l6uwv
null
t1_c2qcoh8
t1_c2qbtjy
null
1427712127
6
t5_2fwo
null
null
null
True
[deleted]
null
> As munificent noted below, type systems are "pessimistic": some valid programs with completely defined dynamic semantics (runtime behavior) don't type-check and never will type-check. Consider, for example, an if expression that returns something of the "wrong" type on a branch it will never actually take. Yes I ...
null
0
1318271180
False
0
c2qcoha
t3_l6uwv
null
t1_c2qcoha
t1_c2qc939
null
1427712127
8
t5_2fwo
null
null
null
True
mikesamuel
null
http://code.google.com/p/owasp-java-html-sanitizer/wiki/AttackReviewGroundRules explains how to look at the actual code behind the system, what constitutes an attack, and what is off limits.
null
0
1318271182
False
0
c2qcohr
t3_l7bjb
null
t1_c2qcohr
t3_l7bjb
null
1427712127
2
t5_2fwo
null
null
null
True
kikaerter
null
That looks cool! Thanks for the reference.
null
0
1318271191
False
0
c2qcok6
t3_l6dcp
null
t1_c2qcok6
t1_c2qc2n8
null
1427712128
1
t5_2fwo
null
null
null
True
__j_random_hacker
null
Thanks.
null
0
1318271204
False
0
c2qcon7
t3_l3ex2
null
t1_c2qcon7
t1_c2qbt7o
null
1427712130
1
t5_2fwo
null
null
null
True
[deleted]
null
Indeed, he may not have penetrated their intimate circles yet.
null
0
1318271250
False
0
c2qcovf
t3_l6uwv
null
t1_c2qcovf
t1_c2qbnuw
null
1427712133
11
t5_2fwo
null
null
null
True
galtzagorri
null
Also in Java phones and Blackberry?
null
0
1318271257
False
0
c2qcowi
t3_l7769
null
t1_c2qcowi
t1_c2qcmux
null
1427712133
3
t5_2fwo
null
null
null
True
tejoka
null
I believe because there are multiple byte representations for the same character.
null
0
1318271270
False
0
c2qcoz0
t3_l6xnp
null
t1_c2qcoz0
t1_c2qck2e
null
1427712134
5
t5_2fwo
null
null
null
True
refaptoring
null
They're still fucking peasants as far as John Lennon can see.
null
0
1318271329
False
0
c2qcpae
t3_l6uwv
null
t1_c2qcpae
t1_c2qbj08
null
1427712137
1
t5_2fwo
null
null
null
True
pnpbios
null
I don't have an IOS device, so I'm not sure what the native web-kit widget lets you get away with. it doesn't look like html5 supports webcam yet, but maybe location.
null
0
1318271358
False
0
c2qcpef
t3_l7769
null
t1_c2qcpef
t1_c2qcjtw
null
1427712138
0
t5_2fwo
null
null
null
True
WalterGR
null
Okay, Windows Phone. > And in a few other places. Where else? > I decided that Microsoft clearly didn't care about not being a dick to developers. Is that why you have to use C# on Windows Phones? Because Microsoft are dicks to developers? (I haven't done any Windows Phone development, so I don't know all t...
null
0
1318271398
True
0
c2qcpll
t3_l6uwv
null
t1_c2qcpll
t1_c2qcnn5
null
1427712142
1
t5_2fwo
null
null
null
True
shimei
null
If you're referring to *Types and Programming Languages*, it's far from a pure logic book. It's more like engineering with logic.
null
0
1318271416
False
0
c2qcppj
t3_l6dcp
null
t1_c2qcppj
t1_c2q7tsi
null
1427712143
4
t5_2fwo
null
null
null
True
Tetha
null
Is it just my german self, or does the girl answer tons and tons of stuff that just isn't asked? When compiled, it gives about 2 warnings and prints 42 and returns something undefined. Anything else is a different question. (And if you ask me to improve this program, I'd replace it with "echo 42") Edit: and in fact...
null
0
1318271428
True
0
c2qcps0
t3_l6yn1
null
t1_c2qcps0
t3_l6yn1
null
1427712144
15
t5_2fwo
null
null
null
True
Barncow
null
Boyer reaching with that one..
null
0
1318271523
False
0
c2qcqai
t3_l6xnp
null
t1_c2qcqai
t1_c2qca4g
null
1427712151
29
t5_2fwo
null
null
null
True
Taladar
null
Well, it is not the theory you have to know when your abstraction built on top is leaking like a sieve because of some behavior that differs depending on the backend (possibly because the abstraction implementers weren't aware of the difference or even because different implementations or versions of the underlying API...
null
0
1318271530
False
0
c2qcqbn
t3_l579f
null
t1_c2qcqbn
t1_c2qchi0
null
1427712151
1
t5_2fwo
null
null
null
True
ReturningTarzan
null
I soooo wanted to punch her.
null
0
1318271589
False
0
c2qcqnw
t3_l6yn1
null
t1_c2qcqnw
t1_c2qbkur
null
1427712155
15
t5_2fwo
null
null
null
True
TheMoonMaster
null
That is your opinion on Ruby and I honestly don't care enough about your opinion to try and change it. And as for the rest of your comment, it is full of blatant ignorance. I don't see why you are focusing on Ruby alone either.
null
0
1318271614
False
0
c2qcqsf
t3_l6uwv
null
t1_c2qcqsf
t1_c2qcobt
null
1427712157
0
t5_2fwo
null
null
null
True
shimei
null
> To do statically-typed programming language design, yes. Not every language has a static type system. Knowing lambda calculus is beneficial regardless of type discipline. Also, there is a *huge* breadth of knowledge in programming languages that is *not* type system engineering or type theory. Examples: semantics...
null
0
1318271679
False
0
c2qcr5u
t3_l6dcp
null
t1_c2qcr5u
t1_c2q8wxw
null
1427712162
2
t5_2fwo
null
null
null
True
grauenwolf
null
Memory allocation is important. I like to be able to count the number of new statements in a function.
null
0
1318271682
False
0
c2qcr6g
t3_l6uwv
null
t1_c2qcr6g
t1_c2q9qnl
null
1427712162
0
t5_2fwo
null
null
null
True
pnpbios
null
http://devblog.blackberry.com/2010/08/blackberry-browser-webkit/ also, jwebpane is available in java7 now. so yeah, it's really not tricky to host a browser window in your app and write some custom CSS tags.
null
0
1318271705
False
0
c2qcrb3
t3_l7769
null
t1_c2qcrb3
t1_c2qcowi
null
1427712164
1
t5_2fwo
null
null
null
True
grauenwolf
null
You forgot about IDE support. The new keyword is a trigger to display the list of classes. You don't need it but it makes the editor far less clumsy if you have it.
null
0
1318271786
False
0
c2qcrq0
t3_l6uwv
null
t1_c2qcrq0
t1_c2qayxp
null
1427712169
3
t5_2fwo
null
null
null
True
captain_plaintext
null
Why wouldn't a freshly declared variable allow a change of type?
null
0
1318271810
False
0
c2qcruu
t3_l6uwv
null
t1_c2qcruu
t1_c2qbl8x
null
1427712171
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318271882
False
0
c2qcs7v
t3_l6uwv
null
t1_c2qcs7v
t1_c2q9lpp
null
1427712176
0
t5_2fwo
null
null
null
True
malfy
null
Oh, so so bad.
null
0
1318271892
False
0
c2qcsb1
t3_l6m5r
null
t1_c2qcsb1
t1_c2qcnw9
null
1427712177
-1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318271906
False
0
c2qcses
t3_l6uwv
null
t1_c2qcses
t1_c2q9lpp
null
1427712178
1
t5_2fwo
null
null
null
True
pnpbios
null
you're the one who came over and took a steaming shit on my post. you say i'm wrong, but don't have anything to back it?
null
0
1318271929
False
0
c2qcskm
t3_l6uwv
null
t1_c2qcskm
t1_c2qcqsf
null
1427712181
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318271960
False
0
c2qcsp1
t3_l6uwv
null
t1_c2qcsp1
t1_c2qbfr7
null
1427712182
0
t5_2fwo
null
null
null
True
julesjacobs
null
His argument: http://www.aminutewithbrendan.com/pages/20101122 Most of his arguments apply equally well to Dart (e.g. standardization is hard, Javascript is good enough). Or are just plain wrong (bytecodes are harder to optimize than a source language like Javascript -- a sane bytecode with distictions between ints an...
null
0
1318271982
False
0
c2qcswa
t3_l6uwv
null
t1_c2qcswa
t1_c2qbwm4
null
1427712184
19
t5_2fwo
null
null
null
True
shimei
null
> Gilad doesn't fuck around, and he came to Google to work on Dart. I don't think he'd be happy if it fizzled out. I was surprised given this that Dart seems to have a very standard class-based OO system ala Java, considering that Gilad's PhD thesis was about better ways to compose classes.
null
0
1318271987
False
0
c2qcsxd
t3_l6uwv
null
t1_c2qcsxd
t1_c2qbfr7
null
1427712185
28
t5_2fwo
null
null
null
True
drb226
null
Pseudocode for a very, very dumb type inferencer like what you describe. if (!all(isAnnotated, expressions)) { return IsTooDifficult; } else { return IsTypeSafe; } Not very useful, but it fits the spec, right? :)
null
0
1318272086
False
0
c2qctfw
t3_l6uwv
null
t1_c2qctfw
t1_c2qcj7c
null
1427712191
3
t5_2fwo
null
null
null
True
frezik
null
First, that's what the ternary operator is for: Greeter greeter1 = (foo == 1) ? new GreeterSubClass() : new Greeter(); But for some reason, people don't like this syntax. It's really not bad once you get used to it and things are indented/enclosed in parens properly. Second, the point isn't reall...
null
0
1318272132
False
0
c2qctp9
t3_l6uwv
null
t1_c2qctp9
t1_c2qcoei
null
1427712195
2
t5_2fwo
null
null
null
True
nascent
null
> and one of the things that lead to that is that D requires more upfront knowledge on how a type is going to be used. I believe in C++ and D you must know these things about the type before you build it: * Is the type going to be polymorphic * Should the type have reference semantics The first forces the second,...
null
0
1318272171
True
0
c2qctxa
t3_kljc0
null
t1_c2qctxa
t1_c2qabzw
null
1427712199
1
t5_2fwo
null
null
null
True
mcguire
null
> ...the solution is in defining your system at a higher level in terms of a model, or composition. ... (ie. how to represent this structure / composition of structures as concept). That sounds more like [category theory](http://homepage.mac.com/fiadeiroj/jose/CATBook/). Note to those not randomly clicking on lin...
null
0
1318272240
False
0
c2qcubj
t3_l6dcp
null
t1_c2qcubj
t1_c2qbjy4
null
1427712203
2
t5_2fwo
null
null
null
True
drb226
null
So...basically a Scala-style type inference then? Scala's type annotations still feel very cumbersome, and its inference underwhelming; still Scala is rather nice and I certainly respect the Scala people for undertaking such a difficult problem and how well they have handled it thus far.
null
0
1318272324
False
0
c2qcura
t3_l6uwv
null
t1_c2qcura
t1_c2qc5on
null
1427712210
3
t5_2fwo
null
null
null
True
[deleted]
null
Nice read, but it feels a bit incomplete without a discussion of how a game picks a different seed each time it is run (such as using the system time or an entropy source.)
null
0
1318272332
False
0
c2qcut8
t3_l77q2
null
t1_c2qcut8
t3_l77q2
null
1427712210
3
t5_2fwo
null
null
null
True
Tetha
null
Honestly, if you are a good object oriented programmer, you are already able to design decent modules. They might be a bit inefficient, but its possible to work on that. Beyond that, understood pointers (as in adresses in memory) and some libraries and you are set for 90% of practical C you will find.
null
0
1318272350
False
0
c2qcuwv
t3_l6yn1
null
t1_c2qcuwv
t1_c2qax62
null
1427712211
3
t5_2fwo
null
null
null
True
[deleted]
null
> It's not like you can develop cancer medication in your garage and even if you could there is so much legal/regulatory overhead that's insurmountable by small guys. They are getting close to that. There is a lot you can do with simulations, there are also very large government funded incubators where I live that...
null
0
1318272393
False
0
c2qcv62
t3_l6m5r
null
t1_c2qcv62
t1_c2q9jup
null
1427712215
1
t5_2fwo
null
null
null
True
hiffy
null
Huh. Is that really the rationale behind it in, say, Java?
null
0
1318272408
False
0
c2qcv93
t3_l6uwv
null
t1_c2qcv93
t1_c2qcrq0
null
1427712216
1
t5_2fwo
null
null
null