And if you feel like types are too constraining for a part of your code, you can just leave them out. You get the best of both worlds!
And if you feel like types are too constraining for a part of your code, you can just leave them out. You get the best of both worlds!
There's no reason why you can't have types and contracts though. I personally can't live without compile time guarantees.
With my typing trouble I should have come to the user list and asked, but I dId not, frustrated and thinking I was too stupid to get it ^^'
I did once at least see a question on the mailing list, where the answer was, that typed racket could not do it, as in infer types, so it might not be perfect yet, or perhaps it did improve since then.
I wish more Schemes could just copy the typed part of typed racket, using that macro language, as in theory they should be able to represent it, but I guess the devil is in the detail and slightly different workings of macro facilities.
Do you think it is not possible to express these things in syntax-case? And if so, why?
And in C# at least contracts can be disabled for release builds so that the performance penalty is only inflicted on the developers.
[1] https://docs.microsoft.com/en-us/dotnet/framework/debug-trac...
http://planet.racket-lang.org/package-source/untyped/seleniu...
What I need is to make a diagram from a file produced by diagrams.net without me writing the parser (JGraphX can already parse diagrams.net's xml), show me a window where I can select and adjust elements by hand, transform the diagram programmatically in a language where I have both type-checking and good completion for (eg) the selected objects, export back to diagrams.net's format. Occasionally I want to extend the already interactive window myself. I also evaluated Typed Racket before picking Kawa and the JVM, but JGraphX was just a more appropriate tool for this specific workflow.
> There's also this (and others) for selenium
I remember finding that, and I counted it as a subset of Selenium's functionality rather than equivalent.
I agree on the sentiment on Racket though, as for the language itself Java was a second choice for me. What eventually convinced me to invest in it was that I could always call what I had already written from other languages on the JVM (mainly Scala and Kawa, which also happen to have decent repls) without writing any glue code.