Questions tagged as 'paradigmas'

1
answer

In a programming language, what differentiates a first-class citizen from the rest?

In a simple way, what is a "first class citizen" in a programming language? And, most importantly, how does something that is a first class citizen differ from something that is not?     
asked by 08.08.2017 / 20:22
1
answer

What are the characteristics of structured programming?

I would like to know what are the characteristics that defines the paradigm of structured programming , and what is the difference of this paradigm with the paradigm of procedural programming ? Both for me it seems the same, and does not chang...
asked by 09.04.2016 / 04:38
1
answer

What is procedural and non-procedural programming?

in this answer , but without too much stress, that:    "[...] procedural programming is an evolution of programming   structured [...] " And in this answer also:    [...] procedural programming is something that, to some extent,   u...
asked by 04.04.2017 / 22:16
1
answer

Everything I can do in POO I can do in PE?

Can I do everything or change anything? Do I have limits on structured programming that I do not have in OOP?     
asked by 09.06.2017 / 20:19
2
answers

If I can do everything with structural programming, why did you create object-oriented?

In the question about - All What can I do in POO I can do in PE? - the accepted and best voted answer says:    Yes, any programming language can do it all. Now, each paradigm has its way of organizing, so you can not always do it the same w...
asked by 23.06.2017 / 16:15
2
answers

What are side effects?

I was reading this answer and it has a table that says that functional programming has no side effects and that OOP has, this gave me two doubts, they are: What are these side effects? How can you avoid them in OOP ? Table:...
asked by 18.09.2018 / 14:40
1
answer

Is it wise to use multiple paradigms in a C ++ project?

Would it be advantageous to use multiple paradigms in a project in C ++? For example, in a certain part of the code I use reactive programming , elsewhere I use OOP, and in another I use functional programming. Anyway, is there any problem in d...
asked by 03.12.2018 / 01:25
1
answer

When and why to use a parameterized constructor?

I'm very confused. I wonder if it is better to use the pattern and setters to assign a value to the attribute, or whether it is better to assign the values to the attributes via the parameterized constructors and use the setters to change their...
asked by 14.10.2017 / 06:26
1
answer

What is the First-Class of Python?

The first-class Java language are objects, because you can not create anything in Java without the use of classes. In Haskell, following the same criteria as before, the first-class functions. In the case of Python, what is considered the first-...
asked by 19.10.2017 / 19:39
1
answer

What is protocol-oriented programming?

I wonder, what is protocol-oriented programming? I heard a teacher comment on this type of programming, about this paradigm, but it was a bit vague.     
asked by 29.09.2017 / 04:51