Recently I have been working on a AngularJS/Angular hybrid application.
Part of this involve having parallel routers. This requires coordinating the two systems as to which routes should be Angular and which should be AngularJS
The typescript compiler cannot generate browser js.
Angular CLI does not allow the creation of modules that are not used for dynamic loading.
I considered using xslt to create both files that we needed.
In the end I used a json file that is checked by the typescript tests and put in the assets area so deployed by the Angular CLI.
Go solves the date parsing by using a magical reference date.
You start with this date
Mon Jan 2 15:04:05 MST 2006
Adjust it into whatever format that you use and use it for parsing dates.
This is neat solution. It would be even better if the go documentation for time.Parse were to mention it.
I found the solution here: https://programming.guide/go/format-parse-string-time-date-example.html
This has now been raised as https://github.com/golang/go/issues/48757
I am currently studying Golang as I may need to use it in an upcoming project.
So far it is
C-- `as it is C with certain dangerous features removed.
There is no macro system. You can’t do pointer arithmetic.
The compiler is not quite as helpful as some languages that I have used recently (Elm and Elixir).
It’s not object-oriented or functional. You get old school procedural programming.
Given that it is compiled there is no repl to help. The documentation is a bit restricted. For example when looking at date parsing there are no examples on building custom strings.
It is fast and handles complex numbers natively.
Not yet reached using goroutines.