CURRENT STATUS: The forums you are now looking at are CLOSED. Visit the new forums.


OOP versus Functional programming

Creating PowerShell extensions in Visual Studio? Post here! Monitored by MVP Doug Finke.
Forum rules
1. Use the CODE or POWERSHELL buttons to format code and commands.
2. Avoid the use of obscure and punctuation aliases (like ? and %).
3. Don't apologize for being a "noob." We don't mind.
4. If we help you solve your question, please click the green SOLVED checkmark.

More forums tips & etiquette

OOP versus Functional programming

Postby willsteele » Tue Oct 16, 2012 8:22 pm

I am reading up on functional programming. To me, this seems like a bit of a paradigm shift from the current, dominant Object Oriented Programming model so popular today. It's not so much that OOP and functional programming are opposites as it is they are just different ways to approach code. I am curious how others look at the distinction between OOP and functional programming when it comes to PowerShell? I know F# is not a native PowerShell language, but, it can be tapped into. Along those lines, is there something we can learn from the functional mindset if we are traditionally an OOP thinker when it comes to writing scripts/solving problems?
Will Steele
Chirp: @pen_test (https://twitter.com/pen_test)
Click: Another Computer Blog (http://learningpcs.blogspot.com/)
Hang out: Dallas-Fort Worth PowerShell User Group (http://powershellgroup.org/DallasFtWorth.TX)
willsteele
 
Posts: 156
Joined: Wed Aug 15, 2012 9:05 am
Location: Dallas, Texas

Re: OOP versus Functional programming

Postby nohandle » Fri Oct 19, 2012 11:56 am

I am reading up on functional programming.
Can you provide links or book titles, please? I am interested too.
nohandle
 
Posts: 332
Joined: Wed Oct 10, 2012 1:14 pm
Location: Czech Republic, Prague

Re: OOP versus Functional programming

Postby willsteele » Fri Oct 19, 2012 7:33 pm

The one I am reading is Real World Functional Programming: With Examples in F# and C# by Tomas Petricek and Jon Skeet
Will Steele
Chirp: @pen_test (https://twitter.com/pen_test)
Click: Another Computer Blog (http://learningpcs.blogspot.com/)
Hang out: Dallas-Fort Worth PowerShell User Group (http://powershellgroup.org/DallasFtWorth.TX)
willsteele
 
Posts: 156
Joined: Wed Aug 15, 2012 9:05 am
Location: Dallas, Texas


Return to PowerShell for Developers

Who is online

Users browsing this forum: No registered users and 1 guest