Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 63 total
Thread New language features
Fri, Jun 8 2018 3:20 AMPermanent Link

ooptimum

Mr. Young, 6 years back you mentioned that you think about introducing interfaces along with anonymous functions and generics in an upcoming 2nd generation of the compiler. https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=390#390 What's the current status of this? Is it abandoned completely or maybe there are some chances that they will be introduced someday?

I just beginning to learn EWB and don't know yet maybe there already is some way to implement something like anonymous (or lambda) functions?

What is a "reference" feature of a property?
Here is an example from webctrls.wbs:
property DataSet: TDataSet read FDataSet write SetDataSet
   description 'Specifies the dataset that the control is bound to'
   reference;
Tue, Jun 12 2018 2:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< 6 years back you mentioned that you think about introducing interfaces along with anonymous functions and generics in an upcoming 2nd generation of the compiler. https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=390#390 What's the current status of this? Is it
abandoned completely or maybe there are some chances that they will be introduced someday? >>

Due to the fact that I'm managing and supporting 3 different products, it just takes a while for me to get new major features out.  There are certain weeks where I'm lucky to get 1-2 days where I can get some actual product work done, and am not dealing with support requests the entire day.  It isn't uncommon to have 8 or more support emails waiting for me in the morning, and those can take until mid-afternoon (or longer) to investigate and resolve them all.  New releases/builds can take an entire day or more to complete, especially if there are documentation changes and tests need to be added.  So, unless I work 12 hours a day by doing an extra 4-5 hours of development in the evening, I have to make adjustments somewhere, and it typically means that new features are much, much later than expected.  For example, I should be working on EWB 3 this week, but I haven't had a moment available yet to do any actual work on it, nor have I had any chance to work on EWB 3 for the last 2 weeks, due to support.

<< I just beginning to learn EWB and don't know yet maybe there already is some way to implement something
like anonymous (or lambda) functions? >>

Not at this time, no.  You need to use named functions/methods to do what you want.

<< What is a "reference" feature of a property? >>

It tells the IDE and design-time environment that the property is, effectively, a weak reference as opposed to an owned reference.  The IDE uses this information to know that it needs to perform a fix-up on the reference after all forms/databases are loaded for the project.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jun 13 2018 4:10 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> and resolve them all

That workload might sound a negative, but I actually think it gives us all a much more solid product. As one who has contributed to this workload, with what are perhaps obscure cases where the EWB compiler has some issue, I've found that the result is a much more solid and capable system able to cope with amazing complexity. So we are all benefiting, even if the new features aren't as fast as we might like. And of course it great to have someone who responds to our real issues and doesn't step away. Keep up the great work Tim!

--

Matthew Jones
Wed, Jun 13 2018 5:05 AMPermanent Link

Steve Gill

Avatar

Thanks for all your hard work Tim.

= Steve
Wed, Jun 13 2018 8:56 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

+1


Den 13-06-2018 kl. 10:10 skrev Matthew Jones:
> Tim Young [Elevate Software] wrote:
>
>> and resolve them all
> That workload might sound a negative, but I actually think it gives us all a much more solid product. As one who has contributed to this workload, with what are perhaps obscure cases where the EWB compiler has some issue, I've found that the result is a much more solid and capable system able to cope with amazing complexity. So we are all benefiting, even if the new features aren't as fast as we might like. And of course it great to have someone who responds to our real issues and doesn't step away. Keep up the great work Tim!
>
Wed, Jun 13 2018 12:45 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Reading my post again, I can see that it might come across as being a bit harsh, and I certainly didn't mean it to sound like complaining.  My apologies to everyone for the tone, especially the OP.

I'm at the tail end of a run of support issues that have taken an inordinate amount of time, and it really is tough to not get any chance to work on new features because it makes it seem like the products are stagnant.  It's also especially tough as summer rolls in because I try very hard to not neglect social time with the family and friends during the summer months.

Thanks for the nice comments, and we *do* realize that everyone appreciates us - we see it year after year with the continued investments in Elevate Software.  It *really* means a lot to us.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jun 14 2018 3:21 AMPermanent Link

Mark Brooks

Slikware

Avatar

Whilst I'm staggeringly excited to get the first look at EWB3 (because it's potentially such a game-changer) I think we all know that reliability, above and beyond everything else, is what makes solutions successful. Given the very significant number of lines of EWB that I've now written and the (also significant) size and scale of customers using these solutions, I can honestly say that it's the most robust and best-supported development platform that I've ever used .... and I've used a few. So don't feel bad Tim. Just continue to give us reliability and innovation in a well-apportioned manner Smile

And by the way, can we get EWB3 next week ...................
Fri, Jun 15 2018 1:47 PMPermanent Link

ooptimum

Mr. Young, I am not a native English speaking one and I certainly don't feel yet all nuances of the language. If I was rude it was unintentionally and I beg your pardon. I appreciate your efforts for making a reliable product to all us. However, everything you write raises concerns for the fate of projects that depend on one person.

As for anonymous (lambda-, arrow- etc.) functions, they are perfectly fit correspondent javascript entities, so it shouldn't be hard for transpiler to translate them. Furthermore, they're very useful things, especially as callbacks (event handlers etc.), and they do already exist in other pascal-to-javascript transpiler product, so it's obviously possible. I really hope that someday you will implement them too.
Sun, Jun 17 2018 9:21 PMPermanent Link

erickengelke

ooptimum wrote:

> As for anonymous (lambda-, arrow- etc.) functions, they are perfectly fit correspondent javascript entities, so it >shouldn't be hard for transpiler to translate them. Furthermore, they're very useful things, especially as callbacks
>(event handlers etc.), and they do already exist in other pascal-to-javascript transpiler product, so it's obviously
> possible. I really hope that someday you will implement them too.

I'm not a big fan of Lambas, I think they make code much less readable.

While it feels like a pain to create named functions, trust me, I've done many, one of their benefits is that they are less error-prone because you can concentrate on them rather than as a subclause, like this comment in this run-on sentence.

Also, the variable inheritance of Lambas can be confusing and lead to coding errors.

Reading someone else's code with Lamdas, or yours 2 months after you wrote it... not pleasant IMO.

I realize others may disagree, this is just my recommendation.

Erick
EWB Programming Books and Component Library
http://www.erickengelke.com
Mon, Jun 18 2018 3:54 AMPermanent Link

Matthew Jones

erickengelke wrote:

> I'm not a big fan of Lambas, I think they make code much less readable.
>
> While it feels like a pain to create named functions, trust me, I've done many, one of their benefits is that they are less error-prone because you can concentrate on them rather than as a subclause, like this comment in this run-on sentence.

I think I agree - while there are some nice things about them, ideally for mini functions doing one small thing over a collection or something, for events they are very nice when you can specify a member function etc. Or pass in a variable to choose which function of several is called. Or use the same function multiple times for other things. Or have alternatives for different product versions.

But mainly they look ugly, with a function "accidentally pasted into the code" which can confuse.

So while they'd be handy, they are not a failing at the moment - as with most things EWB, if it isn't there, there is a way to do it anyway.

--

Matthew Jones
Page 1 of 7Next Page
Jump to Page:  1 2 3 4 5 6 7
Image