Other languages, are you even trying?

Other languages, are you even trying?

Attached: csharp-e7b8fcd4ce.png (512x512, 13K)

Other urls found in this thread:

youtube.com/watch?v=vc04QKnryKs
github.com/arrow-kt/arrow
arrow-kt.io/docs/patterns/glossary/#higher-kinds
techempower.com/benchmarks/#section=data-r16&hw=ph&test=query
twitter.com/NSFWRedditGif

Someone tell me how can I learn C# on loonex.

java: microshit edition

wow!

C# is a shitlang.

I like C#.

Java : But actually good edition

No that's Kotlin.

Just learn kotlin/native. Shit can compile even for raspberry pi (thanks to based LLVM).

I forgot to mention that you can include C LIBRARIES and work with them in kotlin/native. Just watch this shit - youtube.com/watch?v=vc04QKnryKs

How much do they pay you to shill Kotlin?

How much do they pay you to shill C#?

By your logic everyone who makes a linux thread is a linux shill, right?

Dotnet core my man.

Java 10+ is better and Kotlin is way better.

kotlin is below Dart in TIOBE.
Let that sink in for a moment.

stop shilling this piece of shit.
>windows desktop only (no .net core doesnt count it cant even make programs with gui's)
>only good IDE's for it are all closed source and expensive
>slower than java
>most of the features people praise c# for are literally unnecesary bloat (like seriously why the fuck do we need 3 ways of printing out shit on the console)
>properties are gay
>delegates are gay
>partial classes make unreadable code
>forced namespaces because "muh appeal to c++ fags" while the language has no use for it whatsoever
>unsafe blocks
>and many more......

Attached: 1375124341603.png (449x561, 208K)

dotnet core
your editor of choice

You can, VSCode + DotnetCore but from my experience it was such a huge pain to debug i just VNC into my Windows desktop instead and use a real IDE like Visual Studio with native and instant C# debugging

also unity if your epic gamers like me

>Expensive
Visual Studio is literally free.
>Slower than Java
no, but more functional
>Windows desktop only
which is what the majority of the world uses, but i'll give you that one
>... gay
no u
>unnecessary bloat
it's called usability, but i guess you arch linux autists that would rather type in "sudo shutdown -h now" instead of pressing the power button can never understand
>forced namespaces
agreed, that's just retarded
>unsafe blocks
bullshit

Again, Kotlin beats the shit out of it because:

- the language itself is better than C#
- you can make use of the huge ecosystem of Java because Kotlin and Java are interoperable while C#'s ecosystem is crap compared to Java's
- even creating desktop applications is easier thanks to JavaFX/TornadoFX and they're actually cross platform
- also functional programming

-visual studio is only free,if you are using the community edition.as soon as you want to actually write a commerical software you have to pay up big money.
-not enforcing that one file can only have one class leads to unmanagable projects.
-not enforcing that the class name is the same as the file name leads to unmanagable projects
-why the fuck did microsoft add "dynamic" to c# if they didnt wanted you to use it
-string is used with a lowercase s because fuck consistency also lets hide it from beginners that strings are not primitive datatypes
-function names are CamelCase because fuck being organized
-unchecked blocks because fuck safety
-unsafe blocks because fuck safety yet again
-give programmers the [Flags] attribute so they can use enums as bitflags but dont give them a fucking builtin class or struct that would make its use easy,id rather use bitflags with c++
-properties are still gay and unnecessary getter/setter functions are literally perfect
-lets have a foreach loop but make its syntax fucking ugly so they wont say we stole it from java
-lets have two ways of declaring constants(const and readonly) for no reason but hey,at least the language is harder to learn for beginners which is a plus at microsoft

and i could literally sit here all day listing why java is a million times better than this piece of shit language

*blocks your path*

Attached: gopher.png (1634x2224, 111K)

Attached: 1396685392904.png (500x500, 77K)

masochistic and c_u_c_kpilled

Attached: 1535652288935.gif (1000x563, 353K)

not an argument

>(((TIOBE)))

Neither is yours.

Attached: deal with it.gif (380x270, 1.12M)

it literally is though.i used both java and c# for years at different companies but i give you another chance,sell me c#

>i used both java and c# for years

Attached: 1390554682793.jpg (453x576, 62K)

>functional programming in kotlin
hahaha

what? u stupid? it's totally possible

github.com/arrow-kt/arrow

does kotlin even have hkts?

First of all, you don't need hkts for functional programming and even if you did has them.

>you don't need hkts for functional programming
If you consider fp to be anything more advanced than map/reduce/filter then you certainly do.
> even if you did has them.
How is it done? If kotlin doesn't actually support hkts then I can only assume it's using some annotation processor hacks.

arrow-kt.io/docs/patterns/glossary/#higher-kinds

I'm impressed and sickened at the same time. This is the kind of language contortion I expect only sepplesfags to pull off.

They don't need to

Attached: 1538143303183.png (1578x1668, 187K)

but I think I remember reading somewhere that they might add hkts to Kotlin. that being said, kotlin is not supposed to be a replacement for scala or haskell.

We use VS community at work because we are a company of 5, we have made several large projects.

Partial classes do not necessarily lead to unmaintanable projects, we do just fine and every time we use them it makes sense.

What's wrong with camel case

Who cares about string/String

It's nice to have the option to be unsafe if you need to be.

Properties are infinitely better than java style field & useless getter/setter LOC bloat

Const is for value types and readonly for reference types.

That's exactly why I was skeptical about FP in Kotlin.

but having decent functional programming capabilites is better than not having any or bad functional programming capability, wouldn't you agree?

what's the point of using a safe language when you're going to use unsafe features anyway?

>VS is expensive
Yes. But so is work. To compare it
My employer pays 750k CZK per year for my work. MSDN Enterprise subscription costs 134k CZK for first year and 56k CZK for reneawal. And that includes more stuff than just VS.

>One class per file
That is more of a taste. Files and classes are minor problem when ti comes to software design.

>Dynamic
I agree with there. But there is no problem with language itself. Just MS wasting time implementing it. Just ignore if if you don't use it.

>String
Every tutorial about C# specially points of String being special.

>naming conventions
This is just taste.

>unsafe
There is reason why it needs to be enabled on assembly level. It is option for developer to make use of. Better than it being on by default.

>Flags
True. But that is barely used.

>Properties
lol. Every time I hear Java fags whine, it is about missing properties.

>const vs readonly
They are confusing if you are retarded.

And lets not forget Java' "generics" which are just laughinstock. Lack of lambdas (yeah, they exist in newer langauge, but are totally absent in libraries). Lack of value types.

Getters and setters are not good OOP practice. Properties, being nothing but syntax sugar for this broken idiom, are therefore a misfeature.

>Lack of lambdas (yeah, they exist in newer langauge, but are totally absent in libraries).
Java lambdas are just syntax sugar for anonymous classes, which is what were used in older versions of the language. In other words, Java lambdas are perfectly forward and backward compatible and there are no issues integrating with out of date libraries.

Anyway if you really want gay shit like properties just get Lombok.

based PHP outperforming almost everything. True language for us performance enthusiasts.

To discourage its use but allow people who know the tradeoffs to use it in the essential cases.

Hmm, I'm not sure what you mean by being not good OOP practice. I think I do. Do you have a blog post that can explain it better?

bullshit benchmark

check this for real ones techempower.com/benchmarks/#section=data-r16&hw=ph&test=query

Its not "bullshit" . Its just benchmark of regex implementation. I think .NET Core doesn't (didn't?) have compiled regexes at the time.

