Paxxi,
@Paxxi@hachyderm.io avatar

Looking at grpc Java examples and crying. If this is the apis produced by 6 figure salaries I'm badly underpaid.

Rectangle.newBuilder()
.setLo(Point.newBuilder().setLatitude(lowLat).setLongitude(lowLon).build())
.setHi(Point.newBuilder().setLatitude(hiLat).setLongitude(hiLon).build()).build();

Paxxi,
@Paxxi@hachyderm.io avatar

Looking through grpc.io for the various languages it really shows how lacking Java is when it comes to async work. The examples for Kotlin and C# are so much nicer and easier to read and reason about compared to the inline classes and callbacks in Java.

Being in the process to move to java 11 the green threading work feels very much out of reach when it's released

patriksvensson,
@patriksvensson@mstdn.social avatar

@Paxxi what the fuck? 😳

Paxxi,
@Paxxi@hachyderm.io avatar

@patriksvensson yeah, every generated protobuf type use that builder pattern and is extremely verbose

Paxxi,
@Paxxi@hachyderm.io avatar

@patriksvensson lusting for automapper is at an all time high 😂

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • InstantRegret
  • thenastyranch
  • magazineikmin
  • GTA5RPClips
  • rosin
  • osvaldo12
  • tacticalgear
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • modclub
  • Leos
  • everett
  • provamag3
  • cubers
  • cisconetworking
  • ethstaker
  • Durango
  • mdbf
  • anitta
  • megavids
  • normalnudes
  • tester
  • JUstTest
  • lostlight
  • All magazines