Re: How D may replace PHP ASPX on the Web!!!

2011-07-29 Thread Matthew Ong
are very much welcome and accepted in various industry because that replaces the very old RPC and EAI + Middleware approaches. Hopefully you might consider doing something about it for even PHP has some form of Webservices support. -- Matthew Ong email: on...@yahoo.com

Re: How D may replace PHP ASPX on the Web!!!

2011-07-29 Thread Matthew Ong
and also Apache? I have not done both server for a long while. Getting old... :) -- Matthew Ong email: on...@yahoo.com

Re: How D may replace PHP ASPX on the Web!!!

2011-07-26 Thread Matthew Ong
On 7/20/2011 1:21 AM, Graham Fawcett wrote: On Tue, 19 Jul 2011 23:59:34 +0800, Matthew Ong wrote: 7) Support multiple platforms including some mobiles devices. Any website that doesn't work on mobile devices already is garbage. The whole point of the web is device independence! True

Re: How D may replace PHP ASPX on the Web!!!

2011-07-26 Thread Matthew Ong
On 7/20/2011 1:24 AM, Adam Ruppe wrote: Matthew Ong The KEY idea that I am trying to suggest is the modeling of the D Web Framework that could beat google go Go's offering for web apps is very, very poor (at least it was last I checked when they did that web apps in go advertisement

Re: How D may replace PHP ASPX on the Web!!!

2011-07-19 Thread Matthew Ong
On 7/19/2011 2:00 AM, Adam Ruppe wrote: Matthew Ong wrote: Now, SugarCRM is being use not because all web pages are CRM product, but to show how a professional product is implemented in PHP. Yes, I've had to work with it's code before... it was so brutally slow and overcomplicated that we

How D may replace PHP ASPX on the Web!!!

2011-07-18 Thread Matthew Ong
/helper.html?dl=/frs/download.php/8274/sugarcrm-CE-6.2.1-windows-installer.exe Love to hear some comments about this one. -- Matthew Ong email: on...@yahoo.com

Re: How about auto parameters?

2011-06-04 Thread Matthew Ong
this makes a clear solid point as shown here. The point I was making is, you need to have a very solid oh, obviously that is better! I am not talking about auto anymore, but the process of reviewing new suggestions and improvement. -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-06-04 Thread Matthew Ong
. Thank you for the feedback, I'll have to save your links for later review. Most welcome, thank you for listening also. -- Matthew Ong email: on...@yahoo.com

How about D implementing some *more* commonly used Unit Test Framework?

2011-06-04 Thread Matthew Ong
, regression can be done. That is to ensure future changes does not impact currently working business logic. Few languages, if not none, support such thing without using commercial tool. I am sure Java, C#, C++ does not have this as part of the J/SDK. Killing 2 birds with one stone. -- Matthew Ong

Re: Another Log implementation

2011-06-04 Thread Matthew Ong
formats. Totally agrees, it should be easily configurable by an Network Admin person and NOT only developer. :) :) :) Do help to comment about this also: How about adding NEW Special Tokens?? For ease and Security. I may have loose something out. -- Matthew Ong email: on...@yahoo.com

Re: Does alias prevent hijacking?

2011-06-04 Thread Matthew Ong
manual 'observational'. -- Matthew Ong email: on...@yahoo.com

Re: Does alias prevent hijacking?

2011-06-03 Thread Matthew Ong
that *How* would the coder of the Derived be *notify* of this change *even* when alias is used. -- Matthew Ong email: on...@yahoo.com

Re: How about auto parameters?

2011-06-03 Thread Matthew Ong
later. Look up my name as Matthew Ong. Avoid asking the same questions. http://www.digitalmars.com/d/ Notice: We *welcome feedback about the D compiler or language*, Not so true. Or out right should warn people as: Notice: Take it the way how we like it here, we are Not Burger K*ng. Please see

Re: How about auto parameters?

2011-06-03 Thread Matthew Ong
to shoot this down like a bug also. -- Matthew Ong email: on...@yahoo.com

Re: How about auto parameters?