Big words for a better Java 6/VB with another syntax.
t. C# dev

c sharps reflection is next to godliness. You can literally write and compile code at run time to CIL. E.g. you can make insanely fast serialiser by inspecting a class once using relfection, writing a method to serialise/deserialise it, then compile this method and you have an incredibley fast serialiser.

Expression Trees are insanely good, as is LINQ. For writing mini-compilers, I don't think anything compares to .NET.

C# utterly BTFO

Attached: Screenshot from 2018-10-21 23-27-30.png (1888x1224, 454K)

Not to mention c sharps generics are compiled at runtime, making them have the efficiency of c++ templates whilst having unboxed valuestypes unlike java, plus reference types aren't compiled twice like in c++.

Nearly any dynamic language can accomplish that. You should try a Lisp.

Mono.

unsafe mode is fantastic when you need proper pointers and mutable strings. It's speed when you specifically need it, whilst usually you can use safe mode. How could you be against even the option of having a faster, less safe mode?

>-visual studio is only free,if you are using the community edition.as soon as you want to actually write a commerical software you have to pay up big money.
you don't have to pay big money, your company will, or you are that guy who write commercial software every day by himself and so poor you can't afford license (reactivating trial for 180days)?

>-not enforcing that one file can only have one class leads to unmanagable projects.
>-not enforcing that the class name is the same as the file name leads to unmanagable projects
its up to you how you manage your classes, no one forces you to have single class in single file

>-why the fuck did microsoft add "dynamic" to c# if they didnt wanted you to use it
ASP.net uses it a lot, also you are free not to use did you know it? and apart from ASP.net apps i NEVER seen anyone using dynamic.

