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 | fas2 | null | > As things stand, side-effects can't be properly marked or avoided
I gave you an example. Haskell marks them properly. | null | 0 | 1318339622 | False | 0 | c2qkcx1 | t3_l6uwv | null | t1_c2qkcx1 | t1_c2qjwmk | null | 1427715753 | 1 | t5_2fwo | null | null | null |
True | moreyes | null | Dart's purpose is to help to maintain large JavaScript codebases, not to make JavaScript prettier.
And no, hello world with 17k lines doesn't qualify as "large codebase". It is not fair to even look at the Dart output right now. It is a preview, spec is incomplete, compiler is barely working etc. | null | 0 | 1318339720 | False | 0 | c2qkdaw | t3_l7wry | null | t1_c2qkdaw | t1_c2qj80b | null | 1427715758 | 2 | t5_2fwo | null | null | null |
True | BLAOW | null | >I'm not going to criticize a language based on my idiomatic preferences
and yet almost all of his complaints are exactly that | null | 0 | 1318339764 | False | 0 | c2qkdgi | t3_l88ny | null | t1_c2qkdgi | t3_l88ny | null | 1427715760 | 4 | t5_2fwo | null | null | null |
True | Leonidas_from_XIV | null | b) is actually pretty awesome, because people mistake the generated code for actual code. Won't happen with Dart or haXe. | null | 0 | 1318339835 | False | 0 | c2qkdot | t3_l7wry | null | t1_c2qkdot | t1_c2qk4kt | null | 1427715763 | 5 | t5_2fwo | null | null | null |
True | moreyes | null | http://code.google.com/p/go/source/browse/CONTRIBUTORS | null | 0 | 1318339850 | False | 0 | c2qkdqz | t3_l7wry | null | t1_c2qkdqz | t1_c2qjqso | null | 1427715764 | 3 | t5_2fwo | null | null | null |
True | Leonidas_from_XIV | null | Native Client perhaps? Also a Google project. | null | 0 | 1318339892 | False | 0 | c2qkdwa | t3_l7wry | null | t1_c2qkdwa | t1_c2qk8tl | null | 1427715765 | 3 | t5_2fwo | null | null | null |
True | noidi | null | > much easier than extracting text out of emacs which is great pain in side
At least in Emacs 23 the kill ring's top entry and the X selection buffer are synchronized. It probably works the same way with the Windows clipboard. | null | 0 | 1318339977 | False | 0 | c2qke5n | t3_l7bjb | null | t1_c2qke5n | t1_c2qjhnp | null | 1427715769 | 2 | t5_2fwo | null | null | null |
True | self | null | https://github.com/languages/Go | null | 0 | 1318339978 | False | 0 | c2qke5s | t3_l7wry | null | t1_c2qke5s | t1_c2qja41 | null | 1427715769 | 1 | t5_2fwo | null | null | null |
True | 5a1 | null | >
theoretical posts like this are still helpful to have from time to time to maybe give some exposure to functional programming to open-minded programmers with a secret crush on mathematical induction
For this I totally agree - but again the title is the 'mathematical foundations of software' and the text is explic... | null | 0 | 1318340048 | True | 0 | c2qkefe | t3_l6dcp | null | t1_c2qkefe | t1_c2qiuey | null | 1427715772 | 1 | t5_2fwo | null | null | null |
True | Seedrick | null | The video: [Adobe MAX 2011 - Photoshop Image Deblurring sneak](http://youtu.be/xxjiQoTp864) | null | 0 | 1318340057 | False | 0 | c2qkegk | t3_l8948 | null | t1_c2qkegk | t3_l8948 | null | 1427715773 | 4 | t5_2fwo | null | null | null |
True | sturmeh | null | Yeah, would have to be widely adopted for it to be of any use.
How's that project going? | null | 0 | 1318340114 | False | 0 | c2qkeoe | t3_l7wry | null | t1_c2qkeoe | t1_c2qkdwa | null | 1427715777 | 2 | t5_2fwo | null | null | null |
True | emorecambe | null | Because it's not concise. | null | 0 | 1318340167 | False | 0 | c2qkew2 | t3_l74f0 | null | t1_c2qkew2 | t1_c2qbv3p | null | 1427715778 | 1 | t5_2fwo | null | null | null |
True | Kapow751 | null | Does it really write its entire standard library to every .js file? Isn't there a way to separate that out into its own .js file that would be cached by the browser? | null | 0 | 1318340178 | False | 0 | c2qkexi | t3_l7wry | null | t1_c2qkexi | t3_l7wry | null | 1427715780 | 2 | t5_2fwo | null | null | null |
True | partysnatcher | null | >I'm getting fed up with this shit all over the internet trying to whine about Dart
And I'm getting fed up with all these layers of abstraction that people keep embracing, and how programmers are reduced to plugging different packages together and pressing "play", as if we were system administrators.
Then we can a... | null | 0 | 1318340305 | False | 0 | c2qkfex | t3_l7wry | null | t1_c2qkfex | t1_c2qje8m | null | 1427715785 | 7 | t5_2fwo | null | null | null |
True | jpfed | null | I like neon's representation of DOM elements in js. Pretty neat! | null | 0 | 1318340314 | False | 0 | c2qkfg9 | t3_l7wry | null | t1_c2qkfg9 | t1_c2qjode | null | 1427715786 | 4 | t5_2fwo | null | null | null |
True | Leonidas_from_XIV | null | Same as SPDY, Go and Dart so far, I'd guess. | null | 0 | 1318340386 | False | 0 | c2qkfqc | t3_l7wry | null | t1_c2qkfqc | t1_c2qkeoe | null | 1427715790 | 6 | t5_2fwo | null | null | null |
True | neon_overload | null | I would respectfully disagree with both.
I think that the odds are actually quite good that the particular version of jQuery is cached, despite that there are multiple versions in the wild. There's also lots of sites that use jQuery. Even so, however, you have to consider the worst case, which is the fully uncached ... | null | 0 | 1318340489 | False | 0 | c2qkg50 | t3_l7wry | null | t1_c2qkg50 | t1_c2qk8k4 | null | 1427715796 | 6 | t5_2fwo | null | null | null |
True | neon_overload | null | -8 points? pauliephonic is joking... | null | 0 | 1318340561 | False | 0 | c2qkgey | t3_l7wry | null | t1_c2qkgey | t1_c2qjtew | null | 1427715799 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | Off the top of my head, Eiffel comes to mind. Of course, there its an explicit design goal: command-query seperation. | null | 0 | 1318340587 | False | 0 | c2qkgj0 | t3_l6uwv | null | t1_c2qkgj0 | t1_c2qbrmf | null | 1427715801 | 1 | t5_2fwo | null | null | null |
True | BarneysPosse | null | Always linking to the latest version could break your app if jQuery makes any significant changes. | null | 0 | 1318340637 | False | 0 | c2qkgp5 | t3_l7wry | null | t1_c2qkgp5 | t1_c2qk8k4 | null | 1427715802 | 6 | t5_2fwo | null | null | null |
True | raidohh | null | Too soon to judge. It's a draft after all.. | null | 0 | 1318340656 | False | 0 | c2qkgs0 | t3_l88ny | null | t1_c2qkgs0 | t3_l88ny | null | 1427715804 | 40 | t5_2fwo | null | null | null |
True | moreyes | null | Interesting that he mentions CoffeeScript in the end, as if both were even comparable. Dart is not about making JavaScript prettier, it is about adding sanity to maintain huge js codebases. | null | 0 | 1318340792 | True | 0 | c2qkhal | t3_l88ny | null | t1_c2qkhal | t3_l88ny | null | 1427715811 | 19 | t5_2fwo | null | null | null |
True | civildisobedient | null | None. All of our sites are designed specifically to degrade gracefully (i.e., nothing has to be pixel-perfect across every browser known to man). We do what we can to achieve reasonably symmetric results cross-browser, but if you're using something older than dirt (IE6, for instance) then that's your problem. We hav... | null | 0 | 1318340804 | False | 0 | c2qkhbz | t3_l7wry | null | t1_c2qkhbz | t1_c2qk8xx | null | 1427715811 | -1 | t5_2fwo | null | null | null |
True | emorecambe | null | The point is that things can be badly named in any language, functional or object based, and badly named things usually denote a lack of understanding in the problem domain. | null | 0 | 1318340855 | False | 0 | c2qkhj8 | t3_l74f0 | null | t1_c2qkhj8 | t1_c2qbnls | null | 1427715814 | 1 | t5_2fwo | null | null | null |
True | cookingmonster | null | I honestly don't know why you're being downvoted, but we share the same train of thoughts. | null | 0 | 1318340880 | False | 0 | c2qkhmv | t3_l6yn1 | null | t1_c2qkhmv | t1_c2qj5vj | null | 1427715815 | 3 | t5_2fwo | null | null | null |
True | adx | null | These people's heads would explode if they saw the boilerplate libc/libgcc wraps around their C *hello world*. | null | 0 | 1318340996 | False | 0 | c2qki3g | t3_l7wry | null | t1_c2qki3g | t1_c2qje8m | null | 1427715821 | 21 | t5_2fwo | null | null | null |
True | adavies42 | null | > Language syntax has never been the determining factor in language usage.
a (small) legion of bitter LISPers beg to differ.... | null | 0 | 1318341144 | False | 0 | c2qkiog | t3_l88ny | null | t1_c2qkiog | t1_c2qkc0m | null | 1427715828 | 20 | t5_2fwo | null | null | null |
True | frezik | null | He's criticizing points that seem like they haven't been informed by the lessons learned over the last 20 or so years of language design. Where C# was informed by Java's mistakes, Dart seems to have embraced those mistakes and added a few from dynamic languages.
What's the point of Generics if the type system doesn't ... | null | 0 | 1318341180 | False | 0 | c2qkiug | t3_l88ny | null | t1_c2qkiug | t1_c2qkc0m | null | 1427715831 | 11 | t5_2fwo | null | null | null |
True | MySchizoBuddy | null | do you have a list of all Math functions it currently supports and which ones are in the roadmap
What's its 2D array syntax? and functions related to array like the php array library | null | 0 | 1318341211 | False | 0 | c2qkiz2 | t3_l6uwv | null | t1_c2qkiz2 | t1_c2q9zkh | null | 1427715832 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I really hope you write your own clamp function and don't use that expression everywhere ;) | null | 0 | 1318341225 | False | 0 | c2qkj0v | t3_l6uwv | null | t1_c2qkj0v | t1_c2q9wuy | null | 1427715833 | 1 | t5_2fwo | null | null | null |
True | aazav | null | Because it does not bloat the executable. | null | 0 | 1318341302 | False | 0 | c2qkjc6 | t3_l32qk | null | t1_c2qkjc6 | t1_c2pjcm8 | null | 1427715837 | 1 | t5_2fwo | null | null | null |
True | FeepingCreature | null | Markdown is the most intuitive markup language I know. It's well worth learning. | null | 0 | 1318341355 | False | 0 | c2qkjjw | t3_l6xnp | null | t1_c2qkjjw | t1_c2qhs6r | null | 1427715841 | 1 | t5_2fwo | null | null | null |
True | adavies42 | null | upvote for using "&c" in a side discussion about typography | null | 0 | 1318341422 | False | 0 | c2qkjsz | t3_l7gl3 | null | t1_c2qkjsz | t1_c2qjdyb | null | 1427715843 | 2 | t5_2fwo | null | null | null |
True | moreyes | null | Namespaces/modules/packages are just not decided yet. As other things. Dart will still change a lot.
http://www.reddit.com/r/programming/comments/l6uwv/dart_programming_language/c2q9l09
For a nice review of the good parts, see:
https://plus.google.com/115308028547191805295/posts/dr5bHLZt52F | null | 0 | 1318341443 | False | 0 | c2qkjvy | t3_l88ny | null | t1_c2qkjvy | t1_c2qkiug | null | 1427715844 | 5 | t5_2fwo | null | null | null |
True | adavies42 | null | > I can't change the page (it says "Immutable Page" on the top).
ah, const correctness.... | null | 0 | 1318341460 | False | 0 | c2qkjy2 | t3_l7gl3 | null | t1_c2qkjy2 | t1_c2qjnb4 | null | 1427715845 | 3 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | But Haskell doesn't have statements! | null | 0 | 1318341495 | False | 0 | c2qkk30 | t3_l6uwv | null | t1_c2qkk30 | t1_c2qkcx1 | null | 1427715847 | 1 | t5_2fwo | null | null | null |
True | kodemizer | null | As far as I know DASH got renamed to DART | null | 0 | 1318341621 | False | 0 | c2qkkkz | t3_l6uwv | null | t1_c2qkkkz | t1_c2qevws | null | 1427715853 | 1 | t5_2fwo | null | null | null |
True | DavidM01 | null | Or just use groovy as is:
// jlinq:
List results = someCollection.where(propertyLessThan(someValue*2));
// groovy:
List results = someCollection.findAll { it.someProperty < someValue*2 };
// jlinq:
String[] array = String[] {"james","john","john","eddie"};
array = Linq.toList(Linq.distinct(Linq.sel... | null | 0 | 1318341652 | False | 0 | c2qkkpf | t3_l81mh | null | t1_c2qkkpf | t3_l81mh | null | 1427715855 | 3 | t5_2fwo | null | null | null |
True | ricky_clarkson | null | Sure, but not much. Lombok appears to have excellent maven support. | null | 0 | 1318341672 | False | 0 | c2qkksm | t3_l81mh | null | t1_c2qkksm | t1_c2qk7mu | null | 1427715856 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | You can't tout these as choices, they are not native to the browser. I also disagree with the fact that they are failing (at least flash and silverlight) but that is a different discussion altogether.
I've looked at coffeescript, and it is a noble effort, but I don't want a band-aid. The web is the platform of the... | null | 0 | 1318341831 | False | 0 | c2qklf3 | t3_l765i | null | t1_c2qklf3 | t1_c2qjpwb | null | 1427715864 | 1 | t5_2fwo | null | null | null |
True | matthiasB | null | After being tough programming for a year you should easily be able to do the rest on your own. | null | 0 | 1318341859 | False | 0 | c2qkljb | t3_l6dcp | null | t1_c2qkljb | t1_c2qfch4 | null | 1427715865 | 1 | t5_2fwo | null | null | null |
True | mpeters | null | I don't think he's criticizing the idioms of Dart but the design mistakes that it's repeating from other languages. For instance, it's taking one of the most complicated features of C++/Java (generics) with all it's warts but none of it's actual benefits (type enforcement). That's not an idiomatic preference, it's a va... | null | 0 | 1318341873 | False | 0 | c2qkllj | t3_l88ny | null | t1_c2qkllj | t1_c2qkdgi | null | 1427715866 | 22 | t5_2fwo | null | null | null |
True | adavies42 | null | back to COBOL? | null | 0 | 1318341920 | False | 0 | c2qkls9 | t3_l7gl3 | null | t1_c2qkls9 | t1_c2qjms1 | null | 1427715869 | 5 | t5_2fwo | null | null | null |
True | FeepingCreature | null | That .. doesn't sound like it should be legal. Actually it sounds like it should crash with a message of "Only the owner of a lock can unlock it! "
Then a hand comes out of your monitor and pimpslaps you. | null | 0 | 1318342015 | False | 0 | c2qkm6p | t3_khip6 | null | t1_c2qkm6p | t1_c2kic80 | null | 1427715874 | 1 | t5_2fwo | null | null | null |
True | FeepingCreature | null | I enjoyed it. | null | 0 | 1318342033 | False | 0 | c2qkm9g | t3_khip6 | null | t1_c2qkm9g | t1_c2kiz11 | null | 1427715875 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318342042 | True | 0 | c2qkmao | t3_l88ny | null | t1_c2qkmao | t3_l88ny | null | 1427715875 | -2 | t5_2fwo | null | null | null |
True | onektwenty4 | null | why can't the js be precompiled? This shouldn't be a problem if its static. If it contains dynamic code, then maybe it can be designed so that most of it can be precompiled and just small parts compile at runtime. | null | 0 | 1318342082 | False | 0 | c2qkmgd | t3_l7wry | null | t1_c2qkmgd | t1_c2qk0ot | null | 1427715877 | 4 | t5_2fwo | null | null | null |
True | NruJaC | null | Sorry, didn't mean to come off as offensive, and I'm certainly not making fun of you. I'm not really worked up about anything. I was mostly thinking through your post as I went through it.
My point wasn't that you need to be Donald Knuth, at all. I was trying to figure out why this new linked list approach you were ci... | null | 0 | 1318342103 | False | 0 | c2qkmjn | t3_l6xa0 | null | t1_c2qkmjn | t1_c2qizj3 | null | 1427715879 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318342170 | False | 0 | c2qkmu8 | t3_l8948 | null | t1_c2qkmu8 | t3_l8948 | null | 1427715882 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318342279 | False | 0 | c2qknbp | t3_l8948 | null | t1_c2qknbp | t3_l8948 | null | 1427715889 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | The best source for info would be from GCC itself:
http://gcc.gnu.org/projects/cxx0x.html
http://gcc.gnu.org/bugzilla/
It's no secret that the C++0x support is experimental, it's explicitly specified as experimental by the GCC team with a disclaimer. As things stand about 10-15% of the open bugs reported with GCC a... | null | 0 | 1318342290 | False | 0 | c2qknd6 | t3_l7gl3 | null | t1_c2qknd6 | t1_c2qjotz | null | 1427715889 | 1 | t5_2fwo | null | null | null |
True | simonask | null | The solution to this problem could be a threading library in which a "thread" is not an OS thread, but rather a green thread or task.
Many of the issues here arise from the fact that programmers (and the Standard Library) have to deal with multiple levels of parallelism: Threads and tasks. A task must be able to migra... | null | 0 | 1318342296 | False | 0 | c2qkndz | t3_l85zk | null | t1_c2qkndz | t3_l85zk | null | 1427715889 | 5 | t5_2fwo | null | null | null |
True | maljosa | null | don't know how it works but if you would like to explore i guess starting with http://en.wikipedia.org/wiki/Wiener_filter would be a good way to explore it | null | 0 | 1318342388 | False | 0 | c2qknsd | t3_l8948 | null | t1_c2qknsd | t3_l8948 | null | 1427715895 | 1 | t5_2fwo | null | null | null |
True | adavies42 | null | set quickedit permanently, brings it halfway to sane | null | 0 | 1318342410 | False | 0 | c2qknw0 | t3_l7bjb | null | t1_c2qknw0 | t1_c2qjuzn | null | 1427715897 | 3 | t5_2fwo | null | null | null |
True | hoddap | null | I phrased that incorrectly. I have had colleagues whine about it, and write their own alternative. However, the majority just places it in their website. And to be honest I personally think that's fine in most cases. I'm just scared this will just result in people not giving Dart a fair chance because of posts like thi... | null | 0 | 1318342456 | False | 0 | c2qko2o | t3_l7wry | null | t1_c2qko2o | t1_c2qjode | null | 1427715899 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | How are generics not enforced? static checking is optional, yes, but declaring a type would enforce the check, unless I'm missing something. | null | 0 | 1318342541 | False | 0 | c2qkofu | t3_l88ny | null | t1_c2qkofu | t1_c2qkllj | null | 1427715904 | 3 | t5_2fwo | null | null | null |
True | setuid_w00t | null | It is the best time to provide feedback though. Perhaps some of his comments will help shape future releases. | null | 0 | 1318342584 | False | 0 | c2qkone | t3_l88ny | null | t1_c2qkone | t1_c2qkgs0 | null | 1427715907 | 84 | t5_2fwo | null | null | null |
True | [deleted] | null | >I'm still not sold on Dart though; I really dislike the pseudo-typing.
tooling support will benefit the most from pseudo-typing. As someone who's advocated a statically typed language in the browser for years, I'm pretty happy with what I consider to be a fairly pragmatic solution from google. | null | 0 | 1318342647 | False | 0 | c2qkoxo | t3_l88ny | null | t1_c2qkoxo | t1_c2qkmao | null | 1427715911 | 4 | t5_2fwo | null | null | null |
True | FlySwat | null | There is also the additional issues with IDE's getting upset at you while trying to parse the Lombok extensions, and debugging is probably ruined because your breakpoints won't actually hit the real lines.
| null | 0 | 1318342657 | False | 0 | c2qkoz5 | t3_l81mh | null | t1_c2qkoz5 | t1_c2qkksm | null | 1427715911 | 8 | t5_2fwo | null | null | null |
True | GMNightmare | null | I never said it did. Strawman. | null | 0 | 1318342658 | False | 0 | c2qkozf | t3_l32qk | null | t1_c2qkozf | t1_c2qkjc6 | null | 1427715911 | 1 | t5_2fwo | null | null | null |
True | sgoguen | null | I tend to follow the functional school of thought and avoid / isolate shared mutable state in the first place. If I was going to have shared state, I would do the "functional" equivalent of a singleton to encapsulate the state. | null | 0 | 1318342674 | False | 0 | c2qkp1v | t3_l6uwv | null | t1_c2qkp1v | t1_c2qfwys | null | 1427715912 | 1 | t5_2fwo | null | null | null |
True | mr-z | null | "Sent from my C++ browser."
| null | 0 | 1318342734 | False | 0 | c2qkpbh | t3_l7gl3 | null | t1_c2qkpbh | t1_c2qeskr | null | 1427715915 | 2 | t5_2fwo | null | null | null |
True | stoph | null | >if you're using something older than dirt (IE6, for instance) then that's your problem.
Agreed. We support IE7 and up.
> As for JS routines, 99.9% of JavaScript is the same cross-platform (the exception being event handling/registering and DOM positional stuff). We have an in-house library of functions for tha... | null | 0 | 1318342790 | False | 0 | c2qkpjl | t3_l7wry | null | t1_c2qkpjl | t1_c2qkhbz | null | 1427715918 | 3 | t5_2fwo | null | null | null |
True | manuranga | null | Don't forget they had to come up with the best language they could **that can be compiled it into JavaScript efficiently**. it's not like they had unlimited flexibility.
EDIT: added "efficiently". | null | 0 | 1318342895 | True | 0 | c2qkq0z | t3_l88ny | null | t1_c2qkq0z | t3_l88ny | null | 1427715925 | 5 | t5_2fwo | null | null | null |
True | jgclark | null | This compounds the issue, though, as the old browsers that won't support it natively are mostly the same old browsers that have poor JavaScript performance. | null | 0 | 1318342903 | False | 0 | c2qkq2k | t3_l7wry | null | t1_c2qkq2k | t1_c2qjcm0 | null | 1427715925 | 1 | t5_2fwo | null | null | null |
True | Gotebe | null | C and Java are somewhat good prerequisites for C++. | null | 0 | 1318342929 | False | 0 | c2qkq60 | t3_l7gl3 | null | t1_c2qkq60 | t1_c2qiwj2 | null | 1427715926 | 2 | t5_2fwo | null | null | null |
True | munificent | null | Current math functions are [here](http://www.dartlang.org/docs/api/Math.html#Math::Math). I don't know what's planned beyond that. If there's stuff that you think is missing, file a feature request bug.
Dart doesn't currently have any 2D array support. For 1D, you'll want the built-in [List type](http://www.dartlang.o... | null | 0 | 1318343116 | False | 0 | c2qkr0o | t3_l6uwv | null | t1_c2qkr0o | t1_c2qkiz2 | null | 1427715938 | 1 | t5_2fwo | null | null | null |
True | JoeCoder | null | You should make a version that simulates jQuery's API syntax. Maybe it would even work with some jQuery plugins? | null | 0 | 1318343124 | False | 0 | c2qkr1k | t3_l7wry | null | t1_c2qkr1k | t1_c2qjode | null | 1427715938 | 1 | t5_2fwo | null | null | null |
True | atlacatl | null | > The simplest answer is that testing allows you to have some degree of confidence that the code as written is right.
You've learned nothing. The only thing you know about testing is that the tests you've performed prove that the tests passed or failed and that the code you've tested for works.
Just because the "c... | null | 0 | 1318343178 | False | 0 | c2qkraq | t3_l887z | null | t1_c2qkraq | t3_l887z | null | 1427715941 | -9 | t5_2fwo | null | null | null |
True | munificent | null | > Does it support IEEE Floating Point Standard?
Not sure, but I assume so.
> How would you create a Complex number type?
Give it a try and see what you come up with.
> Would this be a good lang for doing high computations in the web browser.
I'm not sure what you mean by "high computations" but Dart is a ... | null | 0 | 1318343205 | False | 0 | c2qkrfi | t3_l6uwv | null | t1_c2qkrfi | t1_c2qk22g | null | 1427715943 | 1 | t5_2fwo | null | null | null |
True | sidfarkus | null | Don't forget query comprehension syntax.
var lessThan10Squared = from x in array where x < 10 select x * x;
I personally use that over the method chaining syntax where possible--it helps get rid of the *how* and shows you the *why*. | null | 0 | 1318343298 | False | 0 | c2qkrv2 | t3_l81mh | null | t1_c2qkrv2 | t1_c2qjphf | null | 1427715949 | 3 | t5_2fwo | null | null | null |
True | Gotebe | null | What's wrong with exceptions or const correctness?!
If you're doing C well, you adopt "if error goto cleanup" approach, which is nothing else but poor man's, function-local, exceptions. In fact, once you have done that long enough to understand how to operate in face of errors, exceptions come in as a perfect PITA rem... | null | 0 | 1318343338 | False | 0 | c2qks0y | t3_l7gl3 | null | t1_c2qks0y | t1_c2qk9yu | null | 1427715951 | 3 | t5_2fwo | null | null | null |
True | kamatsu | null | > Union types are easy
You can't have type inference with union types for a similar reason that you can't have type inference with subtyping. Of course, you could do something similar to what eaturbrainz did... | null | 0 | 1318343364 | False | 0 | c2qks56 | t3_l6uwv | null | t1_c2qks56 | t1_c2qe8h1 | null | 1427715952 | 1 | t5_2fwo | null | null | null |
True | FlySwat | null | >it helps get rid of the how and shows you the why.
Maybe your using a bad example, but I find this explains "why" just as much, and still fits into the overall feel of the language much better:
var lessThan10Squared = array.Where(x => x < 10).Select(x => x * x);
| null | 0 | 1318343399 | False | 0 | c2qksbd | t3_l81mh | null | t1_c2qksbd | t1_c2qkrv2 | null | 1427715954 | 10 | t5_2fwo | null | null | null |
True | frezik | null | The compiler doesn't fail when the type mismatches. Under certain execution modes, it'll spit a warning, but it won't fail. As noted in the article, Dart's type checking is more like a lint tool, and is basically the worst of both static and dynamic systems. | null | 0 | 1318343415 | False | 0 | c2qkse6 | t3_l88ny | null | t1_c2qkse6 | t1_c2qkofu | null | 1427715955 | 19 | t5_2fwo | null | null | null |
True | munificent | null | > What made you decide to hop from EA to Google (besides the obvious).
My wife and I wanted to move to Seattle and Google offerred me a job here. Lots of other reasons too, but that was the big one.
> Do you plan on finishing your book?
I'd like to but I haven't had much time lately (what with releasing a new ... | null | 0 | 1318343420 | False | 0 | c2qksf9 | t3_l6uwv | null | t1_c2qksf9 | t1_c2qjfhb | null | 1427715956 | 1 | t5_2fwo | null | null | null |
True | niczar | null | I don't understand how you can be upvoted, the language raises many excellent points and I don't even see more than a few that could qualify as "idiomatic preferences."
| null | 0 | 1318343437 | False | 0 | c2qkshz | t3_l88ny | null | t1_c2qkshz | t1_c2qkdgi | null | 1427715957 | 6 | t5_2fwo | null | null | null |
True | philathea80 | null | well said! | null | 0 | 1318343528 | False | 0 | c2qksys | t3_l7wry | null | t1_c2qksys | t1_c2qje8m | null | 1427715963 | 0 | t5_2fwo | null | null | null |
True | niczar | null | It's a shitty draft. So far what I've seen is extremely underwhelming, and rather arbitrary. I haven't seen one feature that made me go "wow that'd be awesome to have" — unlike I did when reading about something as unambitious as CoffeeScript. | null | 0 | 1318343571 | False | 0 | c2qkt5s | t3_l88ny | null | t1_c2qkt5s | t1_c2qkgs0 | null | 1427715965 | 54 | t5_2fwo | null | null | null |
True | zootsuit | null | The C++ standard defines the C standard library as partly a subset of the C++ standard library though, and only specifies the exceptions.
std::cout << 42; // the C standard is needed to determine what this does, because num_put is defined in terms of printf, and the C++ standard doesn't say what printf does.
| null | 0 | 1318343603 | False | 0 | c2qktav | t3_l7gl3 | null | t1_c2qktav | t1_c2qi6my | null | 1427715967 | 1 | t5_2fwo | null | null | null |
True | kamatsu | null | I second that! But I'm a types guy, so.. | null | 0 | 1318343607 | False | 0 | c2qktbs | t3_l6uwv | null | t1_c2qktbs | t1_c2qfjqj | null | 1427715967 | 2 | t5_2fwo | null | null | null |
True | adavies42 | null | > Comma-first, here's a Gist which gets regular linking and still generates the occasional comment: https://gist.github.com/357981
from there
> Another advantage - if putting things in source control, you now only have to add lines instead of modifying them:
this! i now make minimizing diffs to source control ... | null | 0 | 1318343641 | False | 0 | c2qkti1 | t3_l765i | null | t1_c2qkti1 | t1_c2qk6ag | null | 1427715970 | 1 | t5_2fwo | null | null | null |
True | FlySwat | null | Correct me if I'm wrong, but Google Collections created their own collections that implement the common base interfaces, while this extends existing collections using a precompiler step to mixin the LINQ methods.
Both have advantages / disadvantages...The main issue I see with Google Collections is the liskov substitu... | null | 0 | 1318343643 | False | 0 | c2qktig | t3_l81mh | null | t1_c2qktig | t1_c2qjnta | null | 1427715970 | 1 | t5_2fwo | null | null | null |
True | niczar | null | The shittiest non-feature of Dart is that they don't even seem to try to use the type system to do much of anything useful with it. (One example: guarantee the absence of null pointer exception when the type can be guaranteed to not have a null value.) | null | 0 | 1318343720 | False | 0 | c2qktvf | t3_l88ny | null | t1_c2qktvf | t3_l88ny | null | 1427715975 | 12 | t5_2fwo | null | null | null |
True | SkloK | null | Maybe this is just me, but HaXe is great because of that very reason. Being able to compile to so many languages is great for web game development where you don't have to go outside your ide to build other aspects of you game.
i.e.
Webpage->JS.
External Map Editor->C++
Game itself->Flash | null | 0 | 1318343913 | False | 0 | c2qkute | t3_l7wry | null | t1_c2qkute | t1_c2qkcgo | null | 1427715987 | 1 | t5_2fwo | null | null | null |
True | adavies42 | null | forth got its name because it's a fourth-generation language, but the system it was developed on only supported five-character file names. | null | 0 | 1318344043 | False | 0 | c2qkvfr | t3_l6xnp | null | t1_c2qkvfr | t1_c2qg368 | null | 1427715996 | 5 | t5_2fwo | null | null | null |
True | tmcw | null | Yes, that's because, in advanced mode, Closure Compiler 'optimizes away' d.turn(direction) - incorrectly - because it's removing dead code. If you add code below it that uses d.turn(), Closure matches uglify. | null | 0 | 1318344069 | False | 0 | c2qkvkq | t3_l3dsw | null | t1_c2qkvkq | t1_c2qi6jr | null | 1427715998 | 1 | t5_2fwo | null | null | null |
True | the-ace | null | They should have just called it `JS#`.
Seriously though, I recall reading that it's *intended* to be useful for both small one-man-show projects and a large fully scaled projects, how is 17,000+ lines of code for a simple "Hello World!" constitutes as simple deployment? | null | 0 | 1318344082 | False | 0 | c2qkvmq | t3_l7wry | null | t1_c2qkvmq | t3_l7wry | null | 1427715998 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | > Looks like a lot of trouble imposed on the programmer for a very minor problem that could have been fixed at the language level by allowing boolean coercion overload, or by disallowing boolean autoboxing.
Add shit to the language for a sloppy syntactic shortcut? Fucking perl programmers. | null | 0 | 1318344092 | False | 0 | c2qkvoj | t3_l88ny | null | t1_c2qkvoj | t3_l88ny | null | 1427715998 | 18 | t5_2fwo | null | null | null |
True | [deleted] | null | Hopefully this is just because it's still early in development and ultimately just compiles down to javascript. If I understand correctly, their ultimate motivation would be to get it adopted as a standard, in-browser language. Pie in the sky, I know, but it would be at this point they could have an optional "strict"... | null | 0 | 1318344122 | False | 0 | c2qkvth | t3_l88ny | null | t1_c2qkvth | t1_c2qkse6 | null | 1427716000 | 1 | t5_2fwo | null | null | null |
True | civildisobedient | null | > I think your company is more the exception than the rule.
Well, we're not an agency; we have our own products. But yes, if I were designing sites for third parties, I'd probably err on the side of *"tried-and-true"* as well. | null | 0 | 1318344229 | False | 0 | c2qkwdg | t3_l7wry | null | t1_c2qkwdg | t1_c2qkpjl | null | 1427716007 | 2 | t5_2fwo | null | null | null |
True | k3n | null | Is that supposed to make it better? That **possibly**, at **some point far, far, far into the future**, we may be able to **bypass the Dart cross-compilation**? IE6 is 10 years old, and we're probably going to be supporting it for 5-10 years to come, at least. So by my math, the point in time where browsers wouldn't re... | null | 0 | 1318344234 | False | 0 | c2qkwef | t3_l7wry | null | t1_c2qkwef | t1_c2qjcm0 | null | 1427716007 | 0 | t5_2fwo | null | null | null |
True | moreyes | null | I tried Haxe a few years ago. It was very limited in what could easily compile to so many languages; you end having to write language specific stuff, but then what is the point? It gave me the feeling that it was trying to do too many things and not a single thing well. But to be fair, I didn't use it for too long. | null | 0 | 1318344271 | True | 0 | c2qkwkq | t3_l7wry | null | t1_c2qkwkq | t1_c2qkute | null | 1427716011 | 3 | t5_2fwo | null | null | null |
True | gnuvince | null | Suppose a language has no recursion. To implement recursive algorithms, you maintain your own stack. There's a pattern that you could develop to make interaction with other developers easier, but wouldn't it just be better to have a language that natively supports recursion? Do the same thought experiment with the pro... | null | 0 | 1318344339 | False | 0 | c2qkwwp | t3_l88ny | null | t1_c2qkwwp | t1_c2qkmao | null | 1427716015 | 15 | t5_2fwo | null | null | null |
True | munificent | null | Hmm, I could be wrong but that may just be a bug in the compiler. I don't know if Dart has defined falsey-ness for anything other than bools. | null | 0 | 1318344361 | False | 0 | c2qkwzx | t3_l6uwv | null | t1_c2qkwzx | t1_c2qhzyz | null | 1427716016 | 1 | t5_2fwo | null | null | null |
True | munificent | null | > But JavaScript is a dynamic language where function can be replaced at any time.
JavaScript is, but Dart isn't to as great a degree. There's a bunch of tree-shaking the compiler will do (i.e. removing unreached code) that hasn't been implemented yet. | null | 0 | 1318344578 | False | 0 | c2qky4l | t3_l7wry | null | t1_c2qky4l | t1_c2qjd5r | null | 1427716031 | 3 | t5_2fwo | null | null | null |
True | lmnt | null | I am sick again!
(I w(a/o)nt ______ anything ____ that ____ ____ typewriter) | null | 0 | 1318344579 | False | 0 | c2qky4t | t3_l7kdu | null | t1_c2qky4t | t3_l7kdu | null | 1427716031 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | The only relevant book on that list is *Real World Haskell*. | null | 0 | 1318344586 | False | 0 | c2qky5y | t3_l742f | null | t1_c2qky5y | t3_l742f | null | 1427716031 | -3 | t5_2fwo | null | null | null |
True | mikesamuel | null | Sure, but this is HTML that contains the string `a` followed by the string `b` which is what is displayed. Seems entirely correct. If you want the end-user to see `<script>test();</script>` the way to write HTML to do that would be `a&lt;script&gt;test();&lt;/script&gt;b` which also works.... | null | 0 | 1318344701 | False | 0 | c2qkyre | t3_l7bjb | null | t1_c2qkyre | t1_c2qjyib | null | 1427716039 | 2 | t5_2fwo | null | null | null |
True | munificent | null | > The Mozilla Javascript engines are caller *Monkey
Coincidence. monkey_dom.js is called that because it monkey-patches the native DOM prototypes. | null | 0 | 1318344714 | False | 0 | c2qkytm | t3_l7wry | null | t1_c2qkytm | t1_c2qk5ri | null | 1427716040 | 10 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.