Re: OT: on IDEs and code writing on steroids

2009-05-19 Thread BCS
Hello dsimcha, What the heck do you need generics for when you have real templates? To me, generics seem like just a lame excuse for templates. smaller object code? OTOH a good implementation will noice when I can fold together several template expansions

Re: OT: on IDEs and code writing on steroids

2009-05-19 Thread dsimcha
== Quote from BCS (n...@anon.com)'s article Hello dsimcha, What the heck do you need generics for when you have real templates? To me, generics seem like just a lame excuse for templates. smaller object code? OTOH a good implementation will noice when I can fold together several template

Re: OT: on IDEs and code writing on steroids

2009-05-19 Thread BCS
Hello dsimcha, == Quote from BCS (n...@anon.com)'s article Hello dsimcha, What the heck do you need generics for when you have real templates? To me, generics seem like just a lame excuse for templates. smaller object code? OTOH a good implementation will noice when I can fold together

Re: OT: on IDEs and code writing on steroids

2009-05-19 Thread Tim Matthews
On Wed, 20 May 2009 15:08:43 +1200, Daniel Keep daniel.keep.li...@gmail.com wrote: I hate to be the one to tell you this, but... MS didn't design .NET to make you happy. *ducks* -- Daniel Windos is a very user orientated os and to make the user happy they try to get all devs writing

Re: OT: on IDEs and code writing on steroids

2009-05-19 Thread Tim Matthews
On Wed, 20 May 2009 05:40:37 +1200, BCS a...@pathlink.com wrote: Reply to Lutger, BCS wrote: ... all LINQ is is a set of standard nameing conventions and sugar. I Add a Where function to some SQL tabel object and you get the above as well. ... Not really, LINQ is 'sugar' for the

Re: OT: on IDEs and code writing on steroids

