Hello, personally i am a "fan" of typescript, but i've used it on other
project and not in a ofbiz context (hello i'am new).
TS is a not a full replacement to JS but help to do better code. The
learning curve is easy for a user of JVM langage (Java, Groovy, Kotlin)
or Dotnet.
The killing feature for myself is the capacity to use interface.
But is not perfect : you must convert TS to JS (ES5 or ES6) with build
tool, you must define a pipeline with tools like gulp, webpack etc.
Carl
Le 21/08/2019 à 12:09, Nicolas Malin a écrit :
We use it on customer site, but I didn't work with it personally. I
will ask about it
Nicolas
On 8/18/19 11:11 AM, Jacques Le Roux wrote:
Hi Taher,
This Winter I began a try. But it was more complicated than I thought.
I worked on OfbizUtil.ts (from OfbizUtil.js).
I keep the work for now (was considering dropping it, but it's not a
problem to keep it)
Jacques
Le 10/12/2018 à 17:56, Taher Alkhateeb a écrit :
Try it where? How?
On Mon, Dec 10, 2018 at 7:41 PM Jacques Le Roux
<jacques.le.r...@les7arts.com> wrote:
Hi,
I was reading
https://www.thoughtworks.com/radar/languages-and-frameworks, for a
long time I'm interested by TypeScript. This is what they say:
*<<TypeScript <https://www.typescriptlang.org/>* is a
carefully considered language and its consistently improving tools
and IDE support continues
to impress us. With a good repository
<https://definitelytyped.org/> of TypeScript-type definitions, we
benefit from all the rich JavaScript
libraries while gaining type safety. This is particularly
important as our browser-based code base continues to grow. The
type safety in
TypeScript lets you use IDEs and other tools to provide deeper
context into your code and make changes and refactor code with
safety. TypeScript,
being a superset of JavaScript, and documentation and the
community has helped ease the learning curve.>>
Has anybody considered using it? Should we not try it?
Thanks
Jacques