let ret = someCondition ? expensiveOperation() : otherOperation()
?
let ret = someCondition ? expensiveOperation() : otherOperation()
?
Well, I don’t know your use case well enough, but I guess you might have perfect reason for that behavior.
One thing that comes to my mind is the old Try in C#
bool parsedSuccessfully = int.TryParse("123", out int result);
But I guess more popular approach would be to use Error as Values, right?
E.g. something like this
Outcome<Exception, Int> result = int.TotallyNewParse("123");
To be honest I always disliked variable declaration without value assignment, so to me both options suck. :)
Wait until you learn about transducers (Are they in Go? If not natively, someone definitely ported them) and the abominations fp people code with them.
Nah, most likely AI made the summary :)
The article says its OpenAi model, not Facebooks?
I think they did more - I vaguely remember them admitting they messed up the search result on purpose so the user will run more queries and will see even more ads.
Size and noise I guess.
Thanks dude. I’m not sure what I’m looking at though. As I mentioned in the top post, I’m new to this and it’s not my hobby.
You listed hardware, but gave no context how good it is for my needs - I think that’s why you got downvoted.
Thank you~!
I want to spend as little time on it as I can. Then I’d like to minimize the initial cost of it, or at least cost of exploitation.
I’m fairly busy with my hobbies (Lego and Arkham Horror LCG), so I’m looking for the solution. I’d rather spend more money than more time.
On the other hand, if I waste money on garbage I’m going to be cross and do it from the scratch again, so I’m trying to hedge my options before I commit - if that makes sense.
Thank you.
Next week 2 month / year when you decide to run something else or more, not so much.
Could you maybe give me an example of what that could be? I might be not knowledgeable enough about what I could do with it.
I don’t want to hear the fans
To be precise, only when not in use. When it’s working then yeah, its gonna cool down somehow.
Thank you, but I don’t want to keep my desktop running. The cooling noise, the electricity. Did I mentioned the fans? They are quiet but I can hear them, I want something that goes silent and wakes up when needed.
alternatives lack content
Maybe I’m old or smthing, but for the past years content on yt mostly sucks.
Few interesting and original channels and then galaxy of reacts to, recaps and AI garbage slop reading Reddit.
Cloudflare provides a pretty good service for a very reasonable price.
You mean selling fingerprinted user data to advertisers?
C# covers all feature of functional programming that comes to mind from Go (edit: not Go, what was it, Haskell?).
Traits? Done. Monads? Done. Functions as params? Sure. Closures, errors as values, whatever you want.
What are the specific language features you’re looking for or think are missing in C#?
Howdy. How do you make a board? Do you maybe also sell them?
Out of curiosity, could you give me an example? I usually think the opposite whenever I interact with other languages?
twee
I have very, very deep voice :)
Is calling someone Petal a slang or a regionalism? I, 30-something male, love doing that, petal.
Great example.
Wouldn’t
getchar()
be more appropriate here? Last time I used C it was 16 years ago.