HackerTrans
TopNewTrendsCommentsPastAskShowJobs

curious145454

no profile record

comments

curious145454
·há 3 anos·discuss
Are there any alternatives for KDE/Wayland?
curious145454
·há 3 anos·discuss
Does anyone find "Activities" a poor naming choice? I'd rather see Gnome's logo there, or simply nothing (https://extensions.gnome.org/extension/744/hide-activities-b...).
curious145454
·há 4 anos·discuss
Yes, it pretty much depends on what and how you're trying to compile. Incremental complication helps a lot, as does keeping sbt shell open and not restarting sbt each time.

In other news: now, there's scala-cli for smaller projects — https://scala-cli.virtuslab.org/docs/guides/scala-js
curious145454
·há 4 anos·discuss
I don't see anything in ReScript that hasn't been already covered by https://www.scala-js.org

Am I missing something?
curious145454
·há 4 anos·discuss
Apparently, there's another meaning to word "simpler", of which I'm unaware :D
curious145454
·há 4 anos·discuss
> This takes a bit more code to implement, but provides a simpler API for users.

I fail to see how hiding self.send() inside of IntoFuture makes anything simpler.

StorageRequest::new().set_debug(true).send().await?;

vs

StorageRequest::new().set_debug(true).await?;

Just reading the later variant makes me wonder "What are we (a)waiting for here? For set_debug to succeed?". I'd definitely stick to the former variant.

Perhaps, it's just not the best example and there are better usages than the one chosen to illustrate it.