soc

joined 2 years ago
[–] soc@programming.dev 1 points 9 hours ago

Perhaps, the linked page just does a poor job of selling that.

[–] soc@programming.dev 2 points 9 hours ago* (last edited 9 hours ago)

As someone also working on a minimal programming language, I might share some of the values, but using Go as an implementation language is an immediate turnoff.

Also, not having a single code example on the linked page is super-annoying.

People need to stop that.

[–] soc@programming.dev 1 points 9 hours ago

Incorrect.

Rust is not a functional, let alone functional-first language.

[–] soc@programming.dev -5 points 1 day ago (1 children)

Surprisingly, the beaten spouse does not plan to abandon their significant other in the foreseeable future. They stated that expertise in receiving a black eye is still valuable in the domestic violence sector.

This you?

[–] soc@programming.dev 1 points 2 days ago

And all of this due to the mistaken design decision to stick with the obsolete readiness-based model instead of going with the superior completion-based model.

(You can build a readiness-based API on top of a completion-based API, but not the other way around.)

[–] soc@programming.dev 4 points 5 days ago

What a confused post.

[–] soc@programming.dev 7 points 5 days ago

There is not much to learn, so just do it? It's not a relevant investment that would require much thought.

[–] soc@programming.dev 1 points 5 days ago

Yeah, avoids pointless debates whether they should be lined up in matches or not. :-)

[–] soc@programming.dev 1 points 6 days ago* (last edited 6 days ago) (2 children)

Many languages' Option and Result types suffer from an organically-grown and therefore inconsistently named set of functions that operate on them.

We can do better! The article demonstrates how a full set of useful methods with predictable names can be derived from few, simple rules.

[–] soc@programming.dev 13 points 6 days ago* (last edited 6 days ago) (1 children)

Absolutely delusional.

code that is readable, auditable, and easy to port

Yeah C is the language that comes to everybody's mind reading that. /s

C's simplicity ...

Is that simplicity currently in the room with us?

... and widespread adoption make it the best choice for this philosophy.

Ah, the asbestos argument.


If people want to run the latest kernels on hardware that isn't maintained anymore, they need to toughen up and send patches ...

... or they stick to an old kernel for their unmaintained hardware.

Both is fine to me, but that entitled Boomer attitude of "nobody should have nice things, because that would challenge status quo" needs to die.

[–] soc@programming.dev 0 points 1 week ago (5 children)

I see this complaint from Spanish speakers a lot,

Oh, why would that be? What a complete mystery! /s

 

A design that subsumes the various syntactic forms of

  • if statements/expressions
  • switch on values
  • match on patterns and pattern guards
  • if-let constructs

and scales from simple one-liners to complex pattern matches.

view more: next ›