約 50 件の結果
リンクを新しいタブで開く
  1. terminology - What does it mean when data is scalar? - Software ...

    2014年5月6日 · The term "scalar" comes from linear algebra, where it is used to differentiate a single number from a vector or matrix. The meaning in computing is similar. It distinguishes a single value …

  2. What are the "scalar fields" and "composite fields" in JAVA?

    2019年7月11日 · The terms 'scalar type' or 'scalar field' are usually used to contrast them with compound types/fields. A compound type is easiest to define and it is a type that contains multiple …

  3. Recommended generic approach to checking scalar field presence in ...

    2023年5月29日 · There are several questions related to presence field tracking of scalar fields in protobuf 3, but I didn't find any with generic default approach recommendation.

  4. What is meant by a primitive data type?

    It kind of depends on the language. For example, in languages like C and C++, you have a number of built-in scalar types - int, float, double, char, etc. These are "primitive" in the sense that they cannot be …

  5. Paradigm for handling list of things or single elements

    2017年9月5日 · @KilianFoth: I don't think this applies here. "Composite design pattern" would require to wrap the passed parameter in an additional class hierarchy, but additional wrappers is exactly what …

  6. Why do heavily object-oriented languages avoid having functions as a ...

    2022年10月2日 · In contrast, true object-oriented languages (Smalltalk, Ruby, Scalar, Eiffel, Emerald, Self, Raku) treat everything as an object which responds to methods. Everything.

  7. Why exactly does Java not allow numeric conditionals like if(5 ...

    2017年5月12日 · 0 Well, every scalar type in C, pointer, boolean (since C99), number (floating-point or not) and enumeration (due to direct mapping to numbers) has a "natural" falsey value, so that's good …

  8. c++ - If you follow the rule of Zero, how will you debug the ...

    2017年11月28日 · Most noticeable is if the destructor is called as part of a deletion on dynamic memory (delete). In the disassembly, one will see an actual function call to an address associated with …

  9. Strategy for storing mixed value and reference types without boxing

    2014年9月21日 · In C++ this could be an array of union of scalar and pointer types, but that strategy is unavailable (or at least highly unsafe) in .NET. This is a place where I really don't need a GC (object …

  10. data structures - How to represent a set in JSON? - Software ...

    2017年8月6日 · JSON supports the following data structures (Java equivalents): Scalar, Array/List, and Map. A Set is not supported out-of-the-box in JSON. I thought about several ways to represent a set in …