Questions tagged [paradigms]

A tag for questions relating to the world view underlying a particular software methodology or theory.

A tag for questions relating to the world view underlying a particular software methodology or theory.

A paradigm is a model, method or pattern. In programming different methods of writing programs are called , examples are and functional programming.

More information on paradigms

291 questions
0
votes
1 answer

Adding immutable programming rules to the Java language within a program

I'm writing a program in Java. I find that reading and debugging code is easiest when the paradigm techniques are consistent, allowing me very quickly assume where and what a problem is. Doing this has, as you might guess, made my programming much…
0
votes
1 answer

Paradigms and mindsets?

Do people that do functional programming have a certain mindset or people that do pure-oop. Like I just want to know how you guys see programming. This is in no way a technical question but more of a opinion question.
0
votes
1 answer

Perl: Is there any way to associate meta data with functions

It would be very useful to associate meta-data with functions. For example, in web frameworks, a page request is usually handled by function in the controller. Elsewhere, the mapping between URLs and functions is specified. It would be very useful…
NXT
  • 1,855
  • 2
  • 18
  • 36
0
votes
2 answers

How should I populate my object?

I have an object that I want to populate with information. I retrieve the information from a number of different services. I made a helper class that has one public method and then has a number of private methods that do the work to call the…
irl_irl
  • 3,785
  • 9
  • 49
  • 60
0
votes
1 answer

Mobile Notifications Maintaining: implement own TimeManager or use notifications built-in fireTime manager?

I have to implement a reminder - make the note, then store it in local DB and then make the notification when time comes. I have no experience in mobile development so I'm asking what's better - to implement some time manager that will invoke…
Jan
  • 184
  • 2
  • 15
0
votes
1 answer

Are there any other interesting languages frozen in time like Common Lisp?

By that I mean languages where they are stable and the standard has stopped being actively worked on, and they offer something interesting by studying them. I am not looking for normal imperative /procedural languages that have stopped being worked…
Rekumaru
  • 421
  • 1
  • 4
  • 10
0
votes
2 answers

Python one exception multiple handlers

I want to do this: try: raise A() except A: print 'A' except (A, B): print 'A,B' Which I hoped would print both A and A,B. That doesn't work (only the first except is executed). It makes sense for the first except to swallow the error,…
Mark
  • 18,730
  • 7
  • 107
  • 130
0
votes
2 answers

Program desing: Caller/callee dilema, synchronously/manualy swich context

My question concerns general design of programs. When object a wants to send information to object b there are three possibilities: Control is outside of objects a and b and public methods of a and b are…
0
votes
1 answer

UML / Visual Paradigm: a C# (Win)Form in the code generation

I am creating a class diagram in Visual Paradigm and I am struggling with one thing. How do I specify that a class is in fact a form. So when I export the diagram to code, it wont become a normal class but instead it will become a form. A form which…
Maynn
  • 515
  • 1
  • 6
  • 10
0
votes
0 answers

is non-structured programming used nowadays?

is there a real world situation where using non-structured programming languages brings any advantages? I've read that non-structured programming has been criticized because it leads to a very low readability, but at the same time, it has been…
angel208
  • 281
  • 1
  • 5
  • 15
0
votes
2 answers

Publish/Subscribe paradigm: Why must message classes not know about their subscribers?

From Wikipedia: "Publish/subscribe (or pub/sub) is a messaging paradigm where senders (publishers) of messages are not programmed to send their messages to specific receivers (subscribers). Rather, published messages are characterized into classes,…
Carl
  • 43,122
  • 10
  • 80
  • 104
0
votes
1 answer

Does the jQuery Paradigm go against Unit Testing or complement it?

Yes, I am aware of QUnit, but with the jQuery Paradigm all about getting things done faster with less code, and is this some how opposed to a TDD Paradigm? Or does it complement it somehow?
leeand00
  • 25,510
  • 39
  • 140
  • 297
0
votes
0 answers

Similar paradigms as readers-writers prob and producer-consumer prob

for my Operating Systems Networking class, we must come up with a common paradign that is faced when developing operating systems and propose a solution to the paradigm. Some possible topics suggested in class were: Producer/Consumer problem,…
0
votes
0 answers

Are there any advantages to different programming paradigms specifically releated to game programming?

I have been researching three different programming paradigms namely procedural, object oriented and functional. So far I have been able to find a lot of good information regarding general differences and advantages/disadvantages like readability,…
0
votes
2 answers

What do different programming paradigms offer?

There are lots of different programming languages in 4 different paradigms: Object-Oriented Functional Logical Procedural I could write a program in all programming paradigms e.g a fraction that I could write it using classes in OOP and…