3 ms·
no, do not make one big if else block. I havent used restlet but I think what you want is hierarchical routing: http://restlet.com/technical-resources/restlet-
by djb_hackernews 11y ago
no, do not make one big if else block.
I havent used restlet but I think what you want is hierarchical routing: http://restlet.com/technical-resources/restlet-framework/guide/2.3/core/routing/hierarchical-uris http://restlet.com/technical-resources/restlet-framework/gui...
You'd have a Restlet impl for each version of the API