Hello!
It was mentioned in #D that gdc will probably adapt its code to GNU code
style and I wonder, seeing no recemmendation in
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone shed some light what is recommended practice
for it within D community?
Sincere
On Sunday, January 29, 2012 10:15:25 Gour wrote:
> Hello!
>
> It was mentioned in #D that gdc will probably adapt its code to GNU code
> style and I wonder, seeing no recemmendation in
> http://www.d-programming-language.org/dstyle.html in regard to
> indent-style, can someone shed some light what
On 29 January 2012 04:02, Alex Rønne Petersen wrote:
> On 29-01-2012 02:58, J Arrizza wrote:
>
>> > As far as I know, gdc can already produce ARM code since it
>>uses the
>> > gcc backend. All we need now is a nice native D interface to the
>> > Android libraries,
On 29 January 2012 07:42, Andrew Wiley wrote:
> On Sat, Jan 28, 2012 at 9:11 PM, Nick Sabalausky wrote:
> > "Alex Rønne Petersen" wrote in message
> > news:jg29bs$2dm8$1...@digitalmars.com...
> >>
> >> Yes, D on Android would be great.
> >>
> >> In fact, D already runs on Android if you do some
Chad J wrote:
> On 01/29/2012 12:42 AM, Andrew Wiley wrote:
>> On Sat, Jan 28, 2012 at 9:11 PM, Nick Sabalausky wrote:
>>> "Alex Rønne Petersen" wrote in message
>>> news:jg29bs$2dm8$1...@digitalmars.com...
Yes, D on Android would be great.
In fact, D already runs on Android
Manu wrote:
> On 29 January 2012 07:42, Andrew Wiley wrote:
>
>> On Sat, Jan 28, 2012 at 9:11 PM, Nick Sabalausky wrote:
>> > "Alex Rønne Petersen" wrote in message
>> > news:jg29bs$2dm8$1...@digitalmars.com...
>> >>
>> >> Yes, D on Android would be great.
>> >>
>> >> In fact, D already runs o
On 29-01-2012 10:15, Gour wrote:
Hello!
It was mentioned in #D that gdc will probably adapt its code to GNU code
style and I wonder, seeing no recemmendation in
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone shed some light what is recommended practice
f
On 29-1-2012 7:55, Manfred Nowak wrote:
Jos van Uden wrote:
BufferedFile("ukacd17.txt");
Me got an unicode-error on that file on line 100.
-manfred
The original file is encoded ISO 8859-1. You'll have to convert
it to utf-8.
My earlier code sample used the unixdict.txt that I found
here h
On Sun, 29 Jan 2012 12:21:35 +0100
Alex Rønne Petersen wrote:
> Phobos generally uses 4-space indentation.
That is mentioned in the style-guide, but I'm curious about bracing,
iow, GNUstyle, K&R, ANSI...?
Sincerely,
Gour
--
The working senses are superior to dull matter; mind is higher
tha
Am 29.01.2012, 12:34 Uhr, schrieb Gour :
On Sun, 29 Jan 2012 12:21:35 +0100
Alex Rønne Petersen wrote:
Phobos generally uses 4-space indentation.
That is mentioned in the style-guide, but I'm curious about bracing,
iow, GNUstyle, K&R, ANSI...?
Some people seem to use that godawful BSD KNF
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone shed some light what is recommended practice
for it within D community?
Everyone thinks his way is the best.
On Sunday, January 29, 2012 12:34:22 Gour wrote:
> On Sun, 29 Jan 2012 12:21:35 +0100
>
> Alex Rønne Petersen wrote:
> > Phobos generally uses 4-space indentation.
>
> That is mentioned in the style-guide, but I'm curious about bracing,
> iow, GNUstyle, K&R, ANSI...?
Phobos uses Allman: http://
I'm wondering if the export keyword should be stripped by the .di
generator of dmd or not.
Lets say DLL 2 imports DLL 1s import files. Will that not cause DLL 2 to
also export the the symbols of DLL 1?
How much wanted is a dll version of druntime and phobos?
Kind Regards
Ingrater
export on a function declaration means dllimport for exactly that purpose
(.di files).
It's not mentioned at the attributes doc site but I'm sure I read it
somewhere else.
It was originally posted to D.learn but there was no reply. So:
Is there a strict aliasing rule in D?
I just saw https://bitbucket.org/goshawk/gdc/changeset/b44331053062
Manfred Nowak wrote:
> Population and sweep would each be linear in time.
The sweep is linear in time only, if the populatable points of the area
are bount by O(n), which is not neccessary the case.
Therefore, I don't see to find in the generell case a solution faster
than
O( n + k*log( k))
29.01.2012 15:21, Alex Rønne Petersen пишет:
On 29-01-2012 10:15, Gour wrote:
Hello!
It was mentioned in #D that gdc will probably adapt its code to GNU code
style and I wonder, seeing no recemmendation in
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone
On 29 January 2012 14:04, Denis Shelomovskij
wrote:
> 29.01.2012 15:21, Alex Rønne Petersen пишет:
>
>> On 29-01-2012 10:15, Gour wrote:
>>>
>>> Hello!
>>>
>>> It was mentioned in #D that gdc will probably adapt its code to GNU code
>>> style and I wonder, seeing no recemmendation in
>>> http://ww
"Denis Shelomovskij" wrote in message
news:jg3f21$1jqa$1...@digitalmars.com...
> It was originally posted to D.learn but there was no reply. So:
>
> Is there a strict aliasing rule in D?
>
> I just saw https://bitbucket.org/goshawk/gdc/changeset/b44331053062
Struct aliasing is required when doin
Denis Shelomovskij:
> Am I mistaken? If no, am I missing some major spaces advantages? If no,
> lets use tabs.
D2 style guide should *require* D2 to be edited using a mono-spaced font, and
the D2 front-end should enforce this with a "-ms" compiler switch.
Bye,
bearophile
http://media.comicvine.com/uploads/6/67698/1595201-oh_look_its_this_thread_again_super.jpg
Le 29/01/2012 12:36, Trass3r a écrit :
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone shed some light what is recommended practice
for it within D community?
Everyone thinks his way is the best.
I would say that the most important is to be consistent
Personally, I've never understood how anyone can stand anything
other than Allman.
Totally agree.
On Sunday, 29 January 2012 at 14:42:16 UTC, Daniel Murphy wrote:
http://media.comicvine.com/uploads/6/67698/1595201-oh_look_its_this_thread_again_super.jpg
That's nothing. If you want to see a truly great bikeshedding
thread, go there:
http://www.reddit.com/r/programming/comments/p1j1c/tabs_v
Am I mistaken? If no, am I missing some major spaces
advantages? If no, lets use tabs. Perhaps, there is no tool
that will convert (convert right, not somehow, see article)
tabs<->spaces in D code.
There wouldn't be any problem if people were able to use tabs for
indentation and spaces for al
On 01/29/2012 04:56 AM, Jonathan M Davis wrote:
On Sunday, January 29, 2012 14:38:41 Daniel Murphy wrote:
"bearophile" wrote in message
news:jg2cku$2ljk$1...@digitalmars.com...
Integer numbers have some proprieties that compilers use with built-in
fixed-size numbers to optimize code. I think
Am 29.01.2012 16:23, schrieb Trass3r:
But people are dumb and many project leaders "take no risks" and require
spaces everywhere instead of doing it properly.
An ever better solution is elastic tabstops, but unfortunately no major
editor supports that.
Where's the problem, you can configure mo
Le 29/01/2012 16:39, David a écrit :
Am 29.01.2012 16:23, schrieb Trass3r:
But people are dumb and many project leaders "take no risks" and require
spaces everywhere instead of doing it properly.
An ever better solution is elastic tabstops, but unfortunately no major
editor supports that.
Whe
Are there any known bugs with the linker map file dmd can generate
(windows) ?
I sometimes get lines like the following in the exports section:
0003:9E60 D4core7runtime7Runtime10initia 0003:9E60
D4core7runtime7Runtime10initializeFDFC6object9ThrowableZvZb
Whereas a intact linke should
Ok I found a bug ticket about this issue:
http://d.puremagic.com/issues/show_bug.cgi?id=6673
Would this be very hard to fix?
I have a working druntime.dll but now that I need to add more exports
this bug is a real showstopper.
Kind Regards
Benjamin Thaut
Discussion about
http://d.puremagic.com/issues/show_bug.cgi?id=7369
has got me thinking.
On discovering that DMD (2.057) rejects
invariant() const {}
I had made out that constancy doesn't apply to invariants. Only later did I realise it
does, but requires the syntax
const invariant() {
On 29/01/2012 14:17, bearophile wrote:
Denis Shelomovskij:
Am I mistaken? If no, am I missing some major spaces advantages? If no,
lets use tabs.
D2 style guide should *require* D2 to be edited using a mono-spaced
font, and the D2 front-end should enforce this with a "-ms" compiler switch.
Hey guys,
I know this is a bit late given the deprecation of D1 and all, but why
did we name the D2 compiler dmd instead of dmd2?
It's rather annoyed me when trying to work with multiple D projects of
mixed kind in the same environment. Using the same compiler name for
two different program
On Sunday, 29 January 2012 at 14:05:25 UTC, Daniel Murphy wrote:
"Denis Shelomovskij" wrote in
message news:jg3f21$1jqa$1...@digitalmars.com...
It was originally posted to D.learn but there was no reply. So:
Is there a strict aliasing rule in D?
I just saw
https://bitbucket.org/goshawk/gdc/c
On 29/01/2012 16:24, Chad J wrote:
Hey guys,
I know this is a bit late given the deprecation of D1 and all, but why
did we name the D2 compiler dmd instead of dmd2?
It's rather annoyed me when trying to work with multiple D projects of
mixed kind in the same environment. Using the same compiler
"Peter Alexander" wrote in message
news:ggzqksxaiccnkvztm...@dfeed.kimsufi.thecybershadow.net...
>
> That's not strict aliasing, that's just a language rule about aliasing for
> vector ops.
>
Yeah, you're right. It's just an aliasing rule.
On Sunday, 29 January 2012 at 16:25:00 UTC, Chad J wrote:
Hey guys,
I know this is a bit late given the deprecation of D1 and all,
but why did we name the D2 compiler dmd instead of dmd2?
It's rather annoyed me when trying to work with multiple D
projects of mixed kind in the same environmen
On Sun, 29 Jan 2012 17:24:43 +0100, Chad J
wrote:
Hey guys,
I know this is a bit late given the deprecation of D1 and all, but why
did we name the D2 compiler dmd instead of dmd2?
It's rather annoyed me when trying to work with multiple D projects of
mixed kind in the same environment.
> On discovering that DMD (2.057) rejects
> invariant() const {}
> I had made out that constancy doesn't apply to invariants. Only later did
> I realise it does, but requires the syntax
> const invariant() {}
Rejecting the first one is just a parser bug.
> Notice also that DMD rejects tw
Stewart Gordon:
> What do you mean by the "D2 front-end"?
It was one of my first attempts at humor :-)
Bye and sorry,
bearophile
On 29/01/2012 14:17, bearophile wrote:
Denis Shelomovskij:
Am I mistaken? If no, am I missing some major spaces advantages? If no,
lets use tabs.
D2 style guide should *require* D2 to be edited using a mono-spaced
font, and the D2 front-end should enforce this with a "-ms" compiler switch.
deadalnix wrote:
> I would say that the most important is to be consistent accros a
> project
If it is indead important, then the project shoud have a tool that can
enforce that style. And every coder should have a tool that enforces
her/his indiviuell style, if she/he cannot cope with that st
On 29.01.2012 16:55, Benjamin Thaut wrote:
Also does it use some special encoding? I sometimes get funny stuff like:
0003:00013D8C D4core10Ùfcounted14__T7RCArrayTaZ€ˆ‹6__ctorMxFKxS€©¶Z€«¬
_D4core10Ùfcounted14__T7RCArrayTaZ€ˆ‹6__ctorMxFKxS€©¶Z€«¬
long symbol names (>127 characters) are compress
On 01/29/2012 06:54 AM, Trass3r wrote:
Personally, I've never understood how anyone can stand anything other
than Allman.
Totally agree.
Well, people adapt and values change. :)
I've always used Allman style (although learning its name just now),
until I started to work at my current job mo
On 29/01/2012 15:39, David wrote:
Am 29.01.2012 16:23, schrieb Trass3r:
But people are dumb and many project leaders "take no risks" and require
spaces everywhere instead of doing it properly.
An ever better solution is elastic tabstops, but unfortunately no major
editor supports that.
Where'
On 29.01.2012 17:05, Benjamin Thaut wrote:
Ok I found a bug ticket about this issue:
http://d.puremagic.com/issues/show_bug.cgi?id=6673
Would this be very hard to fix?
I have a working druntime.dll but now that I need to add more exports
this bug is a real showstopper.
Kind Regards
Benjamin T
On Sun, 2012-01-29 at 14:09 +, Iain Buclaw wrote:
[...]
> The problem is lines with mixed tabs and spaces, and different users
> set their text editors see tabs differently. ie: is your tab-width set
> to 2, 3, 4, or 8?
Isn't that the whole point: using spaces causes conflict over
indentation
On 29/01/2012 16:46, Daniel Murphy wrote:
And what's your view? Should we make invariants automatically const?
Yes, probably. Once downside is that any private methods you want to call
will need to be const-correct.
But if you want your class to be const-usable at all, the invariant needs
On Sun, 2012-01-29 at 09:17 -0500, bearophile wrote:
> Denis Shelomovskij:
>
> > Am I mistaken? If no, am I missing some major spaces advantages? If no,
> > lets use tabs.
>
> D2 style guide should *require* D2 to be edited using a mono-spaced font, and
> the D2 front-end should enforce this wi
Ever heard of any one having such a tool?
http://golang.org/cmd/gofmt/
On 29/01/2012 16:24, Chad J wrote:
Hey guys,
I know this is a bit late given the deprecation of D1 and all, but why did we
name the D2
compiler dmd instead of dmd2?
I'm not sure. Was D2 originally planned to be backward compatible with D1?
It's rather annoyed me when trying to work with mu
On 1/29/2012 5:36 AM, Trass3r wrote:
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone shed some light what is recommended practice
for it within D community?
Everyone thinks his way is the best.
Thats because it is :)
curley braces on the same line a
On 1/29/2012 10:24 AM, Chad J wrote:
Hey guys,
I know this is a bit late given the deprecation of D1 and all, but why
did we name the D2 compiler dmd instead of dmd2?
It's rather annoyed me when trying to work with multiple D projects of
mixed kind in the same environment. Using the same compil
29.01.2012 20:48, bearophile пишет:
Stewart Gordon:
What do you mean by the "D2 front-end"?
It was one of my first attempts at humor :-)
Bye and sorry,
bearophile
Thanks for explicitly defining that! You just saved a lot of my time. )
Le 29/01/2012 17:46, Daniel Murphy a écrit :
And what's your view? Should we make invariants automatically const?
Yes, probably. Once downside is that any private methods you want to call
will need to be const-correct. Invariants being const is much less
restricting than forcing them to be pu
On 29/01/2012 17:29, Russel Winder wrote:
On Sun, 2012-01-29 at 14:09 +, Iain Buclaw wrote:
[...]
The problem is lines with mixed tabs and spaces, and different users
set their text editors see tabs differently. ie: is your tab-width set
to 2, 3, 4, or 8?
Isn't that the whole point: using
29.01.2012 18:09, Iain Buclaw пишет:
On 29 January 2012 14:04, Denis Shelomovskij
wrote:
29.01.2012 15:21, Alex Rønne Petersen пишет:
On 29-01-2012 10:15, Gour wrote:
Hello!
It was mentioned in #D that gdc will probably adapt its code to GNU code
style and I wonder, seeing no recemmendati
On Sun, 2012-01-29 at 18:07 +, Stewart Gordon wrote:
[...]
> It is. But mishmashing tab and space indentation causes far worse conflict.
Agreed -- homogeneity of the character used for spacing, especially
indentation, is critical . I think this is why Emacs (*) has a way of
converting all le
Am 29.01.2012 18:24, schrieb Rainer Schuetze:
On 29.01.2012 17:05, Benjamin Thaut wrote:
Ok I found a bug ticket about this issue:
http://d.puremagic.com/issues/show_bug.cgi?id=6673
Would this be very hard to fix?
I have a working druntime.dll but now that I need to add more exports
this bug
On Sunday, 29 January 2012 at 16:48:18 UTC, bearophile wrote:
Stewart Gordon:
What do you mean by the "D2 front-end"?
It was one of my first attempts at humor :-)
Bye and sorry,
bearophile
Don't worry I had a good laugh.
29.01.2012 22:07, Stewart Gordon пишет:
It is. But mishmashing tab and space indentation causes far worse conflict.
Iain - I take it you meant that mishmashing, combined with users having
different tab size settings, causes a problem. Correct?
Stewart.
Looks the reason against tabs is: mixed
On 29.01.2012 19:20, Benjamin Thaut wrote:
Am 29.01.2012 18:24, schrieb Rainer Schuetze:
I guess you might know, but here are patches to build a phobos.dll, but
they are almost 2 years old now:
http://d.puremagic.com/issues/show_bug.cgi?id=4071
I'm not really interrested in a phobos shared
29.01.2012 21:29, Russel Winder пишет:
On Sun, 2012-01-29 at 14:09 +, Iain Buclaw wrote:
[...]
The problem is lines with mixed tabs and spaces, and different users
set their text editors see tabs differently. ie: is your tab-width set
to 2, 3, 4, or 8?
Isn't that the whole point: using sp
On 29 January 2012 18:11, Denis Shelomovskij
wrote:
> 29.01.2012 18:09, Iain Buclaw пишет:
>>
>> On 29 January 2012 14:04, Denis Shelomovskij
>> wrote:
>>>
>>> 29.01.2012 15:21, Alex Rønne Petersen пишет:
>>>
>>>
On 29-01-2012 10:15, Gour wrote:
>
>
> Hello!
>
> It was m
Am 29.01.2012, 12:43 Uhr, schrieb Jonathan M Davis :
On Sunday, January 29, 2012 12:34:22 Gour wrote:
On Sun, 29 Jan 2012 12:21:35 +0100
Alex Rønne Petersen wrote:
> Phobos generally uses 4-space indentation.
That is mentioned in the style-guide, but I'm curious about bracing,
iow, GNUstyle,
On Saturday, 28 January 2012 at 00:59:17 UTC, Trass3r wrote:
I guess weak linking could be easily achieved with gdc's pragma
setattribute weak.
But what about dmd? (Or ldc?)
And is it also possible on Windows?
anyone?
On Sat, 28 Jan 2012 01:59:15 +0100, Trass3r wrote:
I guess weak linking could be easily achieved with gdc's pragma
setattribute weak.
But what about dmd? (Or ldc?)
And is it also possible on Windows?
You would need to implement a pragma for dmd to do that.
Not sure about windows.
Manfred Nowak wrote:
> deadalnix wrote:
>
>> I would say that the most important is to be consistent accros a
>> project
>
> If it is indead important, then the project shoud have a tool that can
> enforce that style. And every coder should have a tool that enforces
> her/his indiviuell style,
Am 29.01.2012, 16:23 Uhr, schrieb Trass3r :
Am I mistaken? If no, am I missing some major spaces advantages? If no,
lets use tabs. Perhaps, there is no tool that will convert (convert
right, not somehow, see article) tabs<->spaces in D code.
There wouldn't be any problem if people were able
On Mon, 30 Jan 2012 01:04:43 +1100, Denis Shelomovskij
wrote:
* Such tab using shows respect to a programmer allowing him to configure
tab size as he prefer.
This works ok for editors, but I can't work out how to configure my
browser's tab-stops or the console's or printer's either for t
Am 28.01.2012, 16:42 Uhr, schrieb Trass3r :
When I build my code, I notice that the CTFE functions, which are never
referenced in any runtime code, are still present in the object file.
For now you can get rid of it with -L--gc-sections (or LTO).
gdc also needs -ffunction-sections -fdata-secti
On 01/29/2012 08:26 PM, Marco Leise wrote:
Am 29.01.2012, 16:23 Uhr, schrieb Trass3r :
Am I mistaken? If no, am I missing some major spaces advantages? If
no, lets use tabs. Perhaps, there is no tool that will convert
(convert right, not somehow, see article) tabs<->spaces in D code.
There wo
On 1/29/2012 6:17 AM, bearophile wrote:
D2 style guide should *require* D2 to be edited using a mono-spaced font, and
the D2 front-end should enforce this with a "-ms" compiler switch.
What? How could the compiler possibly know what font was used in your editor?
D has complete (IMHO) compiler support for calling C functions (using
extern(C)). But there is a lack of library support.
Readers from this NG probably know this, but... Microsoft .NET Framework
has such support. Look briefly at source example in:
http://msdn.microsoft.com/en-gb/library/s97sht
On 1/29/2012 6:04 AM, Denis Shelomovskij wrote:
Why does Phobos use 4-space indentation?
Because it works, changing it would be a vast waste of time for a non-existent
benefit, and it would become a nuisance to do diffs of source code that cross
the re-whitespace boundary.
The style for Pho
On 1/29/2012 10:53 AM, Denis Shelomovskij wrote:
No, it isn't. Spaces aren't comfortable to use in existed editors.
Right, and I use tabs in my editor.
I also run all files through the tools:
detab
to convert my tabs to spaces and:
tolf
to convert to LF line endings before checkin. W
29.01.2012 23:02, Iain Buclaw пишет:
On 29 January 2012 18:11, Denis Shelomovskij
wrote:
29.01.2012 18:09, Iain Buclaw пишет:
On 29 January 2012 14:04, Denis Shelomovskij
wrote:
29.01.2012 15:21, Alex Rønne Petersen пишет:
On 29-01-2012 10:15, Gour wrote:
Hello!
It was mentioned
On 1/29/2012 10:13 AM, deadalnix wrote:
This is very important to improve D2 and its lib to be more const compliant, and
this is a step in the right direction.
I'd have to agree. invariants should always be const.
Am 28.01.2012, 11:22 Uhr, schrieb Kagamin :
I also remember MinGW folks were asked about this, but they don't know,
where the headers came from.
I understand that Microsoft prefers Visual Studio to be used with one of
their compilers, but you can't honestly sue anyone nowadays for copying
Am 28.01.2012, 09:41 Uhr, schrieb Andrej Mitrovic
:
I really hope druntime doesn't get one gigantic windows.d file. I
don't want to wait seconds for syntax highlighting to kick in because
a file is huge.
No, it should be done like everywhere else where the IDEs have no problem
dealing with
On 01/29/2012 06:52 PM, Sean Cavanaugh wrote:
On 1/29/2012 5:36 AM, Trass3r wrote:
http://www.d-programming-language.org/dstyle.html in regard to
indent-style, can someone shed some light what is recommended practice
for it within D community?
Everyone thinks his way is the best.
Thats becau
30.01.2012 0:42, Walter Bright пишет:
On 1/29/2012 6:17 AM, bearophile wrote:
D2 style guide should *require* D2 to be edited using a mono-spaced
font, and
the D2 front-end should enforce this with a "-ms" compiler switch.
What? How could the compiler possibly know what font was used in your
e
29.01.2012 22:42, Walter Bright пишет:
On 1/29/2012 6:17 AM, bearophile wrote:
D2 style guide should *require* D2 to be edited using a mono-spaced
font, and
the D2 front-end should enforce this with a "-ms" compiler switch.
What? How could the compiler possibly know what font was used in your
30.01.2012 0:53, Walter Bright пишет:
On 1/29/2012 10:53 AM, Denis Shelomovskij wrote:
No, it isn't. Spaces aren't comfortable to use in existed editors.
Right, and I use tabs in my editor.
I also run all files through the tools:
detab
to convert my tabs to spaces
...
Works like a champ.
Am 27.01.2012, 20:01 Uhr, schrieb Era Scarecrow :
>> El 26/01/2012 14:59, Trass3r escribi?:
>>> I thought it'd be good to outsource this
question from the other thread
>>> about enums as flags.
>>>
>>> Is there any merit in having implicit
conversion to the basetype?
>>> Imo it only introduces a
On 01/29/2012 06:55 PM, Sean Cavanaugh wrote:
On 1/29/2012 10:24 AM, Chad J wrote:
Hey guys,
I know this is a bit late given the deprecation of D1 and all, but why
did we name the D2 compiler dmd instead of dmd2?
It's rather annoyed me when trying to work with multiple D projects of
mixed kind
Am 29.01.2012, 21:20 Uhr, schrieb Timon Gehr :
On 01/29/2012 08:26 PM, Marco Leise wrote:
Am 29.01.2012, 16:23 Uhr, schrieb Trass3r :
Am I mistaken? If no, am I missing some major spaces advantages? If
no, lets use tabs. Perhaps, there is no tool that will convert
(convert right, not somehow,
This is an important topic.
I have an enhancement requests on enums:
http://d.puremagic.com/issues/show_bug.cgi?id=3999
As usual language design is a matter of finding the right balance between
strictness, that helps catch real bugs, and type "sloppiness" that makes code
more handy, and avoids s
Am 29.01.2012, 20:32 Uhr, schrieb Derek :
On Mon, 30 Jan 2012 01:04:43 +1100, Denis Shelomovskij
wrote:
* Such tab using shows respect to a programmer allowing him to
configure tab size as he prefer.
This works ok for editors, but I can't work out how to configure my
browser's tab-stop
On Sun, Jan 29, 2012 at 10:47:55PM +0400, Denis Shelomovskij wrote:
> 29.01.2012 22:07, Stewart Gordon пишет:
> >It is. But mishmashing tab and space indentation causes far worse
> >conflict.
> >
> >Iain - I take it you meant that mishmashing, combined with users
> >having different tab size settin
On Sun, Jan 29, 2012 at 05:33:39PM +, Russel Winder wrote:
> On Sun, 2012-01-29 at 09:17 -0500, bearophile wrote:
[...]
> > D2 style guide should *require* D2 to be edited using a mono-spaced
> > font, and the D2 front-end should enforce this with a "-ms" compiler
> > switch.
>
> Surely this i
On Sunday, January 29, 2012 16:26:02 Timon Gehr wrote:
> long long is 64-bit on 64-bit linux.
Are you sure? I'm _certain_ that we looked at this at work when we were
sorting issue with moving some of our products to 64-bit and found that long
long was 128 bits. Checking...
Well, you're right. N
On Sunday, January 29, 2012 14:27:29 H. S. Teoh wrote:
> On Sun, Jan 29, 2012 at 05:33:39PM +, Russel Winder wrote:
> > On Sun, 2012-01-29 at 09:17 -0500, bearophile wrote:
> [...]
>
> > > D2 style guide should *require* D2 to be edited using a mono-spaced
> > > font, and the D2 front-end shou
Am 29.01.2012, 21:48 Uhr, schrieb Denis Shelomovskij
:
D has complete (IMHO) compiler support for calling C functions (using
extern(C)). But there is a lack of library support.
Readers from this NG probably know this, but... Microsoft .NET Framework
has such support. Look briefly at sourc
On Sunday, January 29, 2012 17:48:04 Stewart Gordon wrote:
> On 29/01/2012 16:24, Chad J wrote:
> > Hey guys,
> >
> > I know this is a bit late given the deprecation of D1 and all, but why
> > did we name the D2 compiler dmd instead of dmd2?
>
> I'm not sure. Was D2 originally planned to be back
On Sunday, 29 January 2012 at 20:53:51 UTC, Walter Bright wrote:
tolf
AFAIK, only windows notepad can't handle lf nowadays. That's it?
Walter:
> What? How could the compiler possibly know what font was used in your editor?
Sorry Walter, this time I wasn't serious :-)
Bye,
bearophile
On Sunday, 29 January 2012 at 22:25:57 UTC, H. S. Teoh wrote:
*Text* is easier to read with proportional fonts. Code is not
the same
as text.
Tried many monospaced fonts, none is more readable than verdana.
On Sun, Jan 29, 2012 at 12:36:18PM +0100, Trass3r wrote:
> >http://www.d-programming-language.org/dstyle.html in regard to
> >indent-style, can someone shed some light what is recommended
> >practice for it within D community?
>
> Everyone thinks his way is the best.
You know, I'm starting to tak
On 29 January 2012 14:17, bearophile wrote:
> Denis Shelomovskij:
>
>> Am I mistaken? If no, am I missing some major spaces advantages? If no,
>> lets use tabs.
>
> D2 style guide should *require* D2 to be edited using a mono-spaced font, and
> the D2 front-end should enforce this with a "-ms" co
1 - 100 of 150 matches
Mail list logo