Better HN
topnewbestaskshowjobs
Log inSign up

Neist

1 karma · joined Mar 21, 2018 (8y ago) · 3 submissions

Submissions

comment 8y ago · link · parent

Hi! Yeah, you're right! This was a 1-minute quick'n'dirty solution :-)

comment 8y ago · link · parent

They sure make it sound more complicated than it really is... I'm a self taught developer too, so I get where you're coming from :-)

In javascript I would solve it like so: "HELLO".replace(/./g, character => String.fromCharCode(character.charCodeAt() + 1))

This would result in "IFMMP".

Basically it's just a matter of shifting charcodes.

3.

Show HN: Asynchronous HTTP framework with support for ES modules(github.com ↗)

1 points · by Neist · 8y ago · discuss