You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider refactoring towards 'FP' code, avoiding mutable state.
The code may be simpler if we refactor to use a more 'Functional Programming' style, where we avoid mutating structures. (this is something I've learned more about recently :) )
In general this could make the code a bit easier to reason about, since a function would not modify its parameters (no side-effects).
Consider refactoring towards 'FP' code, avoiding mutable state.
The code may be simpler if we refactor to use a more 'Functional Programming' style, where we avoid mutating structures. (this is something I've learned more about recently :) )
In general this could make the code a bit easier to reason about, since a function would not modify its parameters (no side-effects).
example:
analyzer.ts
: -expandExportFromStar
:BEFORE
AFTER
A more FP signature would be like:
The text was updated successfully, but these errors were encountered: