innoave / soda Goto Github PK
View Code? Open in Web Editor NEWSoda for Scala is a like soda for drinks. A set of (small) individual libraries to speed up development of applications in Scala.
License: Apache License 2.0
Soda for Scala is a like soda for drinks. A set of (small) individual libraries to speed up development of applications in Scala.
License: Apache License 2.0
Lets assume we want to localize a sequence of a case class or case object. For example write something like
case class Player(val name: String)
val players = List(Player("Frank"), Player("Paul"), Player("Susan"), Player("Alice))
render(players).asLocalText
render(players)
is currently not supported.
It should be easy to add support for sequences.
Think of implement support for sequences in a more generic way, such as using Traversable.
Currently a message can be specified to have up to 3 dynamic arguments.
More than 3 arguments shall be supported.
Some research is needed, what would be a reasonable maximum for message arguments. How many arguments are needed by real world applications.
Currently only a view locales are statically definied, e.g. EN, EN_GB, DE, DE_AT, ...
More static definitions of locals for most used languages should be added.
Extract an API - something like RenderMessage or MessageBundle - to support different implementations for rendering localized messages.
Currently the implementation based on the java.util.ResourceBundle and java.text.MessageFormat is tightly coupled to the API and does not allow different implementations.
The methods #renderLocalized in trait RenderLocalized are recursive but not tail recursive.
This should'nt be that big problem due to the dept of cascaded case classes is not expected to be any big number. Anyway it would be cool to make this functions tail recursive.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.