2011-06-03 Thread Matthew Ong
On 6/4/2011 12:36 AM, Matthew Ong wrote: On 6/3/2011 11:16 AM, Mehrdad wrote: Alternatively, D might want to use some kind of voting tool online on yahoo to help vote for syntax that programmer really wants. A simple solution to the long like JCP process in Java. If the aim is to grow D

Re: How about auto parameters?

2011-06-03 Thread Matthew Ong
. No, the only constant is people who ignore history are bound to repeat it. In this case, both. Sometime, repeating the history, get things changed. Most people need linear time to 'sink' in the idea. -- Matthew Ong

Re: How about auto parameters?

2011-06-03 Thread Matthew Ong
newsgroup protocol and only HTTP/S from laptop. The only thing I've found found to be AMAZINGLY useful is StackOverflow's automatic search based on the title (while you're typing your own question) I will like that a lot also. -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-28 Thread Matthew Ong
On 5/28/2011 3:02 AM, Jesse Phillips wrote: Matthew Ong Wrote: Perhaps format like coffee using more interesting side by side comparison and with more writefln/writeln rather than assert. Assert does not show anything visually. I understand this position and that new programers of D find

Re: Example within documentations of D seriously need some improvement.

2011-05-28 Thread Matthew Ong
On 5/28/2011 3:27 AM, Walter Bright wrote: On 5/27/2011 12:02 PM, Jesse Phillips wrote: Matthew Ong Wrote: Hi Walter, With all due respect for creating such a advance programming tool. How ever, there are plenty of rooms for improvement in helping new person to learn and adapt D. I tend

Could new keyword help function hijacking and prevented aliasing all over the place??

2011-05-27 Thread Matthew Ong
already without knowledge. Show up in compilation exception for such cases with -w flag on. How about that? Possible solution? -- Matthew Ong email: on...@yahoo.com

Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
that those poor junior developer can copy and paste and still have a working program. D might consider seriously and carefully how to rework the Yes. That URL is better than Java tutorial documentation. Yes, I am ranting. With good reasons. Hopefully for the best of D. -- Matthew Ong email

Re: Could new keyword help function hijacking and prevented aliasing all over the place??

2011-05-27 Thread Matthew Ong
such patterns. Overriding is for entirely different thing. Hence, I suggested the 2 new keywords solutions. -- Matthew Ong email: on...@yahoo.com

Re: Could new keyword help function hijacking and prevented aliasing all over the place??

2011-05-27 Thread Matthew Ong
On 5/27/2011 7:08 PM, Steven Schveighoffer wrote: On Fri, 27 May 2011 02:34:34 -0400, Matthew Ong on...@yahoo.com wrote: Hi All, Currently within D, to make use of a parent class method you have to do: class Parent{ void methodA(int x){...} } class Child : Parent{ // I understand that it has

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
Perhaps on the right hand side and each section is formatted with a table column like manner. -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
On 5/27/2011 7:27 PM, Jacob Carlborg wrote: On 2011-05-27 09:35, Matthew Ong wrote: The documentation on the DigitalMars site is more of a language reference than a tutorial. It's probably not the best place to start but when you know the language is good to be able to look some odd syntax you

Re: Could new keyword help function hijacking and prevented aliasing all over the place??

2011-05-27 Thread Matthew Ong
-hijacking is a feature. Your proposal removes that when you use inheritall. -Steve -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
with very few statement outside the sample or on the sample code itself. It is NOT JUST those pages listed here. -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
for this purpose instead of just bugzilla as a bug report. See this site from Puppy Linux. http://murga-linux.com/puppy/ Powered by phpBB © 2001, 2005 phpBB Group They documented the OS level help and documentation rather well and can be search online via web. -- Matthew Ong email: on...@yahoo.com

Re: Could new keyword help function hijacking and prevented aliasing all over the place??

2011-05-27 Thread Matthew Ong
On 5/27/2011 9:37 PM, Jacob Carlborg wrote: On 2011-05-27 13:42, Matthew Ong wrote: On 5/27/2011 7:08 PM, Steven Schveighoffer wrote: Maybe you are not doing something correctly, you shouldn't need this feature all the time. Not me, others that has coded the dwt and I suspect other code

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
/doc/playground.html It might be possible as DMDscript is available, Not too sure if it is 100% same syntax as D, hopefully, it is. People on the web can also try out and modify some code. That will sure help some learning cycle. -- Matthew Ong email: on...@yahoo.com

Re: Could new keyword help function hijacking and prevented aliasing all over the place??

2011-05-27 Thread Matthew Ong
On 5/27/2011 10:10 PM, Andrei Alexandrescu wrote: On 5/27/11 1:34 AM, Matthew Ong wrote: Hi All, At least not using foo and bar, I am able to understand some of that is being discussed here. Thank you all. 2 is just annoying. For the sake of backward compatibility, keep that machination

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
meant to say, that documentation is - apart from being intrinsically valuable - an important marketing tool for to the reasons shown in the Apple advertisement. With some good sense of humor also. :) -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
someone new to learn D without much typing and trial and error. -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
On 5/28/2011 1:09 AM, Alexander Battisti wrote: Basic and Logo on my Amstrad CPC 64 (around 1996?) ... so I am not sooo young anymore, but thanks nonetheless :) My was turbo C++ on MS DOS 6.22 around 1995. I think we might be in the same age range. -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
with the Object file in D. :) Yes... I am still a coffee(Java) addict. Sorry cannot stop that. Addict. May need to take some 12 steps program... :) -- Matthew Ong email: on...@yahoo.com

