HNHacker News
TopNewBestAskShowJobs

steverydz

150 karma · joined September 29, 2012

[ my public key: https://keybase.io/steverydz; my proof: https://keybase.io/steverydz/sigs/ZJlrdL8hYccOZeR_b4M_-4in1c08Ud8KPdr4DJBruJM ]
submissionscomments
steverydz··on Stop giving code examples in TypeScript
> People using JS regularly should be able to separate out TS noise, and asking the world to avoid TS for _every_ piece of knowledge content sounds like hyperbole.

I have worked with junior developers who struggle with this. I am not suggesting that all knowledge has to avoid TS, only that which isn't related to it. People who are new to the language want and need to learn _actual_ JS.

It's easy to not see this as a problem when you already know TS. Yes, it is clear what TS is once you know it. Imagine not knowing TS or the concept you are trying to learn about. What part of this is TS? What part of it is the information I am trying to find?

> Then why include it in your argument?

I was simply illustrating that there can be a tendency to assume knowledge which isn't relevant to the problem being solved.

steverydz··on Stop giving code examples in TypeScript
Type annotations can add a lot of noise to the code if you don't understand what they are. Bear in mind I'm talking about someone trying to learn something. If they don't know TS you're expectng them to boil code they don't understand down to its essence.

In regards to the jQuery comparison, I'm not suggesting that someone would ask such a question of TS. All I'm saying is that there was an expectation that everything should be done in jQuery at the time.

steverydz··on Stop giving code examples in TypeScript
I'd say it depends on your JavaScript experience prior to learning TS. It will be easier for some than others. I don't think it's fair to assume that most people will find it straightforward.
steverydz··on Stop giving code examples in TypeScript
I couldn't agree more. I see this with React too. You can go a long way without knowing much about JS as a language. You can also get a lot more out of tools and frameworks once you understand what problems they are solving.
steverydz··on Stop giving code examples in TypeScript
I wouldn't be so sure that MOST devs would use TS. It certainly is popular and dare I say trendy, but I know more people and projects that don't use it over those that do.
steverydz··on Bing Digital stole my website
Indeed. Hoping they do the right thing and take it down quickly. Don't particularly want to go the legal route, but will do so if I have to.
steverydz··on Bing Digital stole my website
Good point, thanks :)
steverydz··on Keeping a debugging journal
That sounds like a great idea!
steverydz··on Keeping a debugging journal
I just started it this afternoon but do intend to share it once it fills up a bit. I'll update the post when I do this.