BlaiseItUp / kahuna

0 stars 0 forks source link

Data Types #3

Open BlaiseItUp opened 3 years ago

BlaiseItUp commented 3 years ago

In this assignment you will do an exercise, where you will find some of the different datatypes, and how they differ between C# (.net), TSQL, and Javascript...

For C#

For TSQL

For Javascript -

If you need more references, please search the internet as needed.

The comparison

Data Types

When you are finished, create a new comment to this issue, and attach the spreadsheet and tag your trainer using the "@" when typing the comment.

DataTypes.xlsx

ssavely commented 3 years ago

I understand C# variables, but javascript seems to hve more broad variables that later get specified (like with new date getting specified in the '()') and tsql has variables that seem somewhat redunant to me (int vs smallint for instance) DataTypes HW.xlsx

BlaiseItUp commented 3 years ago

@ssavely Partly what you are seeing is the difference in a strongly-typed language and loosely-typed language. Javascript figures out what the type is by what is given to it. It is the same as when we use 'var' in C# instead of typing with string when defining a variable.