3 ms·
s/^\([a-zA-Z_]*\)(\(.*\))$/ggl_\1(\2)/ ?? This ruling sounds horrible... very curious to hear point-of-view of people who think otherwise. Edit: my regexp jo
by bch 11y ago
s/^\([a-zA-Z_]*\)(\(.*\))$/ggl_\1(\2)/ ??
This ruling sounds horrible... very curious to hear point-of-view of people who think otherwise.
Edit: my regexp joke is mangled by markup, but who cares ?
Edit: fixed regexp display (not that it affects joke).
- andreyf 11y agoput a couple of spaces in front of it *like this*
- dunstad 11y agoI don't know if I'm failing to read regexes or failing to see the humor. Can someone explain/kill the joke for me?
- gknoy 11y agoI believe it's basically a suggestion that one replaces each `foo` or `bar` API call with a prefix, e.g. `ggl_foo`, `ggl_bar`. I expect that doing so would get one slapped (literally or figuratively?) by a judge for being a wiseass.
- bch 11y agoThe API is just a signature for calling the function -- I was joking that instead of screen_draw(int x, int y); what Google could do is: ggl_screen_draw(int x, int y); and say "New API -- they've got screen_draw(), we have ggl_screen_draw()".
- dragonwriter 11y agoCopyright protects deivative works, not just literal copying, so if copying the API is a violation, so is such a direct transformation.