Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
leksyib94516yYou're wrong. Microsoft is going to lure JavaScript developers into C# through typescript
-
Yep. The language is being polluted with unnecessary stuff from the functional world. There's nothing inherently wrong with that stuff, but a language suffers when too much (subjective, I know) sugar is added with no functional gain (thinking of swift here).
-
@freeme I don't. In fact, I'm a novice in Swift. Compared to C#, C++, though, I've found simple things in Swift like constructors, to be strangely complex compared to its counterparts in the other languages.
-
@monkeyboy why would they add it in C# there is F# for that.
Or do you mean the dotnet framework? In that case that is used by both languages and more. -
I don't see the issue, most of the new things (which I very much do like) are opt-in. If you do not want to use those things then just don't, at the core is still a very good object oriented language. The new stuff just leases the pain of some problems with object oriented programming
-
Bit of topic but I'd love to create some JS# language, just a subset of pure C#, that transpiles to JS.
-
@CodeMasterAlex you mean webassembly, which is what you want except it has better performance because its not JavaScript but a compiled language.
-
@Codex404 No I mean just that what I said. It's because I have backend guys in my team and then it would be so nice to just write c# code to create JS stuff. Currently studying a language that allows to create such stuff which makes me think about things like that :)
I know about webassembly and Blazor. Really cool but not yet mature enough. -
@CodeMasterAlex webassembly will be mature before you can make a C# to JavaScript transpiler.
-
@Codex404 Then brace yourself! The future is now old man.
What I mean to say is, there are already plenty of good options for c# to js compilers -
@Codex404
Frontend aka browser: https://bridge.net
Backend aka node: http://tjanczuk.github.io/edge/
And technically you could add blazor and asp.net forms stuff
Related Rants
Microsoft is gonna merge C# with absolutly every programming paradigma possible
rant
wk127