Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define (or link for?) the phrase "design time"? #37

Open
darrencruse opened this issue Sep 22, 2015 · 5 comments
Open

define (or link for?) the phrase "design time"? #37

darrencruse opened this issue Sep 22, 2015 · 5 comments

Comments

@darrencruse
Copy link

I hope I'm not sounding like a total idiot (maybe it's a common term I haven't heard of?) but I confess I was thrown by "design time" in the very first sentence:

"Decorators make it possible to annotate and modify classes and properties at design time."

Maybe the doc could provide a definition/link/footnote for what "design time" refers to?

(I googled but didn't find one)

It sounds like it's meant in the spirit of "run-time" versus "compile-time" - so for a moment I wondered if it was saying this was going to define code that's actually run by an IDE or something but reading the whole thing I see the decorators are run at run-time and (if I'm following) on the first pass through the code when properties on the class object's prototypes are setup.

So I guess "design time" is referring to this "first-pass" over declarations at the beginning of "run-time"?

Is this a common term in the javascript world now I wonder? (googling it looks like maybe it's used more with Typescript maybe that's why it threw me I'm not a Typescripter :).

@yuchi
Copy link

yuchi commented Sep 22, 2015

Design time means roughly ‘when the developer writes and declares the classes/objects/interfaces’ and therefore means that it's something that must be both human and machine readable. AFAIK.

@darrencruse
Copy link
Author

I'd been working on a lisp transpiler a lot recently. Maybe that's why "design time" had me thinking like "compile time"/"run time" (a big deal with lisp macros).

I guess thinking on those terms is what threw me a little...

@yuchi so the way you explained it, "design time" seems roughly a synonym for being "declarative"?

@yuchi
Copy link

yuchi commented Sep 24, 2015

I infer it is.

@silkentrance
Copy link

@darrencruse In Javascript, just as in Python, design time is basically also runtime. WIth the exception that in Javascript, babel that is, the use of decorators is enforced by the transpiler and limited to only classes and fields thereof.

@guiprav
Copy link

guiprav commented Dec 6, 2017

Still unclear what design-time means, even though I'm seeing it in many places. Wishing for an authoritative reference that precisely explains it :) I've even tried to look for references specific to Python, but no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants