Kissaki

joined 1 year ago
[–] Kissaki@programming.dev 4 points 2 months ago* (last edited 2 months ago) (7 children)

with this in mind

With what in mind? Evading NULL?

Languages that make use of references rather than pointers don't have this Dualism. C# has nullable references and nullability analysis, and null as a keyword.

What does your reasoning mean in that context?

[–] Kissaki@programming.dev 11 points 2 months ago* (last edited 2 months ago) (15 children)

The items don't seem concise and always clear. But seems like a good, inspiring resource for things to consider.

If it is expected that a method might fail, then it should fail, either by throwing an Exception or, if not - it should return a special case None/Null type object of the desired class (following the Null Object Pattern), not null itself.

I've never heard of evading null with a Null object. Seems like a bad idea to me. Maybe it could work in some language, but generally I would say prefer result typing. Introducing a result type wrapping or extending the result value type is complexity I would be very evasive to introduce if the language doesn't already support result wrapper/state types.

[–] Kissaki@programming.dev 2 points 2 months ago* (last edited 2 months ago)

It’s an operating system that demands more of you than does the commercial offerings from Microsoft and Apple.

Does it?

It's different, but I imagine they're not fundamentally different if you exclude established knowledge/already being used to something.

Normal office use for non-techy people is launching apps, editing documents, and surfing the web. That doesn't work much differently, not fundamentally different, and not fundamentally more difficult.

[–] Kissaki@programming.dev 17 points 2 months ago* (last edited 2 months ago) (1 children)

I wish standards were always open access. Not behind a 600 dollar paywall.

When it is paywalled I'm irritated it's even called a standard.

[–] Kissaki@programming.dev 14 points 2 months ago (8 children)

TOML instead of YAML or JSON for configuration.

YAML is complex and has security concerns most people are not aware of.

JSON works, but the block quoting and indenting is a lot of noise for a simple category key value format.

[–] Kissaki@programming.dev 1 points 2 months ago

It doesn't analyze only one repo

[–] Kissaki@programming.dev 3 points 2 months ago (2 children)

How is that related? I don't see it.

[–] Kissaki@programming.dev 1 points 2 months ago (1 children)

This is not my experience at all.

It seems we search for and look at different kinds of questions.

[–] Kissaki@programming.dev 2 points 2 months ago

At least that's a testament to neutrality - in a shitty way.

[–] Kissaki@programming.dev 1 points 2 months ago* (last edited 2 months ago) (3 children)

fake internet points

Your take is a valid one, but not very fair.

Points are a reputation system. People who are contribute and provide quality get increased trust and power.

It's not "fake". It's a designed system of points with meaning.

A casual surfer not being able to vote is by design. Which has a cost of missing out on valid votes, but the benefit of evading trolls and misuse.

[–] Kissaki@programming.dev 1 points 2 months ago

By responses you mean to include comments and moderation, not just answers?

It's sometimes there, but - from the [limited] use I have - I would certainly not qualify them as "most".

[–] Kissaki@programming.dev 1 points 2 months ago (1 children)

What do you mean by pissy? What do you find so pissy?

view more: ‹ prev next ›