These are chat archives for jdubray/sam

6th
Nov 2018
leosbotelho
@leosbotelho
Nov 06 2018 04:45
@jdubray How would you go about "global state" in a statically typed PL (eg. Java)? Tree with composite pattern?
Jean-Jacques Dubray
@jdubray
Nov 06 2018 13:51
@leosbotelho that's why I don't like statically typed languages :-) I am not a specialist but that's how I created an implementation of the model in Java. Mostly based on maps.
Paolo Furini
@pfurini
Nov 06 2018 14:10
@jdubray PLs are themselves abstractions, and especially in these days there’s no one-size-fits-all language
Modern architects (not developers) are required to know a not so small selection of different languages and different paradigms (FP, OOP and emerging hybrid ones like GoLang)
Paolo Furini
@pfurini
Nov 06 2018 14:15
Things that are a nightmare to implement and MAINTAIN in JS (that I personally don’t love so much) can be a breeze if developed on another language/paradigm etc combination
But honestly what bothers me much with dynamic languages is the amount of “governance” they need to avoid nasty bugs in the long term (oh I missed to test this remote interface, I hope that every signature is indeed correct.. that’s one of the thing you can get for “free” with static typing)
Jean-Jacques Dubray
@jdubray
Nov 06 2018 14:30
I live in a world of message passing and statically typed languages make no sense at all in that world. I don't dispute that there are other worlds where they are not a good fit.
FP makes no sense in that world, BTW, because of the immutability requirements, you end up working the GC 10x more than any othe programming model.