r/functionalprogramming • • Mar 14 '24

Question Learning functional programming with a new language or stick to TypeScript?

I've got quite a lot experience in TypeScript and C#. Before I knew about functional programming I was already using some patterns like higher-order functions(which are everywhere in TypeScript) and stuff like immutability when using LINQ.

I'm currently taking a course at university that will dedicate some of its hours to functional programming, we already covered lambda calculus. But it is more of a theoretical course so there won't be much programming.

So I'm torn: should I just study up on functional programming concepts and just apply it to TypeScript or learn a completely new language like Elixir that is really designed for FP?

My end goal is to improve the ease of writing code and maybe do some projects with it(so ecosystem is important and TS and C# have got quite big ones). I'm not that interested in mathematical and academic applications for now.

15 Upvotes

34 comments sorted by

View all comments

Show parent comment

1

u/Paid-Not-Payed-Bot Mar 14 '24

would have paid more than

FTFY.

Although payed exists (the reason why autocorrection didn't help you), it is only correct in:

  • Nautical context, when it means to paint a surface, or to cover with something like tar or resin in order to make it waterproof or corrosion-resistant. The deck is yet to be payed.
  • Payed out when letting strings, cables or ropes out, by slacking them. The rope is payed out! You can pull now.

Unfortunately, I was unable to find nautical or rope-related words in your comment.

Beep, boop, I'm a bot