d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Functional Programming Tips?
Prev12
Add Reply New Topic New Poll
Member
Posts: 16,621
Joined: Jan 7 2017
Gold: 90.58
Jul 24 2017 06:24pm
Quote (nuvo @ Jul 24 2017 11:23am)
javascript is a turd of a language for anything but simplest things. And even then you'll usually want coffeescript or something

two words: callback hell.


twos word: bluebird promises

nodejs with pm2 is perfect for indie dev teams spinning up game instance servers, etc. can house 100-200 concurrent players on a 25-30hz tick websocket or tcp server. perfect on those $4.99 vps nodes from ovh / digital ocean. then spin up new ones to scale to thousands of players on a dedicated box. and for tens of thousands, look into redis

please stop with subtle javascript hate, thanks

have nice day


Member
Posts: 3,197
Joined: May 4 2013
Gold: 1,457.00
Jul 25 2017 05:20am
Promises are still merely a bandaid on a turd and not much better than callback hell.

As someone who has worked with more than a dozen languages professionally I can hate whatever I want, thanks.
Member
Posts: 16,621
Joined: Jan 7 2017
Gold: 90.58
Jul 25 2017 05:54am
Quote (nuvo @ Jul 25 2017 03:20am)
Promises are still merely a bandaid on a turd and not much better than callback hell.

As someone who has worked with more than a dozen languages professionally I can hate whatever I want, thanks.


callback hell because js can act asynchronous

which has its good and bad things

you can hate w/e u want, but just saying js can still be used for a lot of stuff today and finish the work easily

This post was edited by JohnMiller92 on Jul 25 2017 05:57am
Member
Posts: 2,940
Joined: Aug 23 2011
Gold: 1,080.37
Aug 9 2017 02:53am
Start here: FunFunFunction @ Youtube
https://www.youtube.com/playlist?list=PL0zVEGEvSaeEd9hlmCXrk5yUyqUag-n84
Continue here:
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll