Closed jontonsoup4 closed 8 years ago
:+1: pls merge this thx
+1 I think this PR really improves the application.
Wouldn't it be better to have these names as aliases for the existing functions? We don't want to break existing code that relies on this library.
If you're currently doing the long handed imports
instead of the one line magic
, you don't deserve to be noticed by senpai
Or rather, you don't deserve to be noticed by senpai.
On Jan 25 2016, at 9:16 pm, Jonathan Reed <notifications@github.com> wrote:
If you're currently doing the long handed
imports
instead of the one linemagic
, senpai doesn't deserve to notice you—
Reply to this email directly or view it on GitHub.
crucial update pls notice.
Is it possible to allow
notice my_json_file
?
@nbasu02 You say that as if something would rely on this library.
@milkey-mouse that's the joke
this is the first github commit i slow clapped
I added back an alias for the legacy imports()
meaning that previous dependencies on this module will not be broken. This PR now has thematic importance as well as backwards compatibility back to any applications running this on 2.6
Description
In order to thematically maintain the senpai narrative of json, I propose keeping in character by changing the implementation of
imports
tonotice.
Since the current preferred method is importingmagic
which essentially does the same thing asimports
, changing this method tosenpai
will keep with the theme and allowjsonsenpai
to notice me.In addition,
imp
is a depreciated lib, so I changed that totypes
instead. The same functionality takes place. I also cleaned up some formatting because senpai likes his code neat.Before
After