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
murderofcrows
null
Yes! And every country does it different! [Ugh](http://www.webexhibits.org/daylightsaving/g.html). Combine DST with Time Zones and it makes for a frustrating time!
null
0
1318248740
False
0
c2qa3ar
t3_l6v4t
null
t1_c2qa3ar
t1_c2q9juz
null
1427710907
2
t5_2fwo
null
null
null
True
gospelwut
null
I don't even think this begins to explore how complicated timezones are, no? Aren't there things like geographical stability, historical time shifts, and other grey areas to evaluate when making the timezone databases themselves? But, at the end of the day, aren't most apps just reliant on the OS to figure out what ti...
null
0
1318248778
False
0
c2qa3dg
t3_l6v4t
null
t1_c2qa3dg
t3_l6v4t
null
1427710907
1
t5_2fwo
null
null
null
True
gospelwut
null
It's not the timezones that are copyrighted. The dispute is the compensation of facts not the facts themselves (e.g. you can't go make a book called kniteli's book of world records which is a copy of the gusiness book). I'm not saying it's a stupid lawsuit; it is.
null
0
1318248965
False
0
c2qa3r1
t3_l6v4t
null
t1_c2qa3r1
t1_c2q9mov
null
1427710913
4
t5_2fwo
null
null
null
True
ysangkok
null
[these (JavaScript Garden)](http://bonsaiden.github.com/JavaScript-Garden/#core.semicolon)
null
0
1318249086
False
0
c2qa40z
t3_l6uwv
null
t1_c2qa40z
t1_c2q9z5c
null
1427710916
3
t5_2fwo
null
null
null
True
philomathie
null
Trying to not be ignorant sounds like a pretty noble thing to me... You somehow made it sound like an insult!
null
0
1318249187
False
0
c2qa48r
t3_l6v4t
null
t1_c2qa48r
t1_c2q9wp2
null
1427710919
2
t5_2fwo
null
null
null
True
schnitzi
null
Doesn't appear so... I'm in Australia. Guess it is a worldwide issue.
null
0
1318249325
False
0
c2qa4j2
t3_l6v4t
null
t1_c2qa4j2
t1_c2qa2zx
null
1427710922
1
t5_2fwo
null
null
null
True
zhivago
null
Management's job is to make my life easier by arranging for all of the stupid crap that I don't want to do to get done.
null
0
1318249368
False
0
c2qa4mf
t3_l6m5r
null
t1_c2qa4mf
t1_c2q8zie
null
1427710925
8
t5_2fwo
null
null
null
True
runagate
null
Code defined by requirements thought up by legislators is terrible. I once worked on financial code that involved rules using something called "age at nearest birthday". How did someone arrive at the idea to invent a new kind of age six months different from a normal age? It added nothing of value except to remove ...
null
0
1318249375
False
0
c2qa4n6
t3_l6v4t
null
t1_c2qa4n6
t3_l6v4t
null
1427710925
1
t5_2fwo
null
null
null
True
TookItTooFar
null
How would you store an event that occurs at 9 AM every day for the next five years? Calculate the UTC times for DST and Standard Time manually? How would you store this information in a time zone that is liable to move DST from one year to the next (e.g. Egypt)?
null
0
1318249402
False
0
c2qa4ot
t3_l6v4t
null
t1_c2qa4ot
t1_c2q9s1d
null
1427710926
4
t5_2fwo
null
null
null
True
TookItTooFar
null
How would you store an event that occurs at 9 AM every day for the next five years? Calculate the UTC times for DST and Standard Time manually? How would you store this information in a time zone that is liable to move DST from one year to the next (e.g. Egypt)?
null
0
1318249417
False
0
c2qa4qb
t3_l6v4t
null
t1_c2qa4qb
t1_c2q9l69
null
1427710926
1
t5_2fwo
null
null
null
True
day_cq
null
Do you like working for Google as a programmer?
null
0
1318249447
False
0
c2qa4sr
t3_l6m5r
null
t1_c2qa4sr
t1_c2q9v8p
null
1427710927
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318249448
1406738536
0
c2qa4st
t3_l6uwv
null
t1_c2qa4st
t3_l6uwv
null
1427710927
3
t5_2fwo
null
null
null
True
[deleted]
null
But you don't force them to sleep at a particular time, people go to sleep because they're tired and it's become dark (usually).
null
0
1318249497
False
0
c2qa4ww
t3_l6v4t
null
t1_c2qa4ww
t1_c2q9z2o
null
1427710928
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318249529
False
0
c2qa4zh
t3_l6v4t
null
t1_c2qa4zh
t3_l6v4t
null
1427710930
1
t5_2fwo
null
null
null
True
TookItTooFar
null
Because a user's natural inclination would be to hold the meeting at the same "absolute time" even if the timezone moves DST (even if both timezones move DST by the same amount)? Do normal people keep a UTC watch?
null
0
1318249555
False
0
c2qa51k
t3_l6v4t
null
t1_c2qa51k
t1_c2q9uw0
null
1427710930
1
t5_2fwo
null
null
null
True
Frankeh
null
12.75 You're welcome.
null
0
1318249588
False
0
c2qa544
t3_l6v4t
null
t1_c2qa544
t3_l6v4t
null
1427710931
1
t5_2fwo
null
null
null
True
adny
null
just FYI, timeanddate.com are launching a API very soon, they are very accurate with DST and time zone changes, could well ease your burden. Its not avail yet, click on feedback on the page and ask about it.
null
0
1318249638
False
0
c2qa58a
t3_l6v4t
null
t1_c2qa58a
t3_l6v4t
null
1427710933
1
t5_2fwo
null
null
null
True
bodza
null
kre ftw
null
0
1318249687
False
0
c2qa5cd
t3_l6v4t
null
t1_c2qa5cd
t1_c2q9u7e
null
1427710934
1
t5_2fwo
null
null
null
True
campbellm
null
Yup, TOOL; the language from the (now dead) 4GL [Forte](http://en.wikipedia.org/wiki/Forte_4GL), which was purchased by Sun and put out to pasture to die. The CTOR syntax was: varname : Type = new() Or optionally: varname : Type = new(namedParam = value, namedParam2 = value, ...) It had a couple interestin...
null
0
1318249948
True
0
c2qa5y1
t3_l6uwv
null
t1_c2qa5y1
t1_c2qa2or
null
1427710942
3
t5_2fwo
null
null
null
True
Terminus1
null
We have enough programming languages, Dart adds nothing.
null
0
1318249963
False
0
c2qa5zg
t3_l6uwv
null
t1_c2qa5zg
t3_l6uwv
null
1427710942
8
t5_2fwo
null
null
null
True
idiotthethird
null
I can't expect it, and I don't. But that doesn't mean that I think it's good. But languages and measurement systems aren't a great analogy for time zones, because official, precise, internationally recognised time zones are such a recent development. There's no good reason for any country to not have an integer numbe...
null
0
1318249990
False
0
c2qa61n
t3_l6v4t
null
t1_c2qa61n
t1_c2qa21a
null
1427710943
1
t5_2fwo
null
null
null
True
Philluminati
null
So you can't use a false name on Google+ but if you are a specification for a programming language that's okay?
null
0
1318250001
False
0
c2qa62k
t3_l6uwv
null
t1_c2qa62k
t1_c2q9jdg
null
1427710944
-7
t5_2fwo
null
null
null
True
ysangkok
null
What are the other languages?
null
0
1318250022
False
0
c2qa64h
t3_l6uwv
null
t1_c2qa64h
t1_c2q9mbk
null
1427710944
1
t5_2fwo
null
null
null
True
shevsky790
null
I move that we get rid of timezones. But actually, I think the world would get along perfectly fine without them these days. And it would make a ton of things way easier. Why don't we just start a global Reddit movement to abolish them? DST too. The world needs to be a simpler place.
null
0
1318250123
False
0
c2qa6cl
t3_l6v4t
null
t1_c2qa6cl
t3_l6v4t
null
1427710948
1
t5_2fwo
null
null
null
True
nemtrif
null
> It's syntax, while uninspiring, is familiar and easy to pick up for millions of programmers. Upvoted for honesty. That's exactly what I thought when I saw the examples at your web site.
null
0
1318250132
False
0
c2qa6dd
t3_l6uwv
null
t1_c2qa6dd
t1_c2q9t7h
null
1427710948
38
t5_2fwo
null
null
null
True
Philluminati
null
Perhaps borrowing from the idea from .NET, one of Microsoft's more successful achievements.
null
0
1318250225
False
0
c2qa6lh
t3_l6uwv
null
t1_c2qa6lh
t1_c2q9gz8
null
1427710951
7
t5_2fwo
null
null
null
True
TheSmoke
null
you've tried too hard there, buddy. go try python, ruby, groovy or scala.
null
0
1318250250
False
0
c2qa6n7
t3_l6uwv
null
t1_c2qa6n7
t1_c2q9u3e
null
1427710952
-11
t5_2fwo
null
null
null
True
[deleted]
null
There is just too much momentum behind Javascript for Dart to catch on. It's only a matter of time before Javascript is just as fast as Java or Dart. It's much harder to optimize Javascript but there are a lot more people working on it. e.g. Intel launched a multi processing library for Javascript that can speed up pro...
null
0
1318250287
False
0
c2qa6ql
t3_l6uwv
null
t1_c2qa6ql
t3_l6uwv
null
1427710953
8
t5_2fwo
null
null
null
True
[deleted]
null
It depends on the language/type system design. Static typing doesn't require explicit modeling of class hierarchy, as you can use structural typing, which basically allows to infer implicit interfaces that the used object-values have to implement. The end result is quite like duck-typing, verified at compile time.
null
0
1318250322
False
0
c2qa6tl
t3_l6uwv
null
t1_c2qa6tl
t1_c2q9yom
null
1427710953
1
t5_2fwo
null
null
null
True
nickdangler
null
Or give extra credit to students who submit some!
null
0
1318250344
False
0
c2qa6vm
t3_l6ao7
null
t1_c2qa6vm
t1_c2q8usl
null
1427710955
7
t5_2fwo
null
null
null
True
nemtrif
null
> And I'd still much rather code in this than javascript. Would you rather code in this than CofeeScript?
null
0
1318250346
False
0
c2qa6vv
t3_l6uwv
null
t1_c2qa6vv
t1_c2q9kmi
null
1427710955
10
t5_2fwo
null
null
null
True
[deleted]
null
http://www.odi.ch/prog/design/datetime.php
null
0
1318250444
False
0
c2qa746
t3_l6v4t
null
t1_c2qa746
t3_l6v4t
null
1427710958
1
t5_2fwo
null
null
null
True
nickdangler
null
Somewhat off topic... what do geneology databases do to handle pre-1970 times?
null
0
1318250647
False
0
c2qa7lm
t3_l6v4t
null
t1_c2qa7lm
t1_c2q9omm
null
1427710964
2
t5_2fwo
null
null
null
True
[deleted]
null
Dart should have its own subreddit
null
0
1318250675
False
0
c2qa7oe
t3_l6uwv
null
t1_c2qa7oe
t3_l6uwv
null
1427710965
5
t5_2fwo
null
null
null
True
SohumB
null
I think the point is that you can't consider a future point in time something you can unambiguously store. Under these assumptions: * 9 AM means _9 AM_, rather than 9 AM today and every 24 hours from now on * It's 9 AM in a specific specified timezone, say "Egypt" My first pass at a solution would be that every time...
null
0
1318250699
False
0
c2qa7pz
t3_l6v4t
null
t1_c2qa7pz
t1_c2qa4ot
null
1427710965
1
t5_2fwo
null
null
null
True
moreyes
null
I believe the advantage will come when you become able to develop a web app GUI using Dart and adapt it to build an Android app. Also, one of its purposes is to enable better tooling (code analyzing/refactoring etc), so maybe when it matures that will be an advantage too.
null
0
1318250759
False
0
c2qa7ve
t3_l6uwv
null
t1_c2qa7ve
t1_c2qa0cv
null
1427710968
1
t5_2fwo
null
null
null
True
fionbio
null
Seems like Dart will lose a lot of dynamism indeed. With JavaScript, I can redefine stuff without reloading the page, prototypal inheritance helping a lot in this respect when doing OO. I even wrote JavaScript [Swank backend](https://github.com/ivan4th/swank-js) that helps me a lot, making Emacs-based JS development ex...
null
0
1318250808
False
0
c2qa7zm
t3_l6uwv
null
t1_c2qa7zm
t1_c2q9yxa
null
1427710969
2
t5_2fwo
null
null
null
True
marriage_iguana
null
If I revealed what made it a special gun, it would no longer be special.
null
0
1318250858
False
0
c2qa848
t3_l6v4t
null
t1_c2qa848
t1_c2q9yna
null
1427710971
1
t5_2fwo
null
null
null
True
redteddy23
null
It's very much programming if you work with amazon web services. Use GMT you bastards!
null
0
1318250873
False
0
c2qa85i
t3_l6v4t
null
t1_c2qa85i
t1_c2q9cjc
null
1427710971
1
t5_2fwo
null
null
null
True
oaddit
null
So what is this exactly? Is it a CoffeeScript-type thingy that compiles to JavaScript too?
null
0
1318250989
False
0
c2qa8g9
t3_l6uwv
null
t1_c2qa8g9
t3_l6uwv
null
1427710975
2
t5_2fwo
null
null
null
True
authorblues
null
Agreed. If hours isn't enough granularity, represent timezone offsets in minutes. Done, done. 3/4 hour happens to be an integer in minutes, go figure.
null
0
1318251029
False
0
c2qa8jt
t3_l6v4t
null
t1_c2qa8jt
t1_c2q9gin
null
1427710976
1
t5_2fwo
null
null
null
True
6_28
null
Right, but it could be done at compile-time, couldn't it? So if the compiler sees a new statement like that, it will expand it to the the appropriate constructor. Anyway, I don't think it's that important.
null
0
1318251164
False
0
c2qa8vz
t3_l6uwv
null
t1_c2qa8vz
t1_c2q9zpu
null
1427710981
4
t5_2fwo
null
null
null
True
chloratine
null
its
null
0
1318251180
False
0
c2qa8xl
t3_l6v4t
null
t1_c2qa8xl
t1_c2q9yz7
null
1427710982
2
t5_2fwo
null
null
null
True
oaddit
null
This will probably tank, won´t it? Programming people seem to be reluctant to adopt technologies developed by the big players, and rightly so.
null
0
1318251187
False
0
c2qa8y8
t3_l6uwv
null
t1_c2qa8y8
t3_l6uwv
null
1427710982
6
t5_2fwo
null
null
null
True
OopsLostPassword
null
I was more referring to the fact that dealing with timezones unfortunately means dealing with more problems than simple offsets. To begin with, those offsets are moving and local "time" isn't linear (or even monotonous). That's like Unicode : you cannot (or shouldn't) try to code it yourself, you must use some kind of ...
null
0
1318251277
True
0
c2qa96i
t3_l6v4t
null
t1_c2qa96i
t1_c2qa8jt
null
1427710984
2
t5_2fwo
null
null
null
True
cockmongler
null
Yeah, this is the problem. Timezones are a solved problem (mostly), but for some reason so many major frameworks/protocols/libraries fail to support them. Just the other day I had to hack up my own code to parse rfc822 dates in Python, batteries included my arse.
null
0
1318251436
False
0
c2qa9lw
t3_l6v4t
null
t1_c2qa9lw
t1_c2q9hh2
null
1427710989
1
t5_2fwo
null
null
null
True
troyanonymous1
null
Yep, JPEG is better for photos, PNG is better for solid colors like cartoons where you want a sharp outline and can put up with lossless compression. In a photo nobody will notice the tiny losses from JPEG. Even 90 quality JPEG is probably way smaller.
null
0
1318251491
False
0
c2qa9qa
t3_l6ao7
null
t1_c2qa9qa
t1_c2q8gkt
null
1427710991
3
t5_2fwo
null
null
null
True
sltkr
null
That's an independent problem. As long as you are using a suitable time_t, doing all the calculations in UTC ("POSIX") time is really the way to go. If by 2038 you are still using a 32-bit time_t, you have far bigger problems than handling timezones correctly. That shouldn't impede you from using UNIX timestamps to do...
null
0
1318251702
False
0
c2qaaa8
t3_l6v4t
null
t1_c2qaaa8
t1_c2q9yla
null
1427710998
3
t5_2fwo
null
null
null
True
18231311392
null
I'm sick of faggoty juniors and their fucked up ideas about mandatory whitespace. "Fuck flexibility!" they say. "Fuck you!" they say. Semi colons, putting braces wherever you want, these are **important** features in a language. To those who think otherwise, get fucked.
null
0
1318251810
False
0
c2qaaks
t3_l6uwv
null
t1_c2qaaks
t1_c2q9tvk
null
1427711002
-17
t5_2fwo
null
null
null
True
cebedec
null
I disagree, [cuttlefish will rule](http://xkcd.com/520/).
null
0
1318251902
False
0
c2qaatv
t3_l6v4t
null
t1_c2qaatv
t1_c2q9zo1
null
1427711006
2
t5_2fwo
null
null
null
True
[deleted]
null
I agree. The other nice thing about POSIX time is that: 1. The second is an SI unit. 2. It does not bother with the leap second silliness. Trying to relate time to something as inherently inaccurate as the Earth's rotation in the time of nanosecond precision is ridiculous.
null
0
1318251903
False
0
c2qaatx
t3_l6v4t
null
t1_c2qaatx
t1_c2qaaa8
null
1427711006
1
t5_2fwo
null
null
null
True
Seriousity
null
New Zealander Linux user here, my taskbar killed itself a while ago so I can't see the time and Googled 'time in nz' about ten minutes ago, it showed me NZ time and Chatham Islands time which was some arbitrarily different number, I was WTFing about it just then and now I see this, upvotes to you sir!
null
0
1318251952
False
0
c2qaaza
t3_l6v4t
null
t1_c2qaaza
t3_l6v4t
null
1427711007
1
t5_2fwo
null
null
null
True
Nimbal
null
Someone used -Wpedantic.
null
0
1318252011
False
0
c2qab4v
t3_l6v4t
null
t1_c2qab4v
t1_c2qa8xl
null
1427711010
2
t5_2fwo
null
null
null
True
zugaldia
null
Anyone concerned about patents? [PATENTS](http://code.google.com/p/dart/source/browse/branches/bleeding_edge/PATENTS)
null
0
1318252025
False
0
c2qab6g
t3_l6uwv
null
t1_c2qab6g
t1_c2q9d7k
null
1427711011
7
t5_2fwo
null
null
null
True
cebedec
null
Harumph indeed.
null
0
1318252043
False
0
c2qab82
t3_l6v4t
null
t1_c2qab82
t1_c2q9yjk
null
1427711011
1
t5_2fwo
null
null
null
True
TylerEaves
null
So, you like to write bad code then? EDIT: Anyone downvoting this has never had to maintain legacy code where the original author thought "flexibility" was a virtue. Style guides exist for a reason.
null
0
1318252044
True
0
c2qab86
t3_l6uwv
null
t1_c2qab86
t1_c2qaaks
null
1427711011
-8
t5_2fwo
null
null
null
True
[deleted]
null
Not being good at programming.
null
0
1318252131
False
0
c2qabh1
t3_l6v4t
null
t1_c2qabh1
t1_c2q9gid
null
1427711014
2
t5_2fwo
null
null
null
True
dmitry_sychov
null
Time does not exist.
null
0
1318252252
False
0
c2qabsn
t3_l6uwv
null
t1_c2qabsn
t1_c2q9x03
null
1427711019
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318252293
False
0
c2qabwe
t3_l6v4t
null
t1_c2qabwe
t3_l6v4t
null
1427711021
2
t5_2fwo
null
null
null
True
authorblues
null
Understood. Thanks for the knowledge.
null
0
1318252315
False
0
c2qabyj
t3_l6v4t
null
t1_c2qabyj
t1_c2qa96i
null
1427711022
1
t5_2fwo
null
null
null
True
axilmar
null
> I never asked about that, I ask why you consider D to require more upfront knowledge when designing a type than C++. The initial post of mine that led to your comment was about consistence and orthogonality. One of the things that make make C++ more consistent and orthogonal is the lack of separation between stru...
null
0
1318252332
False
0
c2qabzw
t3_kljc0
null
t1_c2qabzw
t1_c2q7sf3
null
1427711022
1
t5_2fwo
null
null
null
True
KeX3
null
Or do it in reverse. 1. Trigger the "event-trigger" at your whim, to cover all the weird cases, every 15 minutes. 2. Is "NOW > 9AM in Egypt, and has this event not triggered today?" -> trigger it Instead of working by inserting ahead of time, cut your losses and do the less exact way of looking back and trigger...
null
0
1318252357
False
0
c2qac2l
t3_l6v4t
null
t1_c2qac2l
t1_c2qa7pz
null
1427711027
1
t5_2fwo
null
null
null
True
[deleted]
null
From the beginning of the 1st chapter: > If you have a computer handy, now would be an excellent moment to fire up the Coq interpreter under your favorite IDE — either CoqIde or Proof General — and try this for yourself. Load this file (Basics.v) from the book's accompanying Coq sources, find the above example, subm...
null
0
1318252446
False
0
c2qacap
t3_l6dcp
null
t1_c2qacap
t1_c2q9hz8
null
1427711029
5
t5_2fwo
null
null
null
True
a_redditor
null
Please do not post stupid memes to /r/programming.
null
0
1318252476
False
0
c2qacdf
t3_l6v4t
null
t1_c2qacdf
t3_l6v4t
null
1427711027
2
t5_2fwo
null
null
null
True
toaster99
null
Ohio University
null
0
1318252531
False
0
c2qacjc
t3_l6dcp
null
t1_c2qacjc
t1_c2q7rib
null
1427711029
1
t5_2fwo
null
null
null
True
moreyes
null
Uh, that is not a profile, it is a link to a search for "Dart Language".
null
0
1318252544
False
0
c2qackp
t3_l6uwv
null
t1_c2qackp
t1_c2qa62k
null
1427711030
8
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318252553
False
0
c2qacls
t3_l6v4t
null
t1_c2qacls
t1_c2qa1oj
null
1427711030
1
t5_2fwo
null
null
null
True
SohumB
null
It also has the additional drawback of firing a huge number of events in total — every 15 minutes over even a _day_ is like ~100 wakeups, much less a year — while inserting it is O(events) wakeups. Other than that, yea, that would work.
null
0
1318252582
False
0
c2qaco1
t3_l6v4t
null
t1_c2qaco1
t1_c2qac2l
null
1427711031
1
t5_2fwo
null
null
null
True
dkesh
null
Even if there are date/time classes and functions built in, the decisions themselves can be hard, even forgetting the programming. My (b2b) clients manage events that are in multiple timezones, while travelling in different timezones, for end consumers in multiple timezones, and the kicker is...they want everything to...
null
0
1318252601
False
0
c2qacq6
t3_l6v4t
null
t1_c2qacq6
t1_c2q9hh2
null
1427711032
1
t5_2fwo
null
null
null
True
rezhitter
null
as a citizen of the world i'd wish they would get rid of timezones and switch to atomic clocks because then it would be more reflective of Sol's position in the sky, its like every 5 miles is a different minute. Also i think after a while people would be more understanding of the concept of "late" (late doesn't exist t...
null
0
1318252618
False
0
c2qacry
t3_l6v4t
null
t1_c2qacry
t3_l6v4t
null
1427711032
1
t5_2fwo
null
null
null
True
mccoyn
null
There is actually a summit to address these issues being held at the Solomon Islands on Dec 31 this year.
null
0
1318252694
False
0
c2qaczn
t3_l6v4t
null
t1_c2qaczn
t3_l6v4t
null
1427711034
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318252700
1406738538
0
c2qad08
t3_l6uwv
null
t1_c2qad08
t1_c2q9wmw
null
1427711034
2
t5_2fwo
null
null
null
True
batiste
null
Quite a big gotcha indeed. But Dart seems to raise an exception for declaring an useless object literal anyway. ie: main() {{"t":1};print("pass");} That mean that even if Dart worked like JS regarding to semicolon, you will still get a compilation error. You could also enforce the former brace syntax (you can't ...
null
0
1318252763
True
0
c2qad66
t3_l6uwv
null
t1_c2qad66
t1_c2qa12k
null
1427711038
1
t5_2fwo
null
null
null
True
nekmok
null
I like [this one](http://vimeo.com/2433947). Edit: I saw a crappy electo concert once. ;)
null
0
1318252867
True
0
c2qadfx
t3_l5s9p
null
t1_c2qadfx
t1_c2q9zwo
null
1427711041
1
t5_2fwo
null
null
null
True
axilmar
null
The next programming language should be named YAWN.
null
0
1318252873
False
0
c2qadgr
t3_l6uwv
null
t1_c2qadgr
t3_l6uwv
null
1427711041
16
t5_2fwo
null
null
null
True
fas2
null
> what bothers me the most is that it still has statements vs. expressions Can you expand on this? They are not the same.
null
0
1318253039
False
0
c2qadwl
t3_l6uwv
null
t1_c2qadwl
t1_c2q9yxa
null
1427711047
3
t5_2fwo
null
null
null
True
Timmmmbob
null
So the code can say one thing and do something else...? Seems completely crazy to me; is there a decent reason why the types aren't actually enforced?
null
0
1318253180
False
0
c2qaear
t3_l6uwv
null
t1_c2qaear
t1_c2q9mh7
null
1427711052
29
t5_2fwo
null
null
null
True
danhakimi
null
My heart sank when I saw a document.getElementById(). Seriously, Dart?
null
0
1318253183
False
0
c2qaeb6
t3_l6uwv
null
t1_c2qaeb6
t3_l6uwv
null
1427711052
5
t5_2fwo
null
null
null
True
chneukirchen
null
Is Newspeak's typesystem broken by design, too?
null
0
1318253234
False
0
c2qaegx
t3_l6uwv
null
t1_c2qaegx
t1_c2q9nyu
null
1427711054
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318253245
False
0
c2qaei3
t3_l3tuj
null
t1_c2qaei3
t1_c2pq1d8
null
1427711054
1
t5_2fwo
null
null
null
True
zellyman
null
Oh wow. I am cackling at work now. I'm going to be using "Appify" as many times as possible.
null
0
1318253262
False
0
c2qaejp
t3_l4b56
null
t1_c2qaejp
t1_c2pqbit
null
1427711054
1
t5_2fwo
null
null
null
True
usagebasedbill
null
Seems like a case of pareidolia almost; the mind is making this annoying cacophony sound musical.
null
0
1318253276
False
0
c2qaelp
t3_l6xia
null
t1_c2qaelp
t3_l6xia
null
1427711055
3
t5_2fwo
null
null
null
True
[deleted]
null
Calendaring/scheduling applications are an odd one out in a sense that you may need to *store* local time, but you still can get away with using the same primitives (conversion UTC<->TZ-specific). Mind you, now you are venturing outside "the majority of applications" land. :) You can store a recurring time point...
null
0
1318253281
False
0
c2qaema
t3_l6v4t
null
t1_c2qaema
t1_c2qa4ot
null
1427711055
1
t5_2fwo
null
null
null
True
plouj
null
These are pretty old posts and I just can't help but wonder if his blog suddenly became more popular because he works for Apple or posted a funny story about Steve.
null
0
1318253309
False
0
c2qaepk
t3_l6xnp
null
t1_c2qaepk
t3_l6xnp
null
1427711056
6
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318253318
False
0
c2qaeq3
t3_l6xnp
null
t1_c2qaeq3
t3_l6xnp
null
1427711057
1
t5_2fwo
null
null
null
True
[deleted]
null
Kinda reminds me of [Project Euler](http://projecteuler.net/)
null
0
1318253464
False
0
c2qaf6b
t3_l6ao7
null
t1_c2qaf6b
t3_l6ao7
null
1427711062
2
t5_2fwo
null
null
null
True
[deleted]
null
> So, you like to write bad code then? YES. Of course I write bad code. You do too. The great thing about languages with ; and {} is that the compiler can find more of my bad code for me.
null
0
1318253592
False
0
c2qafjt
t3_l6uwv
null
t1_c2qafjt
t1_c2qab86
null
1427711067
7
t5_2fwo
null
null
null
True
imphasing
null
> But aren't the most mathematically inspired programming languages also the ones that are most divorced from how a computer operates at the lowest levels? Exactly, programming declaratively is nothing like how computers actually operate. That's why this stuff is so interesting these days, it's making the computers...
null
0
1318253603
False
0
c2qafkz
t3_l6dcp
null
t1_c2qafkz
t1_c2q9e1v
null
1427711068
3
t5_2fwo
null
null
null
True
[deleted]
null
That's the point... they should be the same.
null
0
1318253610
False
0
c2qafli
t3_l6uwv
null
t1_c2qafli
t1_c2qadwl
null
1427711068
2
t5_2fwo
null
null
null
True
danhakimi
null
Will there be a JSON-like notation available?
null
0
1318253649
False
0
c2qafpl
t3_l6uwv
null
t1_c2qafpl
t3_l6uwv
null
1427711069
2
t5_2fwo
null
null
null
True
huf
null
freedom is bad. got it. go fuck yourself and write python, at least that's python. why you gotta whine whenever something isnt python is beyond me.
null
0
1318253684
False
0
c2qaft3
t3_l6uwv
null
t1_c2qaft3
t1_c2qab86
null
1427711071
-4
t5_2fwo
null
null
null
True
TylerEaves
null
Nonsense. It's easy for you to write all kinds of bad code that compile just fine but don't do what you mean. (For instance, leave the braces off a multi-line if. Whereas in a language with significant white-space the association is obvious, and the language can in fact catch much more in terms of improperly nested ...
null
0
1318253745
False
0
c2qag00
t3_l6uwv
null
t1_c2qag00
t1_c2qafjt
null
1427711073
-3
t5_2fwo
null
null
null
True
SeriousWorm
null
Scala has optional semicolons, as well.
null
0
1318253762
False
0
c2qag25
t3_l6uwv
null
t1_c2qag25
t1_c2qad08
null
1427711074
3
t5_2fwo
null
null
null
True
okpmem
null
fuck everything about this. They speak in such a direct way now that its really revealing. "They must be controlled, and we are doing research into figuring out how to control them." It is striking how fascists get away with this to the point that some programmers are like "yeah, i am one of those creative types. We a...
null
0
1318253774
False
0
c2qag3f
t3_l6m5r
null
t1_c2qag3f
t3_l6m5r
null
1427711074
8
t5_2fwo
null
null
null
True
iluvatar
null
Still around and still the most productive desktop environment I've yet found.
null
0
1318253860
False
0
c2qagdd
t3_l5wo1
null
t1_c2qagdd
t1_c2q8cgl
null
1427711078
2
t5_2fwo
null
null
null
True
[deleted]
null
In most languages expressions can be statements. For example you could put f() on a line by itself and follow it with a semicolon: f(); Or you can use it in another statement: x = f(); So really most statements are just expressions that have a semicolon on the end. The complaint is that there are statemen...
null
0
1318253903
False
0
c2qaghp
t3_l6uwv
null
t1_c2qaghp
t1_c2qadwl
null
1427711080
5
t5_2fwo
null
null
null
True
merlinm
null
How long before a native runtime shows up in chrome? ;-)
null
0
1318253968
False
0
c2qagot
t3_l6uwv
null
t1_c2qagot
t1_c2q9mk4
null
1427711082
11
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318254135
False
0
c2qah87
t3_l71fm
null
t1_c2qah87
t3_l71fm
null
1427711089
1
t5_2fwo
null
null
null
True
fas2
null
But expressions have a return value (and ideally no side effects), statements have side effects but no return value. Otherwise you end up with hackery like this: if((x=f(x)) == y) { ... }
null
0
1318254260
False
0
c2qahnl
t3_l6uwv
null
t1_c2qahnl
t1_c2qaghp
null
1427711095
3
t5_2fwo
null
null
null
True
[deleted]
null
I thought the N-queens puzzle also imposed the limit that queens could not exist on the same diagonal (queens being able to move diagonally in chess). Is this a custom variant of the N-queens puzzle?
null
0
1318254273
False
0
c2qahpf
t3_l6zqc
null
t1_c2qahpf
t3_l6zqc
null
1427711095
2
t5_2fwo
null
null
null