About 20,600 results
Open links in new tab
  1. terminology - What does it mean when data is scalar? - Software ...

    May 6, 2014 · 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. Recommended generic approach to checking scalar field presence in ...

    May 29, 2023 · 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.

  3. Paradigm for handling list of things or single elements

    Sep 5, 2017 · @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 …

  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 …

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

    Aug 6, 2017 · 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 …

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

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

  7. matlab - Plotting electrical field lines on a 2d plane - Software ...

    May 5, 2015 · This question is ambiguously defined. Electrical field lines (as referenced in the title) are not the same as equipotential lines. Specifically the electric field E followed by electric field lines is …

  8. c++ - Passing parameters that need to be copied by value or const ...

    Dec 16, 2014 · @rwong: using "const reference" for function parameters in C++ is not more or less idiomatic than just passing parameters by value. It is typically (but not exclusively) used for passing …

  9. What is a term for a function that when called repeatedly, has the same ...

    Mar 4, 2019 · This type of function / operation is called Idempotent Idempotence (UK: /ˌɪdɛmˈpoʊtəns/, [1] US: /ˌaɪdəm-/) [2] is the property of certain operations in mathematics and computer science …

  10. microservices - Aggregating responses from several services with ...

    Feb 14, 2023 · In a microservices architecture, the responsibility of data aggregation should ideally be with a dedicated service that is responsible for aggregating data from different microservices or the …