Albin Jose@kerala.party to Programmer Humor@lemmy.ml · 1 year agoBehind The Sceneskerala.partyimagemessage-square62fedilinkarrow-up1891arrow-down123
arrow-up1868arrow-down1imageBehind The Sceneskerala.partyAlbin Jose@kerala.party to Programmer Humor@lemmy.ml · 1 year agomessage-square62fedilink
minus-squareNeutrino@lemmy.worldlinkfedilinkarrow-up105·1 year agoimport time … … time.sleep(5) … time.sleep(5) … time.sleep(5) … time.sleep(5)
minus-squareAwkwardparticle@artemis.camplinkfedilinkarrow-up23·1 year agoI was going to say it was missing the sleeps every other line.
minus-squareikidd@lemmy.worldlinkfedilinkEnglisharrow-up6arrow-down2·1 year agoBlocking code gets your peepee slapped.
minus-squaredQw4w9WgXcQ@lemm.eelinkfedilinkarrow-up11·1 year agoMono.just(“Penetrating system”) .doOnNext(System.out::println) .delayElement(Duration.ofSeconds(1)) .flatMapMany(() -> Flux.just(“20%”, “40%”, “60%”, “80%”, “100%”)) .map(“Hacking NASA %s”::format) .doOnNext(System.out::println) .delayElement(Duration.ofSeconds(1)) .subscribe(); Better?
minus-squarefsxylo@sh.itjust.workslinkfedilinkEnglisharrow-up4·1 year agoI can tell I’m getting better at programming because I’m getting better at reading meme code.
import time … … time.sleep(5) … time.sleep(5) … time.sleep(5) … time.sleep(5)
I was going to say it was missing the sleeps every other line.
Blocking code gets your peepee slapped.
Mono.just(“Penetrating system”) .doOnNext(System.out::println) .delayElement(Duration.ofSeconds(1)) .flatMapMany(() -> Flux.just(“20%”, “40%”, “60%”, “80%”, “100%”)) .map(“Hacking NASA %s”::format) .doOnNext(System.out::println) .delayElement(Duration.ofSeconds(1)) .subscribe();
Better?
I can tell I’m getting better at programming because I’m getting better at reading meme code.
It’s so beautiful!