4 ms·
Not all JavaScript devs. Love the language, hate the popularity of anonymous functions and non-descriptive variable names. My production code as a sample. htt
by akamaozu 7y ago
Not all JavaScript devs.
Love the language, hate the popularity of anonymous functions and non-descriptive variable names.
My production code as a sample.
http://designbymobi.us/wp-content/uploads/2020/02/rabbitmq-customer-rpc-api.jpg http://designbymobi.us/wp-content/uploads/2020/02/rabbitmq-c...
- mrweasel 7y agoYour code sort of have the same issue. Why not define a function: function someName(p1, p2) {} and then when you need it for something, like a handler, just say: handler: someName
- akamaozu 7y agoHoped to show that JavaScript can be easier to read than you described. Obviously wrong. My mistake.