2009-05-19 Thread Jarrett Billingsley
On Wed, May 20, 2009 at 12:26 AM, Tim Matthews tim.matthe...@gmail.com wrote: On Wed, 20 May 2009 15:08:43 +1200, Daniel Keep daniel.keep.li...@gmail.com wrote: I hate to be the one to tell you this, but... MS didn't design .NET to make you happy.  *ducks*  -- Daniel Windos is a very

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Georg Wrede
grauzone wrote: Oh, and how it indents multiline function calls is completely retarded. And every time I try to autocomplete a templated function call, it insists on inserting ALL of the template arguments, even when they're supposed to be derived. This is why I don't like IDEs. Plus, every

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread davidl
在 Mon, 18 May 2009 16:01:56 +0800,bearophile bearophileh...@lycos.com 写道: Yigal Chripun: first, typos - eclipse has a built-in spell checker so all those lenght will be underlined with an orange squiggly line. A much better solution is to use size (or even len) everywhere in D, that

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Tim Matthews
On Tue, 19 May 2009 00:37:21 +1200, davidl dav...@nospam.org wrote: From a commercial basis for Walter, it may be easier to glue a C# frontend against the DMD backend to create a native C# compiler. Waiting D to be a successful language requires a longer time. And people needs higher

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread dsimcha
== Quote from grauzone (n...@example.net)'s article So what would you suggest to make the things you mentioned work? That was: 1. templated virtual functions 2. finding all derived classes (from other source files) The problem is that D wants to support dynamic linking on the module level,

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Jacob Carlborg
Daniel Keep wrote: BCS wrote: Hello Brad, My other problem with IDE's, such as eclipse, is that it's such an all or nothing investment. You can't really just use part of it. You must buy in to it's editor, it's interface with your SCM, it's scriptures of indentation style, etc. Trying to

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Daniel Keep
Robert Fraser wrote: Daniel Keep wrote: P.S. No, I can't just use make; I'm on Windows. I really, REALLY don't want to have to deal with that bullshit again. http://gnuwin32.sourceforge.net/packages.html My current build script is cobbled together from Perl, Make, and DSSS. It sounds

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Frits van Bommel
Jacob Carlborg wrote: Daniel Keep wrote: Actually, Descent isn't perfect, either. For example, it mandates that cases in a switch MUST be aligned with the braces. What's more fun is that you can't override it until AFTER it's corrected YOU. Just file a ticket. The relevant ticket[1] is a

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread BCS
Hello grauzone, So what would you suggest to make the things you mentioned work? That was: 1. templated virtual functions 2. finding all derived classes (from other source files) The problem is that D wants to support dynamic linking on the module level, more or less. I still wonder how

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread BCS
Hello Yigal, BCS wrote: Hello Yigal, second, D needs to update its stone age compilation model copied from C++. I'm not saying we need to copy the C# or Java models exactly, but we need to throw away the current legacy model. Java has convenient Jar files: you can package everything into

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Ary Borenszweig
grauzone wrote: Oh, and how it indents multiline function calls is completely retarded. And every time I try to autocomplete a templated function call, it insists on inserting ALL of the template arguments, even when they're supposed to be derived. Hmm... At least for Descent there are

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Andrei Alexandrescu
davidl wrote: ?? Mon, 18 May 2009 16:01:56 +0800??bearophile bearophileh...@lycos.com : Yigal Chripun: first, typos - eclipse has a built-in spell checker so all those lenght will be underlined with an orange squiggly line. A much better solution is to use size (or even len)

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread BCS
Reply to Andrei, I've repeatedly failed to figure out the coolness of C#, and would appreciate a few pointers. Or references. Or delegates :o). The coolness of c# is that (in order, IMHO) 1) the tools are world class, 2) the support is back by MS, 3) the docs are great, and 4) the language

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Ary Borenszweig
Frits van Bommel wrote: Jacob Carlborg wrote: Daniel Keep wrote: Actually, Descent isn't perfect, either. For example, it mandates that cases in a switch MUST be aligned with the braces. What's more fun is that you can't override it until AFTER it's corrected YOU. Just file a ticket. The

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Ary Borenszweig
BCS wrote: Reply to Andrei, I've repeatedly failed to figure out the coolness of C#, and would appreciate a few pointers. Or references. Or delegates :o). The coolness of c# is that (in order, IMHO) 1) the tools are world class, 2) the support is back by MS, 3) the docs are great, and 4)

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread BCS
Reply to Ary, BCS wrote: Reply to Andrei, I've repeatedly failed to figure out the coolness of C#, and would appreciate a few pointers. Or references. Or delegates :o). The coolness of c# is that (in order, IMHO) 1) the tools are world class, 2) the support is back by MS, 3) the docs are

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Jarrett Billingsley
On Mon, May 18, 2009 at 1:47 PM, BCS a...@pathlink.com wrote: I think this will work: int delegate(int delegate(ref T)) Where(T[] array, bool delegate(T) dg) {   struct Ret   {       T[] Array;       bool delegate(T) Dg;       int opApply(int delegate(ref T) idg)       {          

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Ary Borenszweig
BCS wrote: Reply to Ary, BCS wrote: Reply to Andrei, I've repeatedly failed to figure out the coolness of C#, and would appreciate a few pointers. Or references. Or delegates :o). The coolness of c# is that (in order, IMHO) 1) the tools are world class, 2) the support is back by MS, 3)

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread BCS
Reply to Ary, BCS wrote: Reply to Ary, Have you seen Linq? That's *amazing*! LINQ is the only thing c# has the is a notable language feature, but I don't think it adds anything that puts it much above the rest of the crowd in any way. You can deal with expression ASTs and do really cool

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Ary Borenszweig
BCS wrote: Reply to Ary, BCS wrote: Reply to Ary, Have you seen Linq? That's *amazing*! LINQ is the only thing c# has the is a notable language feature, but I don't think it adds anything that puts it much above the rest of the crowd in any way. You can deal with expression ASTs and do

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Robert Fraser
Steven Schveighoffer wrote: The IDE is excellent. The docs are reasonable once you figure out how they are laid out. I really don't get what's so great about VS. After using JDT (Eclipse Java), I find Vs kind of lacking. IMO, MS invests a lot of resources in areas to sell VS to companies

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Bill Baxter
On Mon, May 18, 2009 at 12:09 PM, Robert Fraser fraseroftheni...@gmail.com wrote: Steven Schveighoffer wrote: The IDE is excellent.  The docs are reasonable once you figure out how they are laid out. I really don't get what's so great about VS. After using JDT (Eclipse Java), I find Vs kind

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread BCS
Reply to Bill, But it is sad that you have to pay even more money to make the thing you paid so much money for in the first place more usable. VS/MS/etc is a for profit ecosystem. They assume that your system and software is paid for by your boss and he's spending 10-20 time that much on

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Christopher Wright
davidl wrote: From a commercial basis for Walter, it may be easier to glue a C# frontend against the DMD backend to create a native C# compiler. Mono has AOT compilation. On the other hand, I've experienced more ICE per minute with Mono than with dmd. This is partially due to dmd's near

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Andrei Alexandrescu
Christopher Wright wrote: BCS wrote: Reply to Andrei, I've repeatedly failed to figure out the coolness of C#, and would appreciate a few pointers. Or references. Or delegates :o). The coolness of c# is that (in order, IMHO) 1) the tools are world class, 2) the support is back by MS, 3)

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Ary Borenszweig
Andrei Alexandrescu escribió: Christopher Wright wrote: BCS wrote: Reply to Andrei, I've repeatedly failed to figure out the coolness of C#, and would appreciate a few pointers. Or references. Or delegates :o). The coolness of c# is that (in order, IMHO) 1) the tools are world class, 2)

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread davidl
在 Tue, 19 May 2009 00:14:50 +0800,BCS a...@pathlink.com 写道: Reply to Andrei, I've repeatedly failed to figure out the coolness of C#, and would appreciate a few pointers. Or references. Or delegates :o). The coolness of c# is that (in order, IMHO) 1) the tools are world class, 2) the

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Yigal Chripun
grauzone wrote: Oh, and how it indents multiline function calls is completely retarded. And every time I try to autocomplete a templated function call, it insists on inserting ALL of the template arguments, even when they're supposed to be derived. This is why I don't like IDEs. Plus, every

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Yigal Chripun
grauzone wrote: Just because it doesn't work on your shitty (SCNR) platform, it doesn't mean it's wrong. On Unix, there's a single ABI for C, and linking Just Works (TM). do YOU want D to succeed? that shitty platform is 90% of the market. But I kind of agree. The most useful thing about

Re: OT: on IDEs and code writing on steroids

2009-05-18 Thread Yigal Chripun
Yigal Chripun wrote: grauzone wrote: Just because it doesn't work on your shitty (SCNR) platform, it doesn't mean it's wrong. On Unix, there's a single ABI for C, and linking Just Works (TM). do YOU want D to succeed? that shitty platform is 90% of the market. But I kind of agree. The

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Ary Borenszweig
BCS escribió: Hello Georg, So, in a way, Microsoft may be right in assuming that (especially when their thinking anyway is that everybody sits at a computer that's totally dedicated to the user's current activity anyhow) preposterous horse power is (or, should be) available at the code editor.

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Yigal Chripun
Ary Borenszweig wrote: BCS escribió: Hello Georg, So, in a way, Microsoft may be right in assuming that (especially when their thinking anyway is that everybody sits at a computer that's totally dedicated to the user's current activity anyhow) preposterous horse power is (or, should be)

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread BCS
Hello Ary, BCS escribió: I think that any real programing project now days (regardless of language) needs tools to help the programmer. The difference between D and C# is that with D you /can/ get away without an IDE and with C# you won't get much at all done without one. I can't agree with

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread bearophile
Yigal Chripun: IMO, designing the language to support this better work-flow is a good decision made by MS, and D should follow it instead of trying to get away without an IDE. Do you have some more focused suggestions, then? Bye, bearophile

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Brad Roberts
Yigal Chripun wrote: IMO, designing the language to support this better work-flow is a good decision made by MS, and D should follow it instead of trying to get away without an IDE. Support or enable.. sure. Require, absolutely not. I've become convinced that the over-reliance on

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Yigal Chripun
I disagree on all your points. read inside for comments. Brad Roberts wrote: Yigal Chripun wrote: IMO, designing the language to support this better work-flow is a good decision made by MS, and D should follow it instead of trying to get away without an IDE. Support or enable.. sure.

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread BCS
Hello Brad, My other problem with IDE's, such as eclipse, is that it's such an all or nothing investment. You can't really just use part of it. You must buy in to it's editor, it's interface with your SCM, it's scriptures of indentation style, etc. Trying to deviate from any of it is such a

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Yigal Chripun
bearophile wrote: Yigal Chripun: IMO, designing the language to support this better work-flow is a good decision made by MS, and D should follow it instead of trying to get away without an IDE. Do you have some more focused suggestions, then? Bye, bearophile first and foremost, the

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread BCS
Hello Yigal, second, D needs to update its stone age compilation model copied from C++. I'm not saying we need to copy the C# or Java models exactly, but we need to throw away the current legacy model. Java has convenient Jar files: you can package everything into nice modular packages with

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Jarrett Billingsley
On Sun, May 17, 2009 at 7:15 PM, BCS n...@anon.com wrote: second, D needs to update its stone age compilation model copied from C++. I'm not saying we need to copy the C# or Java models exactly, but we need to throw away the current legacy model. Java has convenient Jar files: you can package

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread dsimcha
== Quote from Jarrett Billingsley (jarrett.billings...@gmail.com)'s article On Sun, May 17, 2009 at 7:15 PM, BCS n...@anon.com wrote: second, D needs to update its stone age compilation model copied from C++. I'm not saying we need to copy the C# or Java models exactly, but we need to throw

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Brad Roberts
Yigal Chripun wrote: I disagree on all your points. read inside for comments. Brad Roberts wrote: Yigal Chripun wrote: IMO, designing the language to support this better work-flow is a good decision made by MS, and D should follow it instead of trying to get away without an IDE. Support

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Jussi Jumppanen
BCS Wrote: Has anyone ever tried building a c# project without an IDE? Yes. I don't even know if it can be done. It is actually very easy to do: http://www.zeusedit.com/forum/viewtopic.php?t=2518 and it is even easier if you have a simple 'one file', throw away project:

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Christopher Wright
Ary Borenszweig wrote: BCS escribió: Hello Georg, So, in a way, Microsoft may be right in assuming that (especially when their thinking anyway is that everybody sits at a computer that's totally dedicated to the user's current activity anyhow) preposterous horse power is (or, should be)

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Daniel Keep
BCS wrote: Hello Brad, My other problem with IDE's, such as eclipse, is that it's such an all or nothing investment. You can't really just use part of it. You must buy in to it's editor, it's interface with your SCM, it's scriptures of indentation style, etc. Trying to deviate from any

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Daniel Keep
Robert Fraser wrote: Daniel Keep wrote: rebuild MyProgram I will give you this, though: D's toolchain could use improvement in more complex builds. But it's still a hell of a lot simpler than anything C#'s toolchain can do. Have you tried DSSS? It's surprisingly feature-rich, and its

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Robert Fraser
Daniel Keep wrote: rebuild MyProgram I will give you this, though: D's toolchain could use improvement in more complex builds. But it's still a hell of a lot simpler than anything C#'s toolchain can do. Have you tried DSSS? It's surprisingly feature-rich, and its syntax is a lot simpler

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Daniel Keep
Jussi Jumppanen wrote: BCS Wrote: Has anyone ever tried building a c# project without an IDE? Yes. I don't even know if it can be done. It is actually very easy to do: http://www.zeusedit.com/forum/viewtopic.php?t=2518 I look at that, and all I can say is: if that's easy,

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Derek Parnell
On Mon, 18 May 2009 12:43:34 +1000, Daniel Keep wrote: You realise that in order to be using rebuild, I HAVE to also have DSSS, right? I'm pretty sure Gregor stopped releasing rebuild-only packages quite some time ago. Not to trumpet my own horn, but have you considered my build tool

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Robert Fraser
Daniel Keep wrote: P.S. No, I can't just use make; I'm on Windows. I really, REALLY don't want to have to deal with that bullshit again. http://gnuwin32.sourceforge.net/packages.html My current build script is cobbled together from Perl, Make, and DSSS. It sounds ugly, but when I tried it

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Robert Fraser
Robert Fraser wrote: Daniel Keep wrote: P.S. No, I can't just use make; I'm on Windows. I really, REALLY don't want to have to deal with that bullshit again. http://gnuwin32.sourceforge.net/packages.html Oops, wrong one:

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread grauzone
So what would you suggest to make the things you mentioned work? That was: 1. templated virtual functions 2. finding all derived classes (from other source files) The problem is that D wants to support dynamic linking on the module level, more or less. I still wonder how serialization is

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread grauzone
Oh, and how it indents multiline function calls is completely retarded. And every time I try to autocomplete a templated function call, it insists on inserting ALL of the template arguments, even when they're supposed to be derived. This is why I don't like IDEs. Plus, every time you type

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread Yigal Chripun
BCS wrote: Hello Yigal, second, D needs to update its stone age compilation model copied from C++. I'm not saying we need to copy the C# or Java models exactly, but we need to throw away the current legacy model. Java has convenient Jar files: you can package everything into nice modular

Re: OT: on IDEs and code writing on steroids

2009-05-17 Thread grauzone
Yigal Chripun wrote: BCS wrote: Hello Yigal, second, D needs to update its stone age compilation model copied from C++. I'm not saying we need to copy the C# or Java models exactly, but we need to throw away the current legacy model. Java has convenient Jar files: you can package everything

Re: OT: on IDEs and code writing on steroids

2009-05-16 Thread Christopher Wright
Georg Wrede wrote: If we were smart with D, we'd find out a way of leapfrogging this thinking. We have a language that's more powerful than any of C#, Java or C++, more practical than Haskell, Scheme, Ruby, co, and more maintainable than C or Perl, but which *still* is Human Writable. More

Re: OT: on IDEs and code writing on steroids

2009-05-16 Thread BCS
Hello Georg, So, in a way, Microsoft may be right in assuming that (especially when their thinking anyway is that everybody sits at a computer that's totally dedicated to the user's current activity anyhow) preposterous horse power is (or, should be) available at the code editor. I think that

OT: on IDEs and code writing on steroids

2009-05-15 Thread Georg Wrede
bearophile wrote: BCS: The c# solution works well if you will *only* develop from the IDE but is a total pain as soon as you need to work with non-language aware tools. I think Microsoft thinks that an IDE is a part of a modern language. So they have tried to design a language that almost

<    1   2