Giter Site home page Giter Site logo

Design Question: Scalars about checkmate HOT 3 CLOSED

mllg avatar mllg commented on August 17, 2024
Design Question: Scalars

from checkmate.

Comments (3)

berndbischl avatar berndbischl commented on August 17, 2024

Acutally forget about "inconsisent design".

Simply this should be addressed:

  • Bounds must be checkable for numbers / ints
  • We need a scalar integerish, which is not a count.
  • complex scalar is missing (?) (I dont care about this)

from checkmate.

mllg avatar mllg commented on August 17, 2024

We need a scalar integerish, which is not a count.

Suggestions for a short name?

from checkmate.

berndbischl avatar berndbischl commented on August 17, 2024

It's hard, because "assertInteger" means the vector.

We can talk about this in person, if you want. Problem might be that there is no "shorthand signifier" in the name that expresses "vector" or "scalar." And I am really not sure what is best.

Nevertheless how do you like this:

  • assertLong
  • assertWord
  • assertDWord
  • assertDoubleWord

http://en.wikipedia.org/wiki/Integer_(computer_science)

Each of these names is suboptimal for a different reason though, I just dont know anything else...
Also it does not express "integerish...."

Let's talk, I can really not express what I what to say in writing here.

from checkmate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.