Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I see Manifold as a huge leap past previous tools Immutables or Lombok. I understand there's a use case where you want to add these language features to an existing code base. But for the most part if you want the language features on the JVM, you should probably just use Scala. That gives you a set of established patterns, best practices, libraries, and a community of users.

If you want type safe SQL in particular, you can pry JOOQ out of my cold dead hands.



> just use Scala

Scala is a dying language, anyone boarding that ship is making a mistake. Anyhow, I prefer Java supplemented with powerful features Scala doesn't have, such as type-safe SQL.

> If you want type safe SQL in particular, you can pry JOOQ out of my cold dead hands.

Jooq isn't bad, but it's not SQL, it's Java trying to be SQL. Manifold lets you write type-safe, native _SQL_ of any complexity directly in your code.


I have never seen anyone use manifold. Are you saying that I should use something like that in a serious production environment over Scala, that is a huge language with people that actually know it?

Especially that you call it a dying language, when it just got reborn, and better than ever with Scala 3.


> Jooq isn't bad, but it's not SQL, it's Java trying to be SQL.

Can you elaborate on this? I have been using JOOQ for years (with Kotlin), and I have never had any issues with it "trying to be SQL".


once you write jvm language you can't really be dying language. how can yoy die if you can use all jvm tech stack. Its just all about syntax. You can write powerful state of the art software even in brainfuck as long as it compiles to jvm bytecode


> powerful features Scala doesn't have, such as type-safe SQL.

What? This site is getting worse by the day.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: