Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Software Engineering

Questions tagged [functional-programming]

Ask Question

Functional programming is a paradigm which attempts to solve computational problems by the chained evaluation of functions whose output is determined by their inputs rather than the programme state. In this style of programming, side effects and mutable data are deprecated and usually strictly isolated.

746 questions
Filter by
Sorted by
Tagged with
1vote
1answer
224views

I'm learning Domain-Driven Design (DDD) and studying different architecture patterns, and I’ve come across two seemingly conflicting design philosophies around domain modeling.1. Rich Domain Model ...
2votes
1answer
260views

I’m designing a backend in TypeScript (could also apply to JavaScript), and I’m wondering about the architectural approach.Is it better to stick to a single paradigm (e.g., fully object-oriented or ...
4votes
3answers
318views

Not long ago while I was exploring for solutions to test without mocks I've found out about the functional core, imperative shell architecture. It sounds great, I also think that it would play nicely ...
3votes
6answers
608views

I'm currently drafting a Python coding standard for internal enterprise use, primarily targeting business applications that involve heavy data access, reporting, and transactional logic.In this ...
4votes
5answers
505views

I'm working on an application and have encountered two different approaches for organizing business logic. There's a general consensus that application rules should be handled in higher layers, so I ...
0votes
3answers
261views

My example applies to reading and deleting files (I/O), but this is probably a common scenario (eg, keeping local and global state in sync in functional programming).I am reading in files from a ...
rpivovar's user avatar
3votes
3answers
353views

I am trying to refactor some JavaScript code to use functional programming principles.I have some functions that I want to use in a series of maps.const transformedData = rawData .map(...
rpivovar's user avatar
5votes
3answers
708views

This question is not meant to be a critique of functional programming, but more hoping for resources and opinions.I am refactoring some historically messy code so that it follows functional ...
rpivovar's user avatar
4votes
2answers
446views

(this question is written using javascript for examples)Say I have a bunch of files that I need to access sequentially:1.json2.json3.json4.json...Say I want to transform the data in all of ...
rpivovar's user avatar
0votes
1answer
190views

(this question is written from a functional javascript point of view)say you have some pure functions:function a (arg) { ... return result}function b (arg) { ... return result}function ...
rpivovar's user avatar
2votes
1answer
333views

The Decorator pattern allows behaviour to be dynamically added to an existing object, effectively "decorating" it with new behaviour. While the pattern as formalised and named seems to have ...
1vote
1answer
862views

For the following component, how would I extract the unit logic to allow for composition? In my actual app I am trying to reduce the amount of logic encoded in the component and I have decided that ...
2votes
1answer
157views

Consider a processing system which ingests objects from an external source and performs extensive processing. One example could be objects detected by a computer vision system which are then fed into ...
1vote
2answers
366views

Python, Ruby, Rust, Haskell, Kotlin, C#, C++, Perl, MATLAB, SQL, and R all call their respective array predicate checking functions any and all.Is there any record of why JavaScript's designers ...
6votes
2answers
1kviews

While I was learning functional programming I have encounterd two for me very similar terms: immutability and persistence. Also I have read simular questions from stackoverflow, but I am still ...

153050per page
1
2345
50

Hot Network Questions

more hot questions
Newest functional-programming questions feed

[8]ページ先頭

©2009-2025 Movatter.jp