>-string is used with a lowercase s because fuck consistency also lets hide it from beginners that strings are not primitive datatypes
if your are beginner who define what is primitive and what is not by looking at first letter of datatype you are not beginner, just bonehead

>-function names are CamelCase because fuck being organized
not an argument

>-unchecked blocks because fuck safety
>-unsafe blocks because fuck safety yet again
don't use it if you don't need it, and since you already showed how stupid you are you'll never use anyway why complain?

>-give programmers the [Flags] attribute so they can use enums as bitflags but dont give them a fucking builtin class or struct that would make its use easy,id rather use bitflags with c++
only valid argument

>-properties are still gay and unnecessary getter/setter functions are literally perfect
are gay - not an argument, i see no problem with {get;set;} why would i write { get { return field; } set { field = value; } } ???
if i really need some logic in getter/setter then ill write it, if no then why care?

>-lets have a foreach loop but make its syntax fucking ugly so they wont say we stole it from java
foreach(var item in collection) and now tell me what exactly is so fucking ugly in this syntax? it tells exactly what you are about to do

>-lets have two ways of declaring constants(const and readonly) for no reason but hey,at least the language is harder to learn for beginners which is a plus at microsoft
or you can stop being little faggot and spend 1 minute learning difference between const and readonly because they are not even close to be "same thing"

and why you always point out that its so hard for beginners didn't you had many years of experience with java and c#?

these dynamic languages don't actually compile the code you generated at runtime, so it's much slower.

In .NET you can compile it down into an assembly which is JITed into machine code.

It's much much more powerful than something like eval in JS or scheme. We've written serialisers, database engines, database languages and javascript compilers which are much more powerful and quick using it.

>these dynamic languages don't actually compile the code you generated at runtime, so it's much slower.
That's literally what read is.

Better than Java 6 but way not perfection.

sorry I'm not familiar with read, is this a lisp thing? I only have experience with scheme from a while back.

>these dynamic languages don't actually compile the code you generated at runtime
this is the purpose of JIT, no?

JIT is ambigious term and JIT on one platform might have completely different characteristics than JIT on different platform.

While true, the separated assembly/machine code isn't a best of both worlds kind of approach.

Java is pig disgusting, I'm sorry you are trapped working with java.

>Java is pig disgusting
give us reasons

>using regex
lmao, how about structure your data properly and filter it specifically for that data.

What is this picture from?

I mean, java conventions are just ugly in comparison to C#

>not enforcing
because muh freedom.
>unsafe blocks because fuck safety yet again
c# can be used for marshalling (injecting c code). also for autismo tuning of the code (granted, this might be better done with vanilla c), but I suppose it's easier to have the code in the solution instead of referencing from the outside.

>Const is for value types and readonly for reference types.
wrong. readonly can be set in the constructor, const, once declared, cannot.

be specific because otherwise you're just parroting.

>would rather type in "sudo shutdown -h now"
that hurts you know

I've worked with Java for 10 years and C# isn't that much different. I'm not crazy about it's naming conventions but I love Tuples.

I like that C# has structs which are actual value types (you can pass them by ref if you want, though).

In general, C# has seen lots of change in the last 15 years, while Java has not (EE is still annoying bullshit)

Adults are talking, you should go back to your fizzbuzz project.

c sharp is one of microsoft's greatest accomplishment

>In general, C# has seen lots of change in the last 15 years, while Java has not (EE is still annoying bullshit)
>while Java has not
LOL.. seems like you have missed the changes of Java 8,9 and 10? The amount of unknowing retards on this board is just astonishing.

also Spring Boot is a million times better than ASP.NET and Vert.X is a million times better than Core

Java has J2EE, big data and anything to do with Oracle.

What does C# have?

>LOL
The java pajeet reveals himself.

>anything to do with Oracle
Wouldn't "anything to do with Oracle" be a bad thing, considering the company's current reputation?

>C#
>Trying
Try harder please

Attached: tripdogclipped.gif (260x250, 1.11M)

.NET is built on microsoft failing at stealing java from sun microsystems

>bad reputation
Outside of Jow Forums aspies who are hobbyist programmers at best and technology enthusiasts at worst, no one cares.

If you run a business that relies on technology, a licence fee for insurance that the compiler works isn't a problem.

C#'s naming conventions are retarded. Everything is pretty much PascalCase except parameters. Dumb, dumb, dumb.

I don't see why that's a problem. PascalCase methods don't get in your way because you'll never confuse them for types, but you will avoid confusing them for variables.

>java brainlet discovered

best beginner learning resources?

I prefer languages for white men.

Attached: 1200px-Haskell-Logo.svg.png (1200x847, 15K)