#either

洪 民憙 (Hong Minhee)hongminhee@hackers.pub
2025-03-21

Revisiting Java's Checked Exceptions: An Underappreciated Type Safety Feature

hackers.pub/@hongminhee/2025/r

2025-01-26

Прагматичное функциональное программирование в Java

Прагматичное функциональное программирование в Java при помощи монады XResult<T> , которая сочетает в себе свойства Optional<T> , Result<T> и Either<L,R> Читать далее ...

habr.com/ru/articles/876736/

#monad #optional #result #either #error_handling

João Esperancinhajesperancinha@masto.ai
2024-10-22

What is the result of parMapOrAccumulate for a list of strings?

#kotlin #projectarrow #either

(NOTE: Find all answers on the Community tab of JESPROTECH over here: youtube.com/channel/UCzS_JK7Qs)

or

here

youtube.com/watch?v=Nu4py7xpf0

Beyond Dichotomywaymaking23
2024-09-07

🎙 is 'not a question of /#or. It's about beings & their relationships...responses and interactions with a given ." It's a matter of both our professional and our private lives.
Watch at: youtu.be/0K43cxLVQQA?si=bZ7Z-I
or listen: open.spotify.com/episode/1YAqI

2024-07-10

Episode seventy-three is up now! Today's song is Say Yes by Elliott Smith.

I discuss the way the seemingly crudely arranged elements come together beautifully, and how this song differs from the rest of his discography.

youtube.com/watch?v=y8XfAiaSMj

#podcast #dailypodcast #pigeon #pigeonsongspod #music #songs #elliottsmith #sayyes #either/or #eitheror #acoustic #indie

2024-05-28

I remember when "Lock her up!" was fine with them.
Now that "Lock him up!" is suddenly bad, this just proves that pronouns do matter to these people after all.
#pronouns #he #she #her #him #LockHimUp #throw #away the #key #LGBTQ #gender #neutral #feminine #masculine #GQP #GOP #attack #most #vulnerable #among #us for #political #power #culture #wars vs. #federal #charges #four #federal #cases & 91 #indictments for #crimes not #misdemeanors #either

2024-05-16

What looked good at the cafeteria and I really wanted -
The special: chicken wings w choice of dipping sauce, cole slaw, & parmesan french fries. For dessert, turtle cheesecake (huge blob of caramel on top).
What I got at the cafeteria instead -
Baked fish, rice pilaf. No dessert.
#turtle #caramel #cheesecake #please #parmesan #french #fries #too #nope #no #chicken #wings #either #baked #fish #summer is #coming #sun #bathing #swimsuit #weather #soon #tempting #cafeteria #today #lunch #special

2024-04-23

Где мне это пригодится в жизни или применение Nothing в Kotlin на примере

В данной статье я хочу показать, почему развитая система типов в языке программирования это здорово. Я попробую провести небольшой ликбез о таких на первый взгляд сложных вещах, как sealed-иерархии, ковариантность и тип Nothing на понятном практическом примере создания своей реализации типа из функционального программирования Either.

habr.com/ru/articles/809711/

#kotlin #системы_типов #функциональное_программирование #either #ковариантность #covariance #nothing

susomejias :verified:susomejias@hachyderm.io
2023-12-16

Muy interesante este vídeo dónde se exponen las ventajas e inconvenientes de usar Either vs Exceptions, nos os dejéis engañar por el título "clickbaitero" el contenido es top 👌

youtube.com/watch?v=8WdprhzmQe

#code #errorHandling #either #exceptions

Brooke Kuhlmannbkuhlmann
2023-07-22

Blending OO + FP is so easy in . My favorite is using monads to build elegant pipelines (a.k.a. the Railway Pattern).

One aspect, in particular, is pipeline termination -- the point where you unwrap your monad for final delivery -- and use of Dry Monads' `` is perfect for this.

Here's an example where I *either* log successful user deletion or fail with an error and abort. 🚀

💡A good watch is Scott Wlaschin's talk on Railway Programming (vimeo.com/113707214).

This is a snapshot of a Command Line Interface (CLI) action written using the Sod gem. It leverages the Railway Pattern to terminate and unwrap the monad as either a success (user deletion) or error (failure message and CLI termination).
2023-06-10

Laid out at my community gardens, 48th/ 10th, guy at Kinkos FedEx 40th/ 6th sent me to Staples 39th/ 5th for a nice walk #today in #NYC.
#color #copies #too #big #for #fedex #walking #Theatre #District #Clinton #Times #Square #Bryant #Park #partly #sunny #not #cloudy #either

2023-04-19

💡Java Exceptions are not my best friend. When I found replacement for it in Either my approach to coding changed drastically. In below post I wanted to share with you my thoughts on why in code it is better to use Etiher approach, and leave Java exceptions for JVM internals.

dev.to/michaltalaga/my-problem

ghost_shit 🪣ghost_shit@aus.social
2023-01-02

This "cool change" is #failing to #deliver on #either of its core #promises.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst