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

New words: dynamically typed language #19

Open
1 task
Cleop opened this issue Mar 7, 2019 · 2 comments
Open
1 task

New words: dynamically typed language #19

Cleop opened this issue Mar 7, 2019 · 2 comments
Assignees

Comments

@Cleop
Copy link
Member

Cleop commented Mar 7, 2019

  • add definition for new words: dynamically typed language
@Cleop Cleop self-assigned this Mar 8, 2019
@Cleop
Copy link
Member Author

Cleop commented Mar 8, 2019

https://stackoverflow.com/questions/1517582/what-is-the-difference-between-statically-typed-and-dynamically-typed-languages

A language is statically typed if the type of a variable is known at compile time. For some languages this means that you as the programmer must specify what type each variable is
advantage here is that all kinds of checking can be done by the compiler, and therefore a lot of trivial bugs are caught at a very early stage
int a; - a can take only integer type values at runtime

A language is dynamically typed if the type is associated with run-time values, and not named variables/fields/etc. E.g. JavaScript
var a; - a can take any kind of values at runtime

To determine:

  • differences between runtime and compile time

https://hackernoon.com/statically-typed-vs-dynamically-typed-languages-e4778e1ca55
https://www.technotification.com/2018/09/static-vs-dynamic-typed-programming-languages.html

@iteles
Copy link
Member

iteles commented Mar 8, 2019

*dynamically rather than dynamic 😊

@Cleop Cleop changed the title New words: dynamic typed language New words: dynamically typed language Mar 8, 2019
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

2 participants