https://www.jornalmapa.pt/

https://www.jornalmapa.pt/

QmVjYXVzZSBPY3QgMzEgPSBEZWMgMjUuCg
🤪
QmVjYXVzZSBPY3QgMzEgPSBEZWMgMjUuCg
🤪
QmVjYXVzZSBPY3QgMzEgPSBEZWMgMjUuCg
🤪
QmVjYXVzZSBPY3QgMzEgPSBEZWMgMjUuCg
🤪
> [...] for example, the obligation to establish points of contact for authorities and citizens [...]
> \n for example, the obligation to establish points of contact for authorities and citizens \n






The closest to get to if expressions at the moment is to use a lambda:
foo := func() {
if bar {
return "spam"
}
return "eggs"
}()
But that's also not elegant at all.=


if foo ... else bah
, but probably doesn't fit the styoe of the Go grammer.What I absolutely hate is this proposal. Making
?
to magical™ things, making the code harder to read and reason about is bonkers.
if foo ... else bah
, but probably doesn't fit the styoe of the Go grammer.What I absolutely hate is this proposal. Making
?
to magical™ things, making the code harder to read and reason about is bonkers.
Und die TYPO3-Core-Entwickler nehmen gefühlt jeden fancy Shice mit, den sie gerade finden. Das reißt dann immer wieder Prozesse ein oder es muss ein gigantischer Aufwand betrieben werden, damit "grundlegende" Funktionen wieder hergestellt werden.
In den Kommentaren ist dann immer nur zu lesen "Tja, Pech. Gibt's nicht mehr. Sei froh, dass wir 'ne undokumentierte Schnittstelle dazu im Code versteckt haben. Bau's dir selbst."
Und der OpenSource-Gedanke ist bei einigen Erweiterungen (die als Quasi-Standard gelten) auch nur noch zu erahnen. Da müssen teilweise Abos abgeschlossen werden, damit einige Funktionen genutzt werden können.
Es wird auf jeden Fall nie langweilig.
That's my alt-feed by the way! 😉
That's my alt-feed by the way! 😉
s
const value = some?.deeply?.nested?.object?.value
but for handling errors returned by methods. So if you wanted to chain a bunch of function calls together and if any error return immediately. It would be something like this:
b:= SomeAPIWithErrorsInAllCalls()
b.DoThing1() ?
b.DoThing2() ?
// Though its not in the threads I assume one could do like this to chain.
b.Chain1()?.Chain2()?.End()?
I am however infavor of having a sort of ternary
?
in go.PS. @prologic for some reason this is eating my response without throwing an error :( I assume it has something to do with the CSRF. Can i not have multiple tabs open with yarn?
#running #treadmill
#running #treadmill
#running #treadmill