Questions tagged [concepts]
Concept programming is a programming paradigm focusing on how concepts, that live in the programmer's head, translate into representations that are found in the code space.
121 questions
0 votes
2 answers
106 views
How-to concept: Recognize features of an image and draw against
Might be silly, but I'm looking for a way to programmatically enrich images of vehicles with some technical, length measurements. Images will always: have a white background have the same angle (side ...
1 vote
2 answers
124 views
How a VPS processes an incoming packet (conceptually)
I'm interested in understanding, conceptually (e.g., similar to how many of the concepts in networking are explained in textbooks like Tanenbaum's Computer Networks, or Kurose's Computer Networking), ...
2 votes
2 answers
222 views
If an object x is an instance of a type T, then what is a type T for a concept C?
In concept-based programming (as in C++ concepts), I am wondering if there is a noun to say that: A type T is an XXXX of a concept C. in the same way we can say that: An object x is an instance of ...
-2 votes
2 answers
196 views
Automatic deployment concept for remote iot devices
I am working on a relatively large project that could include +1000 iot devices, in this case probably a Raspberry Pi. So far I only experimented with ~ 20 - 30 devices but the concept should be the ...
1 vote
2 answers
456 views
What's an abstraction?
I know this is a very basic topic, but I'm curious why an abstraction in programming is always defined as a simplification/hiding of some functionality. Let's say I wrote a set of functions that let ...
1 vote
1 answer
149 views
Can I use singleton in a Flyweight factory and still be a valid GoF implementation?
For teaching purposes, I am trying to create a "something useful" example of Flyweight pattern using PHP. My idea was load some "intrinsic" data from a csv (link) to a pool and ...
2 votes
2 answers
3k views
Builder Pattern: Is it acceptable to use "passing-by-reference" on Director methods?
For teaching purposes, I am trying to create a PHP implementation of a conceptual example of Builder Pattern: First of all, some products: class Product1 { private string $attribute1; ...
2 votes
1 answer
317 views
Big-O Notation and Calculus [closed]
I was wondering if there are any calculus relationships implicit in Big-O notation. For example, an algorithm linear according to Big-O notation reduces the size of the problem by a constant amount ...