Most voted "language-independent" questions
Used for questions about programming that are independent of a particular programming language. Please do not use this tag indiscriminately. Only use when it is important to reinforce this idea.
Learn more…96 questions
Sort by count of
-
7
votes1
answer1023
viewsWhat is a Great Algorithm?
I’m taking classes from Introducing the Analysis of Complexity. I was told that an example of an optimal algorithm is the algorithm for finding the smallest value between elements of an array of…
-
7
votes2
answers191
viewsWhat are the main differences between prototype-oriented programming and class-oriented programming?
After learning a little more about Javascript, I realized that even though I have a building class, classes (in fact, as in C# or Java) do not exist in Javascript. This is nothing more than…
oop classes characteristic-language language-independent prototypeasked 4 years ago Luiz Felipe 32,886 -
6
votes1
answer162
viewsCode-golf - the description is the program
It will be accepted at most a include (or Resources file etc) that is native to the language (which is probably what will make all the interesting part) and the description of the problem shall be…
language-independentasked 10 years, 3 months ago DeMarco 518 -
6
votes1
answer930
viewsHow does the White Box Test work?
I read in this reply user’s utluiz the following description of the White Box Test, see: White box test: when assessing the internal functioning of the software. For example, if certain methods…
-
6
votes1
answer182
viewsAlgorithm O(n log n) to identify contiguous intervals given a range list
I have the following problem: Given a list with n continuous intervals, return a list of m continuous intervals such that: every point of the entry list is contained in any of the intervals of the…
-
6
votes2
answers114
viewsWhat are "fancy words" (fancy words) in programming languages?
First of all, I don’t know if it’s a concept restricted to languages like Typescript or Javascript, so I assume it’s general purpose. I came across the following codes that I will use as an example…
language-independentasked 3 years, 9 months ago Cmte Cardeal 5,299 -
6
votes2
answers156
viewsWhat are the principles of the dependency injection mechanism?
It has been a while since I try to understand the injection mechanism of dependency and its main essence, however, it does not enter my mind, maybe it is by not understanding the fundamentals and…
software-engineering dependency-injection language-independentasked 3 years, 8 months ago gato 22,329 -
5
votes2
answers262
viewsHow secure is my code, with private variables?
class Conta(object): def __init__(self, numero_conta, nome_titular='anonimo'): self.__nome_titular = nome_titular self.__numero_conta = numero_conta self.__saldo = 0.00 def getNomeTitular(self):…
-
5
votes2
answers519
viewsWhat are checked exceptions?
While following a discussion about programming languages, I saw people arguing about checked excpetion each with its arguments for or against. They said that such language implements and such…
-
5
votes1
answer908
viewsWhat is and how does an RTA work?
I recently read some questions about RTA and noticed there are not many explanations about it. Looking a little deeper into this subject I came across some conceptual questions, nothing about…
-
4
votes1
answer1311
viewsHow to create a simple interpreter?
I always wanted to create a language (something simple) for myself but I have no idea how. The question is: How to create a simple interpreter ?
-
4
votes1
answer92
viewsWhy is it possible to open serial ports (COM) on Windows using file functions?
How does this happen? There are other ways to open or just this Digo, in languages like C, PHP, Python, etc.
windows filing-cabinet language-independent serial-portasked 9 years, 1 month ago Guilherme Oliveira 43 -
4
votes1
answer1202
viewsHow to ignore elements escaped in a rule in regular expression?
I’m wanting to do with regex (regular expression), for example (if it’s javascript): var str = '[abc\[0123\]] [efg\[987\]h] [olá \[mundo\]!] [foo [baz]]'; str.match(/\[(.*?)\]/g); Exit:…
-
4
votes1
answer83
viewsWhy is it hard to name things?
Reading this question I came across the following sentence: There are only two hard problems in Computer Science: cache invalidation and naming Things. -- Phil Karlton The focus is on the second…
-
4
votes1
answer68
viewsWhat are dependent types and dependent language?
About what they are statically typed languages I am already aware, but the concept of dependently typed language is new to me. I think it has to do with something called dependent types, but I also…
characteristic-language typing language-independent computer-science type-theoryasked 3 years, 8 months ago Luiz Felipe 32,886 -
4
votes1
answer69
viewsWhy are different types of quotes used in places as error messages?
Eventually I see different quotes (one type of quotes to "open" and another to "close") some message, mainly in error messages. Take, for example, an error message issued by Ruby when evaluating a…
language-independentasked 4 years, 1 month ago Luiz Felipe 32,886 -
4
votes2
answers68
viewsAutomatic null value check versus types like "Option<T>"?
I recently started learning Rust and was introduced to the type Option<T>, representing, through a sum type, the presence or absence of a value (mutually exclusive possibilities). This same…
-
4
votes1
answer81
viewsWhat is list comprehension? Control structure? Loop?
Some languages have a way to create other lists without needing high-order functions like map and filter. This form is called list comprehension, or comprehensilist on. It is common to see list…
-
4
votes2
answers67
viewsIs there practical application in write-only properties?
In object-oriented programming, a property is a member of a class that provides information about the object. That is, properties expose attributes. Properties can also be "write only". An example…
oop characteristic-language software-engineering property language-independentasked 3 years, 5 months ago vinibrsl 19,711 -
4
votes2
answers96
viewsA class is an instance?
Considering the example, one can say that p1 is an instance of Pessoa, which is the class: class Pessoa end p1 = Pessoa.new() # => #<Pessoa:0x00000001268ee528> However, it is not often said…
-
4
votes3
answers100
viewsWhat are the advantages of using a database instead of a JSON file to write data?
Most systems currently use the database feature to record the most diverse types of information, even static information. This leads to the conclusion that a database brings significant…
database modeling software-engineering software-architecture language-independentasked 3 years, 2 months ago user254120 -
3
votes1
answer198
viewsCase or lower case use in UUID
I know that the Standard defines for the UUID that should be indicated with the presence of numbers and lower case letters. RFC-4122 says that: Each field is treated as an integer and has its value…
-
3
votes3
answers199
viewsA mathematical method for knowing how many carrys in a sum
I saw today on URI (website programming problems) a question in which your program should read two values and say how many carrys (or "will one"s) happen in the sum of them. Ex: 555 + 555 = 3 carrys…
-
3
votes1
answer104
viewsIs there any relevant difference between "Object-oriented programming" and "Class-oriented programming"?
I was reading a post that member @Maniero indicated, and I came across a response from another member that raised more questions and decided to search. In the answer was the following phrase:…
-
3
votes2
answers265
viewsWhat is the globally accepted standard in programming languages?
In the Portuguese language in Brazil we use ABNT if we want to elaborate a highly correct and precise text before the norms, and to make itself understood before the words we use the dialectic. In…
-
3
votes1
answer90
viewsWhat are considered operators in the programming language?
I was wondering if a token is considered an operator when performing an action?
characteristic-language operators syntax language-independent tokenasked 5 years, 1 month ago Hyago M. Vale 33 -
3
votes1
answer74
viewsHow does CPU cache performance work?
Recently I discovered that it is possible to get a huge performance when using the CPU cache. An example I saw was a program that reduced its runtime from 10 seconds to 200 milliseconds just using…
-
3
votes1
answer82
viewsWhat are the differences in backend and frontend?
When we use async and await in the backend and frontend ? Is it better? It’s worse? Other related questions: An API, for example in C#, if all methods are async and await, I can say it’s better than…
asynchronous language-independent async-awaitasked 5 years, 1 month ago Samuel Renan Gonçalves Vaz 720 -
3
votes1
answer74
viewsWhat is the meaning of the word Soundness in the context of programming languages?
I always see that term when I’m reading about type systems, I’d like to know: What is its meaning within the context of programming languages? What it means a language has a type system Sound? What…
terminology characteristic-language language-independentasked 4 years, 4 months ago Denis Rudnei de Souza 3,686 -
3
votes1
answer113
viewsIs there any difference between the terms "call", "invoke" or "apply" a function?
I commonly read the term "invoke" or "call for" a function to refer to the action of executing that function. But I may also read the term "apply". In my view, all three of these terms have the same…
terminology language-independent semantics nomenclatureasked 4 years, 1 month ago Luiz Felipe 32,886 -
3
votes1
answer873
viewsWhat is Broken Pipe Error?
What does the Broken Pipe error mean? And also what would be a Pipe in computing? This error has occurred to me several times and in various programming languages even when using some programs like…
-
2
votes1
answer766
viewsExtract image text (OCR)
I wonder if anyone knows any library that can do the image reading and extract what is in it (can be in any language), or give me a north of what I must study to understand and develop something…
-
2
votes2
answers1336
viewsDifferences between a transpilator and a compiler
Lately there has been much talk of the term transpilator (transpiler). However, it does not seem clear to me the difference between transpiler (Babel, for example) for a compiler (Compiler)…
-
2
votes2
answers464
viewsWhat is the specific area and professional that defines the layout of data in files in a software project?
Who and how do you define the layout of data in software such as Editors, Dbms or even who creates text encodings? When I say "data layout", I mean, for example, how a PDF file stores the document…
database filing-cabinet software-engineering language-independentasked 7 years, 5 months ago Carlos 1,622 -
2
votes0
answers52
viewsIn a programming language, are primitive types always first-class citizens?
Is it correct to state that every primitive type is a first-class citizen in a programming language? If not, for what reason? This may vary from language to language?
-
2
votes1
answer140
views"null" is a value or a state in which the property is located?
When checking if a property/variable/object is null(o), are we checking its value or state? For example, if I have the object Quadrilátero with the properties LadoA and LadoB it will not be possible…
-
1
votes0
answers87
viewsImplementation of software license
Searching a few on the forums, I decided to ask this question to see how developers perform a software license. For example, when you develop software, how do you control the use of it to prevent…
-
1
votes1
answer1393
viewsDifference between if and elsif
I know these two terms don’t exist in the same language (correct me if I’m wrong), but in some languages (C#, in the example below), we have the following code: if(condicao){ ... } else if…
-
1
votes1
answer1360
viewsCriteria for choosing language for specific use considering performance
How to determine the most appropriate programming language for a given function? For example, for AI development Python is more efficient than Java.
performance characteristic-language software-architecture language-independentasked 6 years, 8 months ago Rodrigo S Felix 21 -
1
votes1
answer66
viewsAt what point do syntaxes in programming languages become important?
I’m in the mood to discuss the subject of when a syntax of an N programming language becomes important for the production of systems. For example: A language with simple syntax and easy to learn,…
-
1
votes1
answer912
viewsHow much reverse engineering is a crime?
Reverse engineering is the practice of opening a new technology and seeing how it works "under the table" (not necessarily producing some profitable content with this knowledge). But I see, in my…
-
1
votes0
answers35
viewsWhat is the meaning of the term: Thread-Agnostic
What is the meaning of the term: Thread-Agnostic? It is possible to exemplify? NOTE: I checked the use of this term in a Microsoft documentation but this was not clear, Link…
-
0
votes2
answers3807
viewsWhat’s the best language for Restful?
I am a PHP programmer, but I’m having trouble finding useful ways to do REST. And so I’m intending to learn a second language, I already know some, but there may be a better one to do Rest. Please…
-
0
votes0
answers36
viewsFinite automata change not deterministic to deterministic finite automaton
What happens exactly when the transformation algorithm of a Nondeterministic Finite Automaton (NFA) into Deterministic Finite Automaton (DFA) is applied to an automaton that is already…
language-independentasked 3 years, 5 months ago josemaria512 1 -
-1
votes1
answer170
viewsWhat is a constant?
A while ago I did a question about constants that didn’t work out so well and I saw that it was really possible to get a good content out of it, so I’m reshaping it. Even being something basic, I…
-
-6
votes1
answer150
viewsIs it possible to delay the initialization of a constant?
With delay initialization, I say initialize a constant after your declaration. For example (pseudocode): const exemplo; exemplo = 2;
variables language-independent constant initializationasked 4 years, 12 months ago NinjaTroll 1,752