3 ms·
Kudos for not using the word 'isomorphic'. Most people use it (in the context of JavaScript) without understanding what it really means: https://en.wikipedia.or
by wereHamster 11y ago
Kudos for not using the word 'isomorphic'. Most people use it (in the context of JavaScript) without understanding what it really means: https://en.wikipedia.org/wiki/Isomorphism https://en.wikipedia.org/wiki/Isomorphism.
- timdorr 11y ago"Universal" is the new "isomorphic": https://medium.com/@mjackson/universal-javascript-4761051b7ae9 https://medium.com/@mjackson/universal-javascript-4761051b7a...
- wereHamster 11y ago> a word that describes the same code but running in a different environment Uhm, that's a wrong way to think about it. The same code can't run in a two different environments. If it does then it means that the environment is the same! The question then becomes what is an 'environment'. Once you start explicitly tracking what the dependencies of your code are, in terms of language/runtime support, external libraries etc, it becomes very clear what the 'environment' is (though JavaScript as a language is exceptionally bad at expressing these dependencies). If your code runs in Node.js and latest Chrome, then the 'environment' is ES5 or even ES6. If it also runs in IE7, then the environment likely is ES3. If your code also needs access to the DOM and WebWorker APIs, as well as underscore, then the environment is ES3+DOM+WebWorker+underscore. If only we had support in the language and/or tooling around it to express these dependencies and warn us if we try to use some code in an environment that is unsuitable for it...
- arianvanp 11y agoIt really grind my gears because it's not even grammatically correct to say that "Isomorphic architecture". Isomorphic to what?. An isomorphism is a binary relationship... "A is isomorphic to B". It's like saying "We run an equals to architecture".
- glenjamin 11y agoI see this argument a lot and I really don't get it. In the context of JavaScript, Isomorphic means "runs on the client and server". Here's an article from 2011 that uses the word in this way, and includes a definition: http://blog.nodejitsu.com/scaling-isomorphic-javascript-code/ http://blog.nodejitsu.com/scaling-isomorphic-javascript-code... The fact that isomorphic means something else in a different context seems irrelevant to me. I did 5 mins of googling and found the following mathematical terms also have different meanings when used in a software engineering or computing context: * integration * kernel * product * scalar * module * function