Live data from Hacker News

Bongo Cat

bongo.cat

121–130 of 208 posts

Re: Bongo Cat

#122
post #98

Earlier quoted context omitted.

Yeah, no native tools ever get written in different languages and frameworks. Or is it only not acceptable when Front End developers do it? Personally I've never known anyone do this for any other reason but educational reasons. When I wanted to learn React, I copied other websites in React. I do similar things when I'm learning Golang, or C, or any other language I'm interested in.

I’m not sure what the go/C equivalent of “Ugh, you’re using jQuery? Time for a rewrite” is. It happens a lot more in frontend land than in the rest of the developer ecosystem.

C/C++, WinAPI, anything Java.

Re: Bongo Cat

#123

In case you want (like me) to share your best art with you colleagues: let e = $.Event('keyup'); '09090586 '.split('').map((k, i) => {setTimeout(()=>{$.play(InstrumentPerKeyEnum[k],k,e.type==="keydown")}, i * 200); setTimeout(() => {$.play(InstrumentPerKeyEnum[k],k,e.type==="keyup")}, i * 250)});

It's not working in the console

Re: Bongo Cat

#124
post #98

Earlier quoted context omitted.

Yeah, no native tools ever get written in different languages and frameworks. Or is it only not acceptable when Front End developers do it? Personally I've never known anyone do this for any other reason but educational reasons. When I wanted to learn React, I copied other websites in React. I do similar things when I'm learning Golang, or C, or any other language I'm interested in.

I’m not sure what the go/C equivalent of “Ugh, you’re using jQuery? Time for a rewrite” is. It happens a lot more in frontend land than in the rest of the developer ecosystem.

“Ugh, you’re using C? Time for a Rust rewrite.”

Re: Bongo Cat

#130

In case you want (like me) to share your best art with you colleagues: let e = $.Event('keyup'); '09090586 '.split('').map((k, i) => {setTimeout(()=>{$.play(InstrumentPerKeyEnum[k],k,e.type==="keydown")}, i * 200); setTimeout(() => {$.play(InstrumentPerKeyEnum[k],k,e.type==="keyup")}, i * 250)});

It's not working in the console

Indeed, I forgot to define `e` on the same line, cheers.
Post reply on HN