On Mon, 04 Feb 2013 19:19 +
Dejan Lekic dejan.le...@gmail.com wrote:
Nick Sabalausky wrote:
On Sun, 03 Feb 2013 22:15:09 +0100
Michael p...@m1xa.com wrote:
Best code, it's which works and the client is satisfied.
And the end users are satisfied. AND doesn't cause problems
On 02/05/2013 09:01 PM, bearophile wrote:
Walter Bright:
Yeah, autodeclaration is one of those things that gets regularly
invented by newbies who think the rest of us are idiots for not
having thought of it!
Still, I prefer to use Python in many situations, like when I design a
new
As she noted in its journal, maybe she give a keynote talk at
DConf 2013.
Additionaly, I think it would be great to take an interview with
her.
On Monday, 4 February 2013 at 23:02:04 UTC, MattCoder wrote:
On Monday, 4 February 2013 at 20:08:32 UTC, Paulo Pinto wrote:
Am 04.02.2013 20:16, schrieb Dejan Lekic:
Paulo Pinto wrote:
Am 03.02.2013 19:58, schrieb bearophile:
Dejan Lekic:
In real projects people do the job as best as they
On 02/03/2013 08:56 AM, bearophile wrote:
text() is shorter than to!string(),
In all fairness, I wasn't aware of text until this comment, so perhaps
the author was not either?
For the curious, I found docs here, since I now knew what I was looking for:
On 2013-02-05 18:24, Matthew Caron wrote:
On 02/05/2013 05:17 AM, Dejan Lekic wrote:
On Monday, 4 February 2013 at 23:02:04 UTC, MattCoder wrote:
And by the way, the project looks awesome!
I absolutely agree.
I don't, but that's because I hate JavaScript only slightly less than PHP or
On 2013-02-05 18:21, Matthew Caron wrote:
In all fairness, I wasn't aware of text until this comment, so perhaps the
author was not either?
There are still many examples around with to!string, so it's easy not to
notice text() if you are like me and stop looking after you found something
that
On 2/5/13 1:04 PM, FG wrote:
On 2013-02-05 18:21, Matthew Caron wrote:
In all fairness, I wasn't aware of text until this comment, so perhaps
the
author was not either?
There are still many examples around with to!string, so it's easy not to
notice text() if you are like me and stop looking
On 02/05/2013 12:54 PM, FG wrote:
On 2013-02-05 18:24, Matthew Caron wrote:
I don't, but that's because I hate JavaScript only slightly less than
PHP or
Python and want to see all of them die.
I have similar feelings regarding PHP and Javascript.
Not sure why you'd hate Python (except the
05-Feb-2013 23:01, Andrej Mitrovic пишет:
On 2/5/13, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
Care for a shotgun search/replace pull request?
Looking at the implementation:
string text(T...)(T args)
{
return textImpl!string(args);
}
private S textImpl(S, U...)(U args)
{
On 02/05/2013 10:59 AM, Adam D. Ruppe wrote:
I prefer to!string to text() because you can use the same to!T pattern
for a great many types T.
+1
Ali
On 2/5/2013 10:57 AM, Matthew Caron wrote:
I have a rule - any language which does not have a method by which one can force
variable predeclaration is a toy and not suitable for real work.
Yeah, autodeclaration is one of those things that gets regularly invented by
newbies who think the rest
Walter Bright:
Yeah, autodeclaration is one of those things that gets
regularly invented by newbies who think the rest of us are
idiots for not having thought of it!
Still, I prefer to use Python in many situations, like when I
design a new algorithm, because it decreases the amount of
On 2/5/2013 11:10 AM, Adam D. Ruppe wrote:
On Tuesday, 5 February 2013 at 19:02:19 UTC, Dmitry Olshansky wrote:
wtext, dtext
to!int, etc too
toto too!
On Sunday, 3 February 2013 at 13:56:13 UTC, bearophile wrote:
deadalnix:
The code seems to miss the usage of contracts, foreach loops
on numerical intervals, final switch, toString with sink,
text() function, enum for compile-time constants, most const
arguments, const on methods.
My
Yes, you are right. But it's all is just nuances )))
Paulo Pinto wrote:
Am 03.02.2013 19:58, schrieb bearophile:
Dejan Lekic:
In real projects people do the job as best as they
can at the moment,
But often there's also some need for:
http://en.wikipedia.org/wiki/Code_review
Bye,
bearophile
If only most companies I worked for cared
On Monday, 4 February 2013 at 19:19:06 UTC, Dejan Lekic wrote:
Nick Sabalausky wrote:
On Sun, 03 Feb 2013 22:15:09 +0100
Michael p...@m1xa.com wrote:
Best code, it's which works and the client is satisfied.
And the end users are satisfied. AND doesn't cause problems
when it
inevitably
Am 04.02.2013 20:16, schrieb Dejan Lekic:
Paulo Pinto wrote:
Am 03.02.2013 19:58, schrieb bearophile:
Dejan Lekic:
In real projects people do the job as best as they
can at the moment,
But often there's also some need for:
http://en.wikipedia.org/wiki/Code_review
Bye,
bearophile
If
On Monday, 4 February 2013 at 20:08:32 UTC, Paulo Pinto wrote:
Am 04.02.2013 20:16, schrieb Dejan Lekic:
Paulo Pinto wrote:
Am 03.02.2013 19:58, schrieb bearophile:
Dejan Lekic:
In real projects people do the job as best as they
can at the moment,
But often there's also some need for:
On Sunday, 3 February 2013 at 21:05:57 UTC, Peter Alexander wrote:
On Sunday, 3 February 2013 at 18:24:05 UTC, Dejan Lekic wrote:
Welcome to reality Bearophile!!!
In real projects people do the job as best as they can at the
moment, and they probably, and with right, do not care what
people
It would be nice to know why she choose D.
Possibly the reason is because she wanted to write code quickly,
which is one of the advantages that D is supposed to provide over
some other languages.
--rt
Paulo Pinto:
Source code is available at GitHub,
https://github.com/maximecb/Higgs
The code seems to miss the usage of contracts, foreach loops on
numerical intervals, final switch, toString with sink, text()
function, enum for compile-time constants, most const arguments,
const on
Paulo Pinto:
More information on her blog,
http://pointersgonewild.wordpress.com/2013/01/31/visiting-mozilla/
I like the slides because they don't contain a page titled Why
D? nor they talk about D:
http://pointersgonewild.files.wordpress.com/2013/01/higgs-presentation.pdf
Bye,
bearophile
On Sunday, 3 February 2013 at 11:26:54 UTC, bearophile wrote:
Paulo Pinto:
Source code is available at GitHub,
https://github.com/maximecb/Higgs
The code seems to miss the usage of contracts, foreach loops on
numerical intervals, final switch, toString with sink, text()
function, enum for
On Sunday, 3 February 2013 at 13:56:13 UTC, bearophile wrote:
deadalnix:
The code seems to miss the usage of contracts, foreach loops
on numerical intervals, final switch, toString with sink,
text() function, enum for compile-time constants, most const
arguments, const on methods.
My
Dejan Lekic:
In real projects people do the job as best as they
can at the moment,
But often there's also some need for:
http://en.wikipedia.org/wiki/Code_review
Bye,
bearophile
On Sun, 03 Feb 2013 14:56:12 +0100
bearophile bearophileh...@lycos.com wrote:
The author has used asserts at the beginning of methods, outside
a the pre-condition, this is silly.
Why is it silly? (Genuine question)
Not using foreach loops on
numerical intervals is a waste of fingers and
On Sunday, 3 February 2013 at 18:24:05 UTC, Dejan Lekic wrote:
Welcome to reality Bearophile!!!
In real projects people do the job as best as they can at the
moment, and they probably, and with right, do not care what
people who only theorise, criticise, and philosophise think!
You write
On Sunday, 3 February 2013 at 20:54:29 UTC, Nick Sabalausky wrote:
Also, AIUI, foreach(i; 0..10) involves a range and function
calls, so
perhaps they want to be certain there isn't any overhead that
accidentally fails to get optimized out?
There is no range or function calls! That syntax
Am 03.02.2013 22:05, schrieb Peter Alexander:
On Sunday, 3 February 2013 at 18:24:05 UTC, Dejan Lekic wrote:
Welcome to reality Bearophile!!!
In real projects people do the job as best as they can at the moment,
and they probably, and with right, do not care what people who only
theorise,
Best code, it's which works and the client is satisfied.
On Sunday, 3 February 2013 at 22:00:05 UTC, bearophile wrote:
Nick Sabalausky:
Why is it silly? (Genuine question)
Silly wasn't the right word, sorry.
But generally if a language offers you a clean feature (D
contract programming is designed clean enough) it's better to
use it, when you
Peter Alexander:
I don't use D contracts, even though I use asserts.
I find that adding contracts bloats my code quite a lot, making
it less readable.
real log(real x)
in
{
assert(x 0);
}
body
{
return ...;
}
v.s.
real log(real x)
{
assert(x 0);
return ...;
}
As far as
On 02/03/2013 11:14 PM, Peter Alexander wrote:
On Sunday, 3 February 2013 at 22:00:05 UTC, bearophile wrote:
Nick Sabalausky:
Why is it silly? (Genuine question)
Silly wasn't the right word, sorry.
But generally if a language offers you a clean feature (D contract
programming is designed
I just saw this talk:
Higgs, a Monitoring JIT for JavaScript Metacircular VM Layering
https://air.mozilla.org/higgs-jit/
Maxime is using D to implement her JIT.
More information on her blog,
http://pointersgonewild.wordpress.com/2013/01/31/visiting-mozilla/
Source code is available at
36 matches
Mail list logo