Skip to main content

Questions tagged [semantics]

7 votes
1 answer
221 views

For example, which term completes the sentence "p has 5 ____" in order to describe a situation like int *****p?
vim_overlord's user avatar
106 votes
11 answers
27k views

Is it an anti-pattern or code smell to put "general use" functions (examples below) into a catch-all file named "helpers" or "utils"? It's a pattern I've seen quite a lot ...
old greg's user avatar
  • 959
0 votes
1 answer
233 views

https://en.wikipedia.org/wiki/Execution_model says A programming language consists of a grammar/syntax plus an execution model. The execution model specifies the behavior of elements of the language. ...
Tim's user avatar
  • 5,565
-3 votes
4 answers
159 views

In the Xamarin.Essentials library there is a Location class that comes with a DateTimeOffset TimeStamp. I know I'm being pedantic and I should just move on - I know it's to indicate a location of the ...
Scott Baker's user avatar
1 vote
1 answer
177 views

In most contexts, the concept of "interpolation" seems to be related to estimating unknown states from known ones, like video frames or data points. From the Wikipedia entry on interpolation:...
NPN328's user avatar
  • 218
3 votes
1 answer
121 views

Suppose I'm writing C or C++ code which deals with... ok, let's make it citizens in a state. In this state, citizens have numeric id's (not strings - numbers); and for reasons of performance, or ...
einpoklum's user avatar
  • 2,808
3 votes
4 answers
1k views

There is a feature that is now deprecated and going to be removed. Adding a logging statement, observed by some alerting mechanism, can help finding out whether the feature is still being actively ...
Glutexo's user avatar
  • 147
1 vote
1 answer
88 views

I am having trouble finding a lexicon which provides terminology for the explicit patterns that are employed when parsing syntax. I am trying to write about the niggling differences between the 10+ ...
Darf Nader's user avatar
4 votes
1 answer
5k views

I am working in a system which only supports 32bit integers, in order to have a 64bit (unsigned) integer I decided to simply use two 32bit integers with one being the upper 32 bits (hi), and the other ...
Prime's user avatar
  • 143
4 votes
2 answers
2k views

I am trying to switch to semantic commit messages for project. While the idea is good, sometimes I find it is difficult to properly categorize changes like a configuration value change. If I commit a ...
Joyce Babu's user avatar
3 votes
2 answers
182 views

There are a number of CSS frameworks that have a one-to-one correspondence between many of the classes and a single style. For example, in basscss ".inline-block" is defined as "display: inline-block;...
James K's user avatar
  • 41
2 votes
3 answers
711 views

I am reading more about the differences between syntax and semantics, but I am still wondering about this one. Let's assume that we have a language that only allows integers to be in the range of 0-...
Joan Vene's user avatar
2 votes
1 answer
314 views

I have recently come across the terms migration pattern and refactoring on the topic of migrating monoliths to microservices. Is there any real difference between the two terms, or can they be used ...
João Pinto's user avatar
2 votes
3 answers
721 views

Sometime ago in a code-review (C++) I suggested to change the input argument from Path type to Optional<Path>, where the function has specific logic for unset path. It looks for me intuitively ...
abyss.7's user avatar
  • 145
8 votes
5 answers
4k views

Let's say I have an application that works around departments and employees. Each department has a set of rules that defines which employee is assigned to each department. For instance the system will ...
masber's user avatar
  • 327

15 30 50 per page
1
2 3 4 5 6