digitalmars.D - D mention on developer.apple.com
- Michel Fortin (8/11) Sep 25 2014 -- Building assert() in Swift, Part 2: __FILE__ and __LINE__
- j_lacaba12 yahoo.com (1/8) Sep 25 2014
- Jacob Carlborg (4/11) Sep 25 2014 Cool, I didn't know that.
- Chris (3/17) Sep 26 2014 See, D is not all that bad :)
- Daniel N (5/17) Sep 26 2014 Swift also kinda borrowed "lazy" as @autoclosure... but actually
- Chris (3/20) Sep 26 2014 But it will be a "killer feature" in any other language.
- Walter Bright (6/22) Sep 26 2014 Amusingly, the "Language Game Development Talk" video has a list of a do...
- Walter Bright (2/4) Sep 26 2014 I see the Apple blog did mention D. A glorious exception!
- David Gileadi (2/3) Sep 26 2014 Which is odd because Swift doesn't support exception handling :)
- Ola Fosheim Grostad (2/5) Sep 26 2014 :D
- ponce (11/14) Sep 27 2014 From what I got on release Swift is quite odd:
- Jacob Carlborg (4/5) Sep 27 2014 The Objective-C frameworks by Apple basically never throw exceptions.
- Michel Fortin (14/19) Sep 27 2014 There's that.
- H. S. Teoh via Digitalmars-d (6/7) Sep 26 2014 Stolen for my sigs file. :-)
- AsmMan (2/20) Sep 26 2014 Who thinks so?
- Chris (3/24) Sep 26 2014 The Whine Club :-))) Just kidding. The latest threads were just a
- H. S. Teoh via Digitalmars-d (10/18) Sep 26 2014 Yeah, but the way I see it is, people get heated up over it because D is
- ketmar via Digitalmars-d (4/8) Sep 26 2014 yep, there is no sense to talk about "better D" if D is bad in the
- Dicebot (3/10) Sep 26 2014 Funny, this is one feature I would never recognize as a distinct
- Steven Schveighoffer (22/34) Sep 26 2014 It's really funny how the simplest easiest things, if they solve a
- Walter Bright (2/21) Sep 27 2014 It's really fun when us engineers can make improvements like that!
Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15> -- Michel Fortin michel.fortin michelf.ca http://michelf.ca
Sep 25 2014
On Friday, 26 September 2014 at 01:31:06 UTC, Michel Fortin wrote:Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15>
Sep 25 2014
On 26/09/14 03:31, Michel Fortin wrote:Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Cool, I didn't know that. -- /Jacob CarlborgSwift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15>
Sep 25 2014
On Friday, 26 September 2014 at 06:37:49 UTC, Jacob Carlborg wrote:On 26/09/14 03:31, Michel Fortin wrote:See, D is not all that bad :)Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Cool, I didn't know that.Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15>
Sep 26 2014
On Friday, 26 September 2014 at 09:18:20 UTC, Chris wrote:On Friday, 26 September 2014 at 06:37:49 UTC, Jacob Carlborg wrote:Swift also kinda borrowed "lazy" as autoclosure... but actually lazy is slightly more powerful. "Those who do not understand D are condemned to reinvent it, poorly." ;)On 26/09/14 03:31, Michel Fortin wrote:Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.
Sep 26 2014
On Friday, 26 September 2014 at 10:48:29 UTC, Daniel N wrote:On Friday, 26 September 2014 at 09:18:20 UTC, Chris wrote:I'm lazy, but not powerful :-)On Friday, 26 September 2014 at 06:37:49 UTC, Jacob Carlborg wrote:Swift also kinda borrowed "lazy" as autoclosure... but actually lazy is slightly more powerful.On 26/09/14 03:31, Michel Fortin wrote:Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list."Those who do not understand D are condemned to reinvent it, poorly." ;)But it will be a "killer feature" in any other language.
Sep 26 2014
On 9/26/2014 7:49 AM, Chris wrote:On Friday, 26 September 2014 at 10:48:29 UTC, Daniel N wrote:Amusingly, the "Language Game Development Talk" video has a list of a dozen features wanted in a game programming language that are already in D. Including the speaker's great invention of D dynamic arrays! Features of D are creeping into other languages right and left, but nobody wants to say they came from D.On Friday, 26 September 2014 at 09:18:20 UTC, Chris wrote:I'm lazy, but not powerful :-)On Friday, 26 September 2014 at 06:37:49 UTC, Jacob Carlborg wrote:Swift also kinda borrowed "lazy" as autoclosure... but actually lazy is slightly more powerful.On 26/09/14 03:31, Michel Fortin wrote:Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list."Those who do not understand D are condemned to reinvent it, poorly." ;)But it will be a "killer feature" in any other language.
Sep 26 2014
On 9/26/2014 11:23 AM, Walter Bright wrote:Features of D are creeping into other languages right and left, but nobody wants to say they came from D.I see the Apple blog did mention D. A glorious exception!
Sep 26 2014
On 9/26/14, 11:25 AM, Walter Bright wrote:I see the Apple blog did mention D. A glorious exception!Which is odd because Swift doesn't support exception handling :)
Sep 26 2014
On Friday, 26 September 2014 at 18:29:15 UTC, David Gileadi wrote:On 9/26/14, 11:25 AM, Walter Bright wrote::DI see the Apple blog did mention D. A glorious exception!Which is odd because Swift doesn't support exception handling :)
Sep 26 2014
On Friday, 26 September 2014 at 18:29:15 UTC, David Gileadi wrote:On 9/26/14, 11:25 AM, Walter Bright wrote:From what I got on release Swift is quite odd: - regular integer operators check for overflow, but wait it also has other operators that do not. - user-defined custom operators like =+= with _user-defined priority_ - type inference is "bidirectional by expression or statement" which is something that I don't really understand but can only fear - many refinement for properties, convenience is a keyword - and no exceptions, just becauseI see the Apple blog did mention D. A glorious exception!Which is odd because Swift doesn't support exception handling :)
Sep 27 2014
On 2014-09-27 11:05, ponce wrote:- and no exceptions, just becauseThe Objective-C frameworks by Apple basically never throw exceptions. -- /Jacob Carlborg
Sep 27 2014
On 2014-09-27 10:02:59 +0000, Jacob Carlborg <doob me.com> said:On 2014-09-27 11:05, ponce wrote:There's that. Also, remember Walter's fear of ARC in D that would be bloating the generated code by implicitly adding exception handlers all over the place? Well, Swift won't have to bother about that. I'm not claiming that is why there's no exception in Swift, but it's an interesting conjecture. The Cocoa error handling pattern is rather ugly to use in Swift at the moment. I hypothesize they'll come up with something later on the error handling front. -- Michel Fortin michel.fortin michelf.ca http://michelf.ca- and no exceptions, just becauseThe Objective-C frameworks by Apple basically never throw exceptions.
Sep 27 2014
On Fri, Sep 26, 2014 at 10:48:27AM +0000, Daniel N via Digitalmars-d wrote: [...]"Those who do not understand D are condemned to reinvent it, poorly." ;)Stolen for my sigs file. :-) T -- Democracy: The triumph of popularity over principle. -- C.Bond
Sep 26 2014
On Friday, 26 September 2014 at 09:18:20 UTC, Chris wrote:On Friday, 26 September 2014 at 06:37:49 UTC, Jacob Carlborg wrote:Who thinks so?On 26/09/14 03:31, Michel Fortin wrote:See, D is not all that bad :)Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Cool, I didn't know that.Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15>
Sep 26 2014
On Friday, 26 September 2014 at 15:01:20 UTC, AsmMan wrote:On Friday, 26 September 2014 at 09:18:20 UTC, Chris wrote:The Whine Club :-))) Just kidding. The latest threads were just a bit heated up at times.On Friday, 26 September 2014 at 06:37:49 UTC, Jacob Carlborg wrote:Who thinks so?On 26/09/14 03:31, Michel Fortin wrote:See, D is not all that bad :)Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Cool, I didn't know that.Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15>
Sep 26 2014
On Fri, Sep 26, 2014 at 03:25:10PM +0000, Chris via Digitalmars-d wrote:On Friday, 26 September 2014 at 15:01:20 UTC, AsmMan wrote:[...]On Friday, 26 September 2014 at 09:18:20 UTC, Chris wrote:Yeah, but the way I see it is, people get heated up over it because D is cool enough to matter to them. If D were really that horrible, people would just leave and not bother to get involved in the first place. It's not as though we have the kind of marketshare C++ has, where in some places it's basically shoved down your throat, like it or not. T -- All men are mortal. Socrates is mortal. Therefore all men are Socrates.The Whine Club :-))) Just kidding. The latest threads were just a bit heated up at times.See, D is not all that bad :)Who thinks so?
Sep 26 2014
On Fri, 26 Sep 2014 09:18:50 -0700 "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> wrote:Yeah, but the way I see it is, people get heated up over it because D is cool enough to matter to them. If D were really that horrible, people would just leave and not bother to get involved in the first place.yep, there is no sense to talk about "better D" if D is bad in the first place. ;-)
Sep 26 2014
On Friday, 26 September 2014 at 01:31:06 UTC, Michel Fortin wrote:Maybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Funny, this is one feature I would never recognize as a distinct feature at all :)Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15>
Sep 26 2014
On 9/26/14 6:48 AM, Dicebot wrote:On Friday, 26 September 2014 at 01:31:06 UTC, Michel Fortin wrote:It's really funny how the simplest easiest things, if they solve a common nuisance problem, are treated like amazing inventions. We have a similar situation for one product in our company. We make walk-in cooler controls. After installing our controls, we started getting calls that the coolers were iced up. The problem usually turned out to be that a person who was loading the cooler shut off the evaporator fans (the fans that blow air across the refrigerant coils), and forgot to turn them back on. This results in refrigerant running through the coils, but since air is a great insulator, it did not consume any heat from the cooler. Condensation builds up on the coils and turns into ice, which is an even better insulator :) Now, the people doing this had been doing this long before we installed our controls. If you want to know why, just look up wind chill :) The solution we came up with was simple and stupid: add a button that shut off the fans for 10 minutes. That one feature is raved about time and again by all our customers. It's the dumbest thing, but it makes things so much more pleasant that people now complain if the controller needs service because they "can't live without the shutdown button!" And to think we put it in to save service calls :) -SteveMaybe this will be of interest to someone. D was mentioned on the official Swift Blog today:Funny, this is one feature I would never recognize as a distinct feature at all :)Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.-- Building assert() in Swift, Part 2: __FILE__ and __LINE__ <https://developer.apple.com/swift/blog/?id=15>
Sep 26 2014
On 9/26/2014 11:34 AM, Steven Schveighoffer wrote:It's really funny how the simplest easiest things, if they solve a common nuisance problem, are treated like amazing inventions. We have a similar situation for one product in our company. We make walk-in cooler controls. After installing our controls, we started getting calls that the coolers were iced up. The problem usually turned out to be that a person who was loading the cooler shut off the evaporator fans (the fans that blow air across the refrigerant coils), and forgot to turn them back on. This results in refrigerant running through the coils, but since air is a great insulator, it did not consume any heat from the cooler. Condensation builds up on the coils and turns into ice, which is an even better insulator :) Now, the people doing this had been doing this long before we installed our controls. If you want to know why, just look up wind chill :) The solution we came up with was simple and stupid: add a button that shut off the fans for 10 minutes. That one feature is raved about time and again by all our customers. It's the dumbest thing, but it makes things so much more pleasant that people now complain if the controller needs service because they "can't live without the shutdown button!" And to think we put it in to save service calls :)It's really fun when us engineers can make improvements like that!
Sep 27 2014