5 ms·
Nitpick: does the term "isomorphic JavaScript" to describe JS that runs on both the client and server annoy anyone? Where's the isomorphism? When I think of i
by chubot 12y ago
Nitpick: does the term "isomorphic JavaScript" to describe JS that runs on both the client and server annoy anyone? Where's the isomorphism?
When I think of isomorphism I think of two things that look different but have the same structure. If you had a set of functions that are synchronous and a set that are async, then maybe you can call the sets isomorphic. Or if you have a Python library that mimics a command line tool, then they could be isomorphic.
- tel 12y agoThat annoys the hell out of me. It's a cool word, sure, but it also has an incredibly tight technical meaning of which "runs of server and client" seems to have next to no relation.
- deleted 12y ago[deleted]
- kaoD 12y agoIso = Equal. Morph = Shape. Isomorph = Same shape. Isomorphic JavaScript = JavaScript that takes the same shape [in multiple environments]. You're thinking isomorphism as math terminology but it isn't. It's just borrowed from Greek. From a quick search it means "same shape" in regular English too! Your nitpick would be akin to being annoyed by the use of "group" to mean "a number of people or things considered or classed together" because it has a specific meaning in math.
- tel 12y agoMath and CS are close enough that I think they should be nice neighbors and respect one another's terminology. I use the mathematical term "isomorphism" daily almost hourly while programming.
- kaoD 12y ago> should [...] respect one another's terminology I see your point, but IMHO isomorphic is a word, not math terminology. Math borrows words from regular languages, but it can't expropriate words! The first thing I think when reading "isomorphic" is "same shape" even though I know what a math isomorphism is. Just notice how function means something completely different in programming and math, but we're so used that nobody nitpicks on HN. Math permeates everything, borrows and loans words. More examples: - Electrical Engineers use finite ground planes even if a plane is by definition infinite and has no thickness. - Music is pretty much math, but their chords are not segments inside circles. - We use braces {} to delimit blocks, not sets. - We flip bits in a non-geometrical sense. - The DOM has events even though there are no statistics involved. - We compress files even though they're not geometric objects. - We use domain names. And so on. It's the beauty of language! Our libraries are full of functions instead of books. If there's no chance of ambiguity, who cares?
- tel 12y agoWhile this is sort of a silly argument to continue, I'll suggest that "function" is probably the closest example you've given in terms of how "isomorphic" is a technical word over a common use word. And the use of "function" in computer science for things which are hardly at all functions is a source of massive confusion and pain in the interface between the two fields. I believe personally that it leads to an enormous amount of improper education and broken intuition. Let me provide another example—variable. This one is far worse than "function" in the confusion caused by its poor appropriation into computer science. The concept of variable is extremely well-designed in mathematics crafted over hundreds of years of philosophical and mathematical debate... and then it also become a mutable slot in Algol and stuck to every mathematician's chagrin. It's not a good idea to copy technical words and abuse them in similar fields. It'd be as though people in the airplane industry started calling propellers "rockets" all over. Rocket comes from Italian "rocchetto" meaning bobbin/cylinder and so the shape of a propeller engine fits that definition and words are just words right? Certainly, but that's just unnecessarily confusing. The person who popularized that terminology would be rightfully considered a fool.
- kaoD 12y ago
- gfour 12y agoWhen talking about programming languages, "isomorphism" also brings to mind the Curry-Howard isomorphism between programs and proofs (http://en.wikipedia.org/wiki/Curry%E2%80%93Howard_isomorphism http://en.wikipedia.org/wiki/Curry%E2%80%93Howard_isomorphis...)...
- MisterMashable 12y agoI was a bit turned off by the term 'isomorphic javascript' when I first read it mostly because of how it is so fundamental to mathematics and we can say the term isomorphic definitely earned its keep there. In programming I'm not so sure. The term does fit but it's a mouthful, almost as bad as XMLHttpRequest. Is there a cool word like AJAX to take the place of Isomorphic Javascript? Airbnb has a certain coolest factor and they've been using the term so it's most likely here to stay.