procedural-programming Questions

23

Solved

[Edit:] Earlier I asked this as a perhaps poorly-framed question about when to use OOP versus when to use procedural programming - some responses implied I was asking for help understanding OOP. On...
Lyrism asked 9/2, 2009 at 14:2

13

Solved

I feel the term rather pejorative. Hence, I am flabbergasted by the two sentences in Wikipedia: Imperative programming is known for employing side effects to make programs function. Func...

9

Solved

I'm really having a hard time understanding the difference between procedural and functional programming paradigms. Here are the first two paragraphs from the Wikipedia entry on functional program...

17

Solved

I've read the Wikipedia articles for both procedural programming and functional programming, but I'm still slightly confused. Could someone boil it down to the core?

1

Solved

I was asked a question in an interview: if encapsulation is possible without OOP, e.g. in a procedural language?
Frizzell asked 4/10, 2018 at 11:48

3

Assume we have a drawing program with different elements, such as circle, rectangle, triangle and so on. Different kinds of objects that will all need similar function such as draw() to display the...
Overly asked 23/8, 2012 at 21:22

7

Solved

In the script below, does the order in which items are declared matter? For example, if the add_action points to a function that has not yet been defined? Does it matter or should the function dec...
Wilhelminawilhelmine asked 29/3, 2011 at 4:45

1

I have been working on a program to solve a Rubik's cube, and I found myself unsure of a couple of things. Firstly, if I have a bunch of functions that have general applications (e.g., cleari...
Grisly asked 22/11, 2017 at 17:49

1

Solved

After reading almost everything I could find about continuations, I still have trouble understanding them. Maybe because all of the explanations are heavily tied with lambda calculus, which I have ...

2

Solved

If a class method doesn't rely on the class' state then it can be static. Is it good or bad practice to make such methods static where this is the case? (Tagged as C# but probably applies to many ...
Inelastic asked 5/1, 2017 at 14:54

2

Solved

I still don't understand the difference after reading this So, rather than asking what is the difference between functional vs procedural programming, I thought, maybe a language that I am f...
Latour asked 30/6, 2015 at 18:16

2

Solved

I'd say I have intermediate experience with programming in c, however I've never seen this syntax used before to make a function. This reminds me of the syntax for a JQuery event. Overall, I'...
Altorilievo asked 11/8, 2016 at 21:48

6

Solved

Yeah, I'm struggling with that. I cannot distinguish among them because every explanation I read is so unclear and philosophical enough. Can someone clear up these definitions for me ? Thanks guys....
Faludi asked 22/11, 2010 at 15:17

2

What I understood about data abstraction is hiding technical details from user and showing only necessary details. So data abstraction is an OOP feature. My question is: does C also support data ab...
Wehrle asked 6/10, 2013 at 13:36

2

In my experiences, I often see some design patterns such as visitor patterns, strategy pattern,... in object oriented languages like Java... But I haven't seen much patterns in procedural languages...
Bahadur asked 8/5, 2012 at 1:2

5

Solved

I would like to learn PHP and want to get an Idea about OOP and Procedural. I read some other blogs and tutorials about OOP vs Procedural but I still can't understand the approach. OOP vs Pro...
Loiret asked 7/10, 2009 at 10:51

3

Solved

My app's JavaScript/jQuery is contained in an external scripts.js file. It generally looks like this: $('document').on('ready', function() { giraffe(); elephant(); zebra(); }); function giraff...
Veld asked 11/6, 2013 at 10:10

1

Solved

I have started reading "Think Like A Programmer" by V Anton Spraul. Here is the question. The train technique mentioned in the book works fine for the example sighted in it. I was attempting to w...
Tuatara asked 31/3, 2013 at 19:10

3

Solved

I currently have a fairly large application written entirely with procedural PHP. I am looking to further my PHP experience and recode a majority of my application using object-oriented techniques....
Theology asked 14/3, 2013 at 22:16

17

Solved

I'm fairly new to programming but I've been reading some interesting discussions on StackOverflow about various programming approaches. I'm still not 100% clear on what the difference is betw...
Goldeneye asked 10/2, 2009 at 1:8

1

Solved

I have been using the procedural approach with mysql* until recently. Now I want to shift to mysqli and object oriented approach. Many online resources and books state that OOP is better than...
Triptych asked 5/2, 2013 at 14:45

2

I don't fully understand what the append-map command does in racket, nor do I understand how to use it and I'm having a pretty hard time finding some decently understandable documentation online fo...
Equivalence asked 31/1, 2013 at 1:40

0

If I have a function which should perform an action on some condition, and returns null instead, which is cleaner: def func(): if not condition: return None [...] return asd or def f...
Excitor asked 2/11, 2012 at 11:44

3

Solved

So the company I work for has quite an unorganized approach when it comes to our site. All of our scripts are procedural with cfincludes thrown within. I've been wanting to organize this into an in...
Ehrsam asked 20/1, 2012 at 1:4

3

Solved

i was wondering about the benefits of stateless programming, and found someone who shared my question: Advantages of stateless programming? as i read through the answers though, it made me c...

© 2022 - 2024 — McMap. All rights reserved.