Re: Example within documentations of D seriously need some improvement.

2011-05-27 Thread Matthew Ong
On 5/28/2011 1:31 AM, KennyTM~ wrote: On May 28, 11 01:19, Matthew Ong wrote: On 5/28/2011 1:17 AM, Adam D. Ruppe wrote: You can check a sample in http://arsdnet.net/d-web-site/std_algorithm2.html. Ah... good idea. Very close to that. Perhaps format like coffee using more interesting side

How to use interface template? How to model interface template properly in D.

2011-05-27 Thread Matthew Ong
= + acc.getAmount()); } Kindly show some compilable and working code sample. Thanks very much. -- Matthew Ong email: on...@yahoo.com

Re: What is the design reasons for Not considering base class overloaded

2011-05-27 Thread Matthew Ong
are in different classes? Does it mean we have to do more alias at child class at the bottom?MORE hard to solve issues. If I am not mistaken, in C++/Java. They will choose the most bottom up closes parameter type signature match. -- Matthew Ong email: on...@yahoo.com

Re: What is the design reasons for Not considering base class overloaded

2011-05-27 Thread Matthew Ong
On 5/27/2011 2:03 PM, Matthew Ong wrote: Would not it be a better keyword such as: class A{ // assuming there is a new keyword of noinherit noinherit void foo(int x){} // all other method can be inherited in A except for this class } Ignore the last message on new noinherit, just remember we

Re: How to use interface template? How to model interface template properly in D.

2011-05-27 Thread Matthew Ong
On 5/27/2011 2:32 PM, Jacob Carlborg wrote: On 2011-05-27 07:55, Matthew Ong wrote: In D the syntax for declaring a template and instantiate a template is not the same. Have a look at the first example of http://www.digitalmars.com/d/2.0/template.htm If don't understand after reading

Re: How to use interface template? How to model interface template properly in D.

2011-05-27 Thread Matthew Ong
On 5/27/2011 2:48 PM, Matthew Ong wrote: On 5/27/2011 2:32 PM, Jacob Carlborg wrote: On 2011-05-27 07:55, Matthew Ong wrote: Never mind, I found it. http://www.dsource.org/projects/tutorials/wiki/InterfaceTemplateExample -- Matthew Ong email: on...@yahoo.com

Re: How to use interface template? How to model interface template properly in D.

2011-05-27 Thread Matthew Ong
On 5/27/2011 2:48 PM, Matthew Ong wrote: On 5/27/2011 2:32 PM, Jacob Carlborg wrote: Thanks very much. -- Matthew Ong email: on...@yahoo.com

Re: How about adding NEW Special Tokens?? For ease and Security

2011-05-26 Thread Matthew Ong
of compile time. -- Matthew Ong email: on...@yahoo.com

How about adding NEW Special Tokens?? For ease and Security

2011-05-25 Thread Matthew Ong
. If not, that might be in the future version. -- Matthew Ong email: on...@yahoo.com

Re: How about adding NEW Special Tokens?? For ease and Security

2011-05-25 Thread Matthew Ong
On 5/25/2011 6:57 PM, Kagamin wrote: That's why Tortoise* are so evil, I shit bricks just by looking at them. Huh?? -- Matthew Ong email: on...@yahoo.com

Re: How about adding NEW Special Tokens?? For ease and Security

2011-05-25 Thread Matthew Ong
. If not, that might be in the future version. Thanks very much for the URL. -- Matthew Ong email: on...@yahoo.com

Re: How about adding NEW Special Tokens?? For ease and Security

2011-05-25 Thread Matthew Ong
that this make some sense. The same logic with variable can also be used to develop a robust server or middle tier. -- Matthew Ong email: on...@yahoo.com

Re: How about adding NEW Special Tokens?? For ease and Security

2011-05-25 Thread Matthew Ong
On 5/25/2011 10:37 PM, pillsy wrote: == Quote from Matthew Ong (on...@yahoo.com)'s article I do understand that this are compile time information and they are static. __FILE__ // prints something like D:\User\Project\...\MyMod.d I do not like this full path format because

Re: How about adding NEW Special Tokens?? For ease and Security

2011-05-25 Thread Matthew Ong
On 5/25/2011 10:37 PM, pillsy wrote: Use CTFE. What is that? Some URL please. -- Matthew Ong email: on...@yahoo.com

Any example of using these Special Tokens?

2011-05-25 Thread Matthew Ong
',' src\Sample.d(146): expression expected, not 'EOF' src\Sample.d(146): found 'EOF' when expecting ',' src\Sample.d(146): expression expected, not 'EOF' Would some like to show me how this is done?? -- Matthew Ong email: on...@yahoo.com

Any application shutdown hooks?

2011-05-25 Thread Matthew Ong
#public void addShutdownHook(Thread hook) How do code or what library to use? can someone please provide a simple working D example for try out. Of cause, in Even in Java there is event if some cleaning lady were to accidentally unplug the main socket of your server. :) -- Matthew Ong email

Re: Any example of using these Special Tokens?

2011-05-25 Thread Matthew Ong
On 5/25/2011 5:45 PM, bearophile wrote: Matthew Ong: I am not able make use of these 3 special tokens to print something. writefln(gshared: %s,__gshared); writefln(thread: %s,__thread); writefln(traits: %s,__traits); They are keywords, so it's like writing: writefln(traits: %s

Re: Any application shutdown hooks?

2011-05-25 Thread Matthew Ong
, or # The virtual machine is terminated in response to a user interrupt, such as typing ^C, or a system-wide event, such as user logoff or system shutdown. -- Matthew Ong email: on...@yahoo.com

Re: Any application shutdown hooks?

2011-05-25 Thread Matthew Ong
will test that out. -- Matthew Ong email: on...@yahoo.com

Re: Any application shutdown hooks?

2011-05-25 Thread Matthew Ong
commits change a static dtor to a shared static dtor and wondered what was that all about.. Thanks a lot for the all the comments and instructions shown here. -- Matthew Ong email: on...@yahoo.com

Re: Why does D suck so bad?

2011-05-24 Thread Matthew Ong
to mimic some feature from within that family group. C/C++ is in school, OS, Hardware TGINC(Thank God is NOT Cobol) Or many more developers will have figures injuries... -- Matthew Ong email: on...@yahoo.com

What are the reasons for this syntax??

2011-05-24 Thread Matthew Ong
java.io.InputStream.InputStream.mark mark; 13 alias java.io.InputStream.InputStream.reset reset; 14 alias java.io.InputStream.InputStream.markSupported markSupported; Thanks very much. -- Matthew Ong email: on...@yahoo.com

Re: Should binary sharing be done using Mixin Template?

2011-05-23 Thread Matthew Ong
presentation in this URL, just watch part of it this morning. http://video.google.com/videoplay?docid=-7073020265668105471 The compiler does has more information about typed being compiled like in the foreach loop compare to linker that has to do some guessing. Just an suggestion. -- Matthew Ong email

Should Exception handling be declarative like in JSP?

2011-05-23 Thread Matthew Ong
?? -- Matthew Ong email: on...@yahoo.com

Re: Some help on Mixin Template at Class level.

2011-05-23 Thread Matthew Ong
On 5/23/2011 2:17 AM, Simen Kjaeraas wrote: On Sat, 21 May 2011 11:40:22 +0200, Matthew Ong on...@yahoo.com wrote: Using your code I have this error: src\Sample.d(16): Error: undefined identifier btype, did you mean template AType(string name,U,alias V)? src\Sample.d(16): Error: mixin AType

Re: How to interface with existing Java Code at the API level.

2011-05-23 Thread Matthew Ong
On 5/21/2011 11:27 PM, Robert Clipsham wrote: On 21/05/2011 09:58, Jonathan M Davis wrote: On 2011-05-21 01:04, Matthew Ong wrote: Hi, D has major potential to replace C/C++ at the system API level. What I can see D is doing now is trying to glue to the existing C API instead of replacing

Not true for Java about Function Hijacking.

2011-05-23 Thread Matthew Ong
confusing the new Java to D developer. There are also other run time intelligent build into JVM to avoid malicious hacker attack on such thing using class proxy stub. -- Matthew Ong email: on...@yahoo.com

Extra Cool D NEWbie ( from java)

2011-05-23 Thread Matthew Ong
language. Who is the kind soul that did this??? -- Matthew Ong email: on...@yahoo.com

Re: How to break module into multiple file.

2011-05-23 Thread Matthew Ong
On 5/23/2011 3:58 PM, Timon Gehr wrote: On 2011-05-23 00:09, Matthew Ong wrote: Thanks everyone that gave some working model to a newbie from Java Space. I found the working file layout model from dwt2 http://hg.dsource.org/projects/dwt2 There is a dwt2\base\src Haha. That is exactly like

Should binary sharing be done using Mixin Template?

2011-05-21 Thread Matthew Ong
to be closer even to the dynamic ability of VM but without the extra over head. Can someone really say why this is a bad bad idea for memory with some automated plumbing being done like in ActiveX/Com/DCOM. -- Matthew Ong email: on...@yahoo.com

Re: How to 'add' functions to existing type/class/struct/interface...

2011-05-21 Thread Matthew Ong
be define within the LIB or introduced as new functions outside the library. 3) using some form of function pointer to call those static functions. -- Matthew Ong email: on...@yahoo.com

