So, what's up today. July 3rd, nobody at work. I'm continuing my investigations.
And yes, I was investigating the code. I guess now, the programmers are just beginners that read the Red Book (FP in Scala).
where
Meanwhile, a bot "upgraded" the same project, and now it does not build. Asked Sam about dependencies, she gave me a good advice; ok.
But the code is no deprecated, with an updated library, so, warnings. And I started fixing warnings.
And yes, I was investigating the code. I guess now, the programmers are just beginners that read the Red Book (FP in Scala).
Here's a code sample:
object Server {
private[this] def recordToString[A, B](record: Record[A, B]): String =
record.headers.toChain.toList
.map(s => s"${s.key()}, ${String.copyValueOf(s.value().map(_.toChar))}")
.toString()
//...
where
class Header... {
def key: String
def value: Array[Byte]
...
(this is from Kafka library)
Kids writing code for banks.