Top "Variable-types" questions

Should I use int or Int32

In C#, int and Int32 are the same thing, but I've read a number of times that int is preferred …

c# variable-types
How can I check if a var is a string in JavaScript?

How can I check if a var is a string in JavaScript? I've tried this and it doesn't work... var …

javascript string variable-types
Declaring Variable Types in PHP?

I was trying to get my Netbeans to autocomplete with PHP, and I learned that this code is valid in …

php variable-types
Declaring multiple TypeScript variables with the same type

I'm coding a large TypeScript class and I've set noImplicitAny to true. Is there any way to declare multiple variables …

typescript types variable-types
Type hinting for properties in PHP 7?

Does php 7 support type hinting for class properties? I mean, not just for setters/getters but for the property itself. …

php attributes php-7 type-hinting variable-types
Enabling 'strict_types' globally in PHP 7

I'm currently migrating my website from PHP5 to PHP7, and I've started using the strict typing feature that was added. …

php apache php-7 variable-types
R - Determine if a variable is a string

Is there a way to determine if an R variable is a single string? is.character looked promising, but there …

r string variable-types
Changing variable types after initialization C++

I'm coming from node.js and I was wondering if there is a way to do this in C++. What …

c++ variables variable-types
how do I declare an integer variable of 1024 bits in length?

I'm trying to write an algorithm for a number theory/computer science merged class that can factor large numbers in …

c++ variable-types unsigned-long-long-int
Local Variables, Object references and it's memory allocation

I have the following block of code: class Student{ int age; //instance variable String name; //instance variable public Student() { this.…

java memory-management scope variable-types