Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
19873287234
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
19873287234
9y ago
No it works without using typescript. I just figures it out through... I have never thought about it. I mean, var p = new Cat();. I am sure it can find the cat definition easy and read the properties and so on. It probably can't prove
2.
▲
by
19873287234
9y ago
I really don't think it does that. Most refactoring is not like that. It is about changing things at a deeper level than just the type. I don't think they enhance code readability - I think they make it worse. I never look at the
3.
▲
by
19873287234
9y ago
At a place I worked at once, it was "use Microsoft for everything". So yeah.
4.
▲
by
19873287234
9y ago
The thing about magical refactoring though is that it often isn't a good idea. You usually don't just change the name of something, but you change it conceptually. If you just let the ide go and change the name everywhere, you cre
5.
▲
by
19873287234
9y ago
>Tooling is another major argument. vscode seems to figure out the types in javascript without any static typing. >But it is great for refactoring Searching for strings isn't that much worse. Also, when it comes to web developmen