I want to create an open data format… but I don’t really know what that is
I have found a need for a standardization for storage and recording of data relating to diabetes information (I don’t think there’s any, but I may have missed it).
Java default Integer value is int
My code looks like this
Why does Java not do type inference?
I have always wondered why Java does not do type inference given that the language is what it is, and its VM is very mature. Google’s Go is an example of a language with excellent type inference and it reduces the amount of typing one has to do. Is there any special reason behind this feature not being a part of Java?
Why many programming languages have only 2 data-structures: arrays and hashes?
Many programming languages have only those 2 structures, and even some languages that have more structures still only provide special syntax for those 2; usually, []
and {}
. Why is this? Is there anything special about those datatypes that is necessary for the completeness of the language?
Boolean-Integer Typecasting to Replace Conditional [closed]
Closed 9 years ago.
Would it make sense to use objects (instead of primitive types) for everything in C++?
During a recent project I’ve been working on, I’ve had to use a lot of functions that kind of look like this:
Should I put the datatype of a class attribute in its name?
Most of my system’s class attributes are just text, but in this case it makes more sense to place this particular class’s attributes into one single hash (from a “keep the source code pretty” aspect). Basically, a list of attributes is returned, and instead of writing a bunch of static attributes for each one, I just loop over them and collect them into a hash.
Assert equality in mstest when types may differ
I’ve been working on some MSTest automated test infrastructure, that is testing a tool that merges data sets into SQL Server database tables. The basic structure of the test is to:
Assert equality in mstest when types may differ
I’ve been working on some MSTest automated test infrastructure, that is testing a tool that merges data sets into SQL Server database tables. The basic structure of the test is to:
What are and how do (data-) types work?
What is a “variable”/data type? How does a compiler / interpreter handle types? My specific concern has to do with the different types in lower and higher level languages. For instance in Python, as list is really flexible. You can just define it and put in at runtime whatever you want. ints floats strings sets […]