Hacker News new | ask | show | jobs
by strager 5180 days ago
> var n = 42; n.[[TAB]]

No auto-complete. It's severely limited to only live objects. Which may be an argument for REPL, but it's not an argument for "dynamic languages can have autocomplete".

1 comments

I have intelligent object method/property auto-completion in Python in Emacs.

The argument for "dynamic languages can have autocomplete" is that they already do in a variety of modern editors (like Emacs) and IDEs (like PyCharm et al).

You're not only ignorant, but proudly so.

You're right that autocomplete does exist, but in my experience it's very limited in dynamic languages.

For example, the following code does not give me any auto-completion suggestions in eclipse or in vim:

  str = "hello"
  test(str)
  
  def test(val):
    val.[TAB]
I wasn't saying it's not possible to have autocomplete for dynamic languages. I've used VJET, a pretty good Eclipse plugin for JS development.

I was saying that "Even something as Spartan as the Javascript REPL in Chrome" can't do "real" autocomplete.

Vim can be a decent, fast Python IDE with the right plugins too: http://dancingpenguinsoflight.com/2009/02/python-and-vim-mak...