Re: How to print unicode like: こ ん に ち は 世界

2011-05-21 Thread Matthew Ong
){ // some code }version(Chinese_MainLand){ // some other code }version(Chinese_HongKong){ // yet another code }...etc I have originally plan to send an attached screen shot but it is not working for the newsgroup. Perhaps someone can show me how to do that here. -- Matthew Ong email

Re: How to print unicode like: こ ん に ち は 世界

2011-05-21 Thread Matthew Ong
On 5/21/2011 2:46 PM, Matthew Ong wrote: On 5/20/2011 2:55 PM, Russel Winder wrote: On Thu, 2011-05-19 at 22:37 +0200, Andrej Mitrovic wrote: [ . . . ] You would also need a Unicode-aware font, maybe Lucida or something similar. Typically fixed-point fonts used for programming have little

Re: How to break module into multiple file.

2011-05-21 Thread Matthew Ong
to be seriously look into. -- Matthew Ong email: on...@yahoo.com

How to interface with existing Java Code at the API level.

2011-05-21 Thread Matthew Ong
see, as a starting show case project. https://github.com/wmeissner/jffi -- Matthew Ong email: on...@yahoo.com

Some help on Mixin Template at Class level.

2011-05-21 Thread Matthew Ong
: -odbin -ofbin\TestTemplate.exe -Isrc src\Sample.d src\Sample.d(20): Error: undefined identifier ClassB, did you mean class ClassC? src\Sample.d(20): Error: ClassB is used as a type Thanks very much for helping out. -- Matthew Ong email: on...@yahoo.com

Re: Some help on Mixin Template at Class level.

2011-05-21 Thread Matthew Ong
On 5/21/2011 5:12 PM, Simen Kjaeraas wrote: On Sat, 21 May 2011 10:54:54 +0200, Matthew Ong on...@yahoo.com wrote: mixin template AType(alias T, U, alias V){ class T : ClassC { // Class level Template This gives you a class called T. You seem to want it to have the name you pass as a string

Re: Can someone explain how mixin is implemented?

2011-05-19 Thread Matthew Ong
On 5/19/2011 1:23 AM, Jesse Phillips wrote: Matthew Ong Wrote: Perhaps I am missing something here. How can class level definition be part of the mixin? Does mixin generate the same binary code as #define as inline code,which meant that same binary is repeated everywhere that macro is used

Re: Can someone explain how mixin is implemented?

2011-05-19 Thread Matthew Ong
On 5/19/2011 9:18 PM, Matthew Ong wrote: On 5/19/2011 1:23 AM, Jesse Phillips wrote: Matthew Ong Wrote: Perhaps I am missing something here. How can class level definition be part of the mixin? Does mixin generate the same binary code as #define as inline code,which meant that same binary

Re: How to break module into multiple file.

2011-05-19 Thread Matthew Ong
because linking is done during runtime by Class Loader. I wonder the loader in D for DLL is as intelligent. -- Matthew Ong email: on...@yahoo.com

Re: Can someone explain how mixin is implemented?

2011-05-19 Thread Matthew Ong
On 5/19/2011 10:02 PM, Steven Schveighoffer wrote: On Thu, 19 May 2011 09:43:14 -0400, Matthew Ong on...@yahoo.com wrote: According to Jonathan, In the case of template mixins, you're essentially copying and pasting code. Yes. Liked what you said, with optimization at compiled time. I am

Re: How To Dynamic Web Rendering?

2011-05-19 Thread Matthew Ong
it is a well know security concern published and accepted as minimum by the industry for MNC. -- Matthew Ong email: on...@yahoo.com

How to 'add' functions to existing type/class/struct/interface...

2011-05-19 Thread Matthew Ong
reusing rather than code 'injection'. Perhaps that is not the case within D as a limitation. Some code example would be really useful. -- Matthew Ong email: on...@yahoo.com

How to print unicode like: #12371; #12435; #12395; #12385; #12399; #19990; #30028;

2011-05-19 Thread Matthew Ong
believe UTF-X is handles that. How to do that within D? Yes. I am still new to D. No. I am not japanese but chinese. Matthew Ong

Re: How to print unicode like: #12371; #12435; #12395; #12385; #12399; #19990; #30028;

2011-05-19 Thread Matthew Ong
AH... The web encoder corrupted the string. into NON human readable.

Re: Some features should NOT include from GO/Java.

2011-05-18 Thread Matthew Ong
On 5/16/2011 10:37 PM, Matthew Ong wrote: Hi All, The reason I am starting this thread is to gather some valid/experience that people do not like about using Go or even Java. Naturally D-programming might not wants to repeat the same error. Java: 1) Swing API --- The inheritance tree is too

Can someone explain how mixin is implemented?

2011-05-18 Thread Matthew Ong
it is the same typed T?? -- Matthew Ong email: on...@yahoo.com

Re: How to break module into multiple file.

2011-05-18 Thread Matthew Ong
with Subversion / CVS for this team? -- Matthew Ong email: on...@yahoo.com

Re: Can someone explain how mixin is implemented?

2011-05-18 Thread Matthew Ong
have any idea? because the results is in dll/exe I cannot really tell. But someone that knows how the compiler works should be able to. -- Matthew Ong email: on...@yahoo.com

Re: Multi typed value return.

2011-05-16 Thread Matthew Ong
On 5/13/2011 12:47 AM, bearophile wrote: Matthew Ong: Any plan to support this really cool feature of Multiple type return value? Multiple return values is a very handy feature, I use it quite often in Python. It makes the code more natural and readable, and avoids some troubles given by out

Re: Making D Lang More easy.

2011-05-16 Thread Matthew Ong
On 5/12/2011 11:17 PM, Jonathan M Davis wrote: On 2011-05-12 04:01, Matthew Ong wrote: Hi Mafi, Thanks very much for the response in earlier post about the solid class. just FYI: import java.util.ArrayList; // can be written as import std.container : SList; The syntax is valid for importing

Re: Making D Lang More easy.

2011-05-16 Thread Matthew Ong
exactly what it says, you might want to remove that to be safe. You could easily make a key shortcut to invoke such a script, as long as you can get the name of the currently opened file in whatever IDE you're using. Hi Andrej, Thanks very much. -- Matthew Ong email: on...@yahoo.com

Re: Making D Lang More easy.

2011-05-16 Thread Matthew Ong
to others kind of syntax. foo(); // C.foo() is called, it is found before imports are searched bar(); // A.bar() is called, since imports are searched } -- Matthew Ong email: on...@yahoo.com

Re: Comparing double and float values

2011-05-16 Thread Matthew Ong
solved this before. -- Matthew Ong email: on...@yahoo.com

Re: reddit discussion about Go turns to D again

2011-05-16 Thread Matthew Ong
well written tutorial. This needs fixing, badly. But it is much work... 3. The reference compiler is somewhat buggy. But after seeing the changelog for 2.053 I am optimistic this will change very soon. Timon -- Matthew Ong email: on...@yahoo.com

Re: reddit discussion about Go turns to D again

2011-05-16 Thread Matthew Ong
? Matthew Ong on...@yahoo.com

Re: reddit discussion about Go turns to D again

2011-05-16 Thread Matthew Ong
Hi Walter, alias is indeed a very very useful feature in D. It make string easy and well define. Just need some Auto Documentation search-able tool for new developer to help them find. As for now, I am using grepwin to help figure things out. Matthew Ong

Re: Builtin regex (Was: How to complex switch?)

2011-05-16 Thread Matthew Ong
Hi, Seems like some people also had the same idea about D supporting more complex switch syntax and given more interesting reasons. Perhaps can be consider for D 3.0 or ... I am new here, please understand, but wish to see D take off because I do see some nice syntax in D.

Some features should NOT include from GO/Java.

2011-05-16 Thread Matthew Ong
routing of error message filtering for both language like in the JSP. JSP. Over all, those are modeling issues that I do see. Matthew Ong on...@yahoo.com

Re: Making D Lang More easy.

2011-05-16 Thread Matthew Ong
when using JITs. Not quite sure which one you are refering to. -- Matthew Ong email: on...@yahoo.com

Re: Making D Lang More easy.

2011-05-15 Thread Matthew Ong
Hi All that help and provided good working instructions, The ugly build trail is due to the D-IDE setting problem in windows vista. The eclipse version that Mafi shown is working fine now and able to allow me to specify -lib option. The importing issue is due to the manner that D can only allow

Re: Making D Lang More easy.

2011-05-12 Thread Matthew Ong
@Jesse Phililps, Your points have been covered by others, but in general they are a little confusing. You're making statements about things that just aren't true or shouldn't be true for D. I'm going to request you try and elaborate what you mean. And recap some information. That might be for

Re: Making D Lang More easy.

2011-05-12 Thread Matthew Ong
AH The past few post that I updated with png file is not shown. I suspected the web news group is not working that smooth.

Re: Comparing double and float values

2011-05-12 Thread Matthew Ong
and percentage computation, that seems to be rather important. Thanks in advance. Matthew Ong

Re: Making D Lang More easy.

2011-05-12 Thread Matthew Ong
Hi Vladimir, Thanks for the response. It was helpful. IIRC, Descent (D Eclipse plugin) has a decent code formatter. Uncrustify ( http://uncrustify.sourceforge.net/ ) supports D. There is not much documentation. How do u include that into an IDE? Do u use D-IDE or others. Currently I use D-IDE

  1   2   >