4 ms·
Aren't imports ugly, or is it just me? // js var Bridge = require('bridge-js') // python from BridgePython.bridge import Bridge // ruby require 'bridge-ru
by densh 14y ago
Aren't imports ugly, or is it just me?
// js
var Bridge = require('bridge-js')
// python
from BridgePython.bridge import Bridge
// ruby
require 'bridge-ruby'
---
First of all you don't really need language name in the name of each of the bindings. It's kind of obvious that i'm using ruby or python at the moment, isn't it? Python version looks especially ugly it should have been much simpler:
import bridge