HN user

lshevtsov

29 karma

Ukrainian. Systems architect at @railsware. Open source enthusiast. :: https://leonid.shevtsov.me

Posts6
Comments13
View on HN

It's because it is not proven that element with the index 1 exists. Even TypeScript enforces bounds checking these days.

As for the first one - as i understand, this will spoil the original array, as it is assigned by reference; so by writing the string into `numbersOrStrings`, you also write it into `numbers`, thus violating the type.

But why didn’t you give her the ice cream in the first place? Perhaps, because of a rule? Perhaps that rule was not so bad after all?

Vim ported to iOS 15 years ago

How exactly would going through 2 keyboards to switch modes work in a practical situation?

I'm a remote Ruby developer. Most of our team is on-site.

My main problem is: online communication makes discussion much more complicated than face-to-face, so you don't contribute as much ideas when people brainstorm or otherwise solve creative problems. If you have a lot of ideas, that can be depressing.

I visit the office several times a year, mostly to share thoughts and socialize.