As I read about functional programming, it is considered as more concise, testable and with less side effects.I am wondering if using it, will be good idea for UI test automation as well???

**Context**: As I am working in protractor with JavaScript and JavaScript supports functional programming concepts up to an good extent.So I explored and experimented  with concepts like first class functions and iterators and functons like map, reduce and filter but could not get it to a meaningful state in UI automation context,so I am wondering if somebody having experience using it with protractor or other UI test automation framework and would like to share some insights on using more Functional  approach compared to OOP(as page objects pattern  in selenium world) or procedural approach..

**Expectation**: I would  really appreciate if someone having this experience ,provide small code examples with few typical automation use cases  to explain it in the automation  context..as opposed to generic programming scenarios ,stating how it can improve the code  for test automation where maintainability, code reuse, modifiability , flexibility , faster execution are primary  design goals by keeping it DRY.

**Example**  To give an concrete typical scenario, in UI   automation we need to interact with UI Grid and verify the content from an specific row and column based on some condition...and verify it with some expected values.