96
mkopter
4y

I see, my IDE has mastered semantics. Next step is to master context as well.

Comments
  • 2
    How can I aquire this feature.
  • 12
    @Ranchu In PhpStorm it's under Settings > Editor > Inspections > JavaScript > General > Suspicious name combination
  • 18
    "Whoa! That Blockchain based AI is awesome!"
  • 1
    Why don't you have a swap function?
  • 10
    @Ranchu @Jilano

    The infamous OpenAI's GPT-2 natural language AI model:

    https://openai.com/blog/...

    has in fact been trained on millions of lines of sourcecode from Github. The result is that is understands the syntax & context of most popular languages quite well.

    So well, that when I start writing an Eloquent ORM database migration, my input is

    "sc<tab>u<tab><tab>$<tab>"

    to get:

    Schema::create('users', function (Blueprint $table) { $table->increments('id'); })

    And yes, it's language-agnostic. It works better, the more popular a language is on Github, although it does understand quite a bit just from the context of your project as well.

    Check here for instructions on how to install the plugin in popular editors (make sure you understand the privacy implications of running it local vs cloud-driven):

    https://tabnine.com/blog/deep/

    I could not live without my little AI buddy anymore.
  • 1
    @bittersweet I'll definitely look into it! Thanks
  • 0
  • 1
    @bittersweet this thing is crazy. I love it already. Thank you for sharing.
  • 0
    I'm laughing so hard.
  • 0
    Thinking about it... if it ever masters context... we are in danger.
  • 2
    @c3r38r170 When it can also understand intent, and ask for clarifications when it encounters logic errors, then we as developers will be unemployed.

    I'd argue that at the moment, our main job as developers is not to write code — that's fairly irrelevant, it's just what we feed the machine. For good developers it's also almost trivial. How much time do you really spend tapping keys to input letters into your IDE?

    Our hardest job is telling the product manager that their logic is flawed, that it's impossible to build an interface flow which leads from A to B to C when step B requires data from C. How much time do you spend discussing features with coworkers? Probably more than you actually write code.

    And there are plenty of "no-code" solutions, but developers still have jobs because business-inclined people come up with ultra complex feature requirements, and still need rational thinkers to unravel the flaws in their logic for them.

    If an AI starts bridging that gap, we're fucked.
  • 2
    @bittersweet

    Ahem...

    I hope... I hope you are not talking to me.
    I'm the only dev where I work.

    But you are totally right yes. That's why someone important said that only AI developers will be the ones with jobs in some time. Or something like that.
  • 1
    @Lor-inc why don't we just
    ```js
    [height,width] = [width,height];
    ```
Add Comment