---
title: "Comment by VH on \"Functional TypeScript in Production Systems\" | Hashnode"
description: "Omg, this is the blog I was searching for a long time. I was trying to do OOP in TypeScript and sometimes I felt like I didn't harness the power of FP. And grea"
url: "https://hashnode.com/posts/functional-typescript-in-production-systems/6097aa0521068818a5c621c3/comment/662a73399fb921ad29a22ad1"
---

[Discussion](https://hashnode.com/posts/functional-typescript-in-production-systems/6097aa0521068818a5c621c3)

Comment [Functional TypeScript in Production Systems](https://hashnode.com/posts/functional-typescript-in-production-systems/6097aa0521068818a5c621c3)

[VH](https://hashnode.com/@Silverbullet069)

[Apr 25, 2024](https://hashnode.com/posts/functional-typescript-in-production-systems/6097aa0521068818a5c621c3/comment/662a73399fb921ad29a22ad1)

Omg, this is the blog I was searching for a long time. I was trying to do OOP in TypeScript and sometimes I felt like I didn't harness the power of FP. And great job in that Partially Applied Controller that encapsulate impure + pure function and separate function logic into 3 parts:

-   Data Retrieval (In-memory, File, DB, Remote API, ...)
-   Business Logic
-   Error/Exception Handler for both Data Retrieval and Business Logic (using Discriminated Union Type or Either Design Pattern). I'm currently learning Either Design Pattern.

These knowledge will definitely be put in use in my VSCode Extension that used TypeScript. This is also the project for my graduation thesis.
