Most voted "characteristic-language" questions
Use this tag in questions relating to the operation of some feature of a programming language (Feature language), such as its type system, supported constructs, etc. Do not use it if the focus of the question is simply its use in solving a distinct problem.
Learn more…402 questions
Sort by count of
-
124
votes4
answers35777
viewsIs HTML a programming language?
It is not my intention to bring the confusion of others to the site, but it was my doubt (internal, of those things that one is sure and then someone comes and asks a question that messes with the…
-
108
votes13
answers20263
viewsWhat makes a language to be considered low/high level?
What makes a language to be considered high-level and other low-level?
-
101
votes3
answers33467
viewsWhat is the difference between a static and dynamic programming language?
Some time ago, Facebook launched its own programming language, based on PHP. See: Tecnoblog: Facebook announces Hack, its own programming language. Tecnoblog explains in the following way the…
-
79
votes2
answers11641
viewsWhat is Reflection. Why is it useful?
It is recommended to use in projects? How to use? In what situations Reflection can be used?
-
76
votes6
answers20131
viewsDifference between single and double quotes in PHP
What is the difference between single and double quotes in PHP? Yesterday I was working with a string from a google json I used explode('\n', .. to separate a string. When I used the explode in "Mon…
-
58
votes5
answers8000
viewsWhat is the difference between pointer and reference?
One of the first things I learned about Java is that this language "has no pointers, only references", followed by some generic statements about how the first is complex and the second is simpler.…
-
55
votes4
answers1510
viewsWhy in PHP does the expression "2 + '6 apples'" equal 8?
I found the example funny, but the question is valid in the sense of understanding why PHP behaves this way. When we do the following example sum (an integer added to a string): $numero_macas = 2 +…
-
52
votes4
answers3803
viewsWhat is spaghetti code?
When reading about software architecture on the web, sometimes the term is used "spaghetti code", referring to something that should be avoided. But I could never understand clearly what "spaghetti…
-
50
votes6
answers16518
viewsWhat does NULL really mean?
Many people talk about what NULL is, but after all, what is its true meaning?
-
46
votes2
answers45560
viewsWhat is the correct way to use the float, double and decimal types?
Since college I can’t understand the real difference between the type DOUBLE and FLOAT, I ended up meeting the guy DECIMAL which also treats real values. About the type DECIMAL, found the following…
characteristic-language float language-independent decimal doubleasked 7 years, 5 months ago Marconi 17,287 -
43
votes4
answers31911
viewsWhat is the difference between compiled language for interpreted language?
What difference from compiled language to interpreted language, and what advantages to one another?
-
42
votes4
answers18382
viewsWhat is the difference between null and Undefined?
Most programming languages have a "null" type to represent the absence of a value. It can have multiple names (null, nil, None, etc), but its purpose is the same (with the exception of SQL, where…
-
41
votes2
answers838
viewsWhat is the overhead of using object orientation?
In the company where I work today we are strongly encouraged to avoid object-oriented programming for both old and new projects. For old projects I agree that it is a bad practice to start inserting…
php oop performance software-architecture characteristic-languageasked 9 years, 10 months ago jlHertel 4,733 -
40
votes1
answer9859
viewsHow is a programming language developed?
How a programming language is created? In general terms, where and how the validation of the functionalities of the new language works? For example, we have the C++ language, it is complex and has a…
characteristic-language language-independent language-designasked 8 years, 8 months ago João Victor Gomes Moreira 1,968 -
39
votes3
answers2857
viewsWhat characterizes a programming language?
A long time ago I saw in the laboratory a "program" called POV-Ray and a doubt prompted me. The teacher said it is a "programming language" and argued, now it has source code, syntax, semantics and…
characteristic-language terminology language-independent language-designasked 9 years ago SneepS NinjA 7,691 -
39
votes2
answers3085
viewsWhat are the main differences between Kotlin and Java?
I have long been aware of the existence of the Kotlin language. I know that you need JVM to run and that it is completely interoperable with Java. At the time I did not give her much attention but…
-
38
votes2
answers8746
viewsIs Javascript interpreted or compiled at runtime?
In this other question I asked the same thing, but in relation to Java. Now I ask about Javascript. As far as I know, historically Javascript has always been interpreted, but Google has changed that…
-
38
votes2
answers2688
viewsWhy do you usually declare a variable with default value?
In several applications that have been written with strongly typed languages, a variable (usually) is declared with its default value. Example: int x = 0; double y = 0; However, it is possible to…
c# variables characteristic-language typing variable-declarationasked 7 years, 5 months ago UzumakiArtanis 9,534 -
37
votes4
answers1166
viewsWhat are the differences between Generic Types in C# and Java?
I have studied Java for quite some time and am well acquainted with the functioning of generic types in that language: I know that only exist at compile time, that suffer type Erasure at the end of…
-
37
votes3
answers8360
viewsProperty x Attribute
One propriedade of a class is not the same thing as a atributo? What’s the real difference between them? Or propriedade is a synonym for atributo or vice versa? Or varies according to the…
oop terminology characteristic-language property attributesasked 9 years, 5 months ago MeuChapeu 5,875 -
37
votes5
answers7326
viewsIs Javascript an Object-Oriented language?
Many say that it is not an object-oriented language, because it is not possible to define classes in it, until its version Ecmascript 5, but with the use of constructing functions and prototyping it…
-
33
votes3
answers6154
viewsC# is a compiled or interpreted language?
I’m starting my studies in C#, and I’m wondering if the language is compiled or interpreted? My doubt arises because I heard in a lecture that it is compiled, and others saying that it is…
-
32
votes5
answers1927
viewsWhy is multiplication faster than division?
Bit brushing question, but I was reading an article about javascript in which says that division is slower than multiplications. And for example, I would recommend changing the code below : var…
javascript mathematics performance optimizing characteristic-languageasked 10 years, 8 months ago Guilherme de Jesus Santos 6,566 -
31
votes1
answer29273
viewsWhat’s the difference between break, pass and continue in Python?
The Python documentation in Portuguese is a work in progress, and reasonably confusing as you can see. I have difficulties in English and I found that website that I can’t read. So how can I use…
-
31
votes2
answers1282
viewsWhat does <<< EOH in PHP do?
I see it in several third-party classes. Remembering that the closure is usually the EOH, but without <<<
-
31
votes1
answer5487
viewsWhat is the difference between single quote ' and double quote " in SQL?
Context When I do an SQL and wish for a specific alias I should quote between double quotes ". SELECT A.ds_nome_pessoa AS "Pessoa.nome" ... When I want to make a where in field varchar the values…
-
31
votes2
answers930
viewsWhat is a meta language?
I found in the SO En that question: Creating meta language with Java, where the user is interested in creating a meta language using Java. I did a brief search and found on the Microsoft site a…
-
30
votes3
answers13425
viewsWhat is an interpreted language? Is Java interpreted?
In this question here I quote that Java is an interpreted language, because I always understood it that way. But I was corrected in this comment that Java is no longer interpreted. So I got some…
-
29
votes2
answers539
viewsHow does antivirus scan my program?
I had a class in college that left me "kind of" puzzled, my teacher was talking about the differences of interpreted languages and compiled languages and pointed out that interpreted languages could…
-
28
votes5
answers18846
viewsWhat is a scripting language?
It is often said that PHP, Javascript, Ruby, Python, among others are "scripting languages." But what defines whether a programming language is a scripting language or not? Some would say that…
characteristic-languageasked 10 years, 6 months ago user7261 -
27
votes1
answer4649
viewsWhat is it, Kotlin?
I’ve heard a lot about Kotlin. What is this? Is it a programming language? If so: What are the main features? Can I program on any operating system? And run? How do the guys in it work? I don’t want…
-
26
votes5
answers7637
viewsIs Excel a programming language?
No, I’m not asking for an opinion. I’m asking this question here because today I found this unlikely question: HTML is a programming language? And, I confess, I voted in favour of the second comment…
-
26
votes5
answers1574
viewsWhy do "Alert", "confirm" and "prompt" lock the loading independent of the definition order?
I’d like to understand why, when we use the functions alert, confirm or prompt, they always cause a kind of "freeze" on the screen. For example, I have a alertand then I have a div with a defined…
-
25
votes2
answers1684
viewsHow does namespaces work in PHP?
The namespaces were implemented from PHP version 5.3.0 as a form of "encapsulating items". I never really understood his real concept, and I always get confused with autoload of classes. Could…
-
25
votes4
answers4174
viewsWhat is the meaning of the operator ( * ) asterisk?
In C this operator is used in pointer type variables. However, in Python I don’t know which way, and why to use it. Therefore, what is the meaning of the operator (*) in the Python language?
-
25
votes1
answer2636
viewsWhat is the difference between const and readonly?
Read-only constants and fields cannot be modified, as can be seen in the documentation: const Constant fields and locations are not variable and cannot be modified. readonly When a field declaration…
-
24
votes1
answer933
viewsWhy is the use of "break" considered bad?
In many places I have heard several comments about this, such as: "Professional programmer does not use break" "The code sucks when you see a break" Because the use of break is so frowned upon by…
-
24
votes3
answers971
viewsIs POO the same in all languages?
Is the way of structuring, programming in POO the same in all languages? For example, class, interface, etc...
-
24
votes5
answers8920
viewsWhat is the difference between Visualg and Portugol?
I see here a great rummage in the tags visualg and portugol. By the tag wiki, it seems that Visualg would be the interpreter and Portugol would be the language itself. Visualg is regarded as a…
-
23
votes2
answers268
viewsNull attributes on an object is Bad?
I have an object that has 7 attributes: 2 attributes are always with some value assigned. 3 values are always set if a filter query is required (3 attributes are filters). The last 2 attributes are…
-
23
votes3
answers6210
viewsWhat is the purpose of the symbol :: in Java?
I implemented a method that sums all the numbers in a list of the kind List<Integer> as follows: int soma = 0; for (Integer num : numeros) soma += num; return soma; However, the Netbeans IDE…
-
23
votes1
answer433
viewsTransponders in Ecmascript
What are the allowed characters, or what is allowed, within a name (known as "identifier") in the Ecmascript 6? Has rules between identifiers and keywords???…
-
23
votes2
answers3224
viewsWhat is the Rust programming language?
According to the official page of language: Rust is a system programming language that runs incredibly fast, prevents segmentation failures, and ensures cross-threaded security. It is relatively…
-
23
votes2
answers905
viewsHow does PHP foreach work?
To clarify, this question is not about when the foreach is used or differs from it to other loops of repetition, but about the functioning of foreach in itself. In the documentation, little is said…
-
22
votes2
answers1375
viewsWhat is it and what are the advantages of Currying?
This is a very widespread concept in functional languages, but what it is exactly? Why is it advantageous? Bonus point: Is it possible to use it in non-functional languages? Or more generally, in…
terminology characteristic-language functional-programmingasked 10 years, 6 months ago Maniero 444,682 -
22
votes2
answers570
viewsWhat is the difference between Object.create or new Object() in Javascript?
I’m going through a technical doubt in Javascript: What’s the difference between Object.create and new Object()? What cases do I have to adopt one over the other?…
-
22
votes1
answer5420
viewsWhat is the programming paradigm used by Javascript?
What is the programming paradigm used by Javascript or if it is like Python that uses multiple paradigms?
-
22
votes3
answers1780
viewsIs the SQL language object oriented?
Is the SQL language object oriented? If so, could you show an example?
-
21
votes3
answers1786
viewsWhat is the usefulness and importance of "do... while"?
The command while is a repeat structure with a condition at the beginning of the declaration. Example: while (condição) { sentenças a executar } Already do...while has verification at the end, ie…
algorithm loop characteristic-language while do-whileasked 9 years, 4 months ago Denis Caixeta 3,427 -
21
votes4
answers694
viewsWhy not comment on the code?
After reading a bit of Robert C. Martin’s Clean Code, he says that it is no use to "make up" a bad code with comments, in other words, try to explain a gambit made there. It is also quoted about…
terminology characteristic-language encoding-style commentsasked 5 years, 5 months ago CypherPotato 9,292