[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: NET_Core_Logo.svg.png (71 KB, 1280x1280)
71 KB PNG
If normies knew about this language, they would have ruined it
>>
>>108834648
>wageslave framework
>>
>>108834648
.NET Core is the most normiecore framework on the planet. Every boring ass corporation in a fuck no-name town uses this shit.
>>
You mean the sweaty oppinionated fat fucks would have ruined it
>>
>>108834705
Noone would have ruined anything because none of you peasants have any say in it. Your lord Microsoft decides it for you.
>>
>>108834648
dotnet is cool. The best platform that you can actually find a job in
>>
I use C# for work (peak wageslave comfiness) and typescript/kotlin/rust for hobby projects.
>>
>>108834648
We had to use this shit when I worked at my nations equivalent of the NSA lol
>>
>>108834648
>>108834698
uhmm actually they go by ".NET" these days, not ".NET Core" or ".NET Framework"
please respect their name
>>
>>108834648
literally too popular and you can't find a programmer who never heard of it

also .net core is dead use .net
>>
>>108834648
It's already ruined with how they feel compelled to add half a dozen new synatx sugars in each release. C#'s grammar has been bigger than C++'s for a while now.
We don't need 4 different ways to initialize a field or an array. If they want to change it so bad, they they should at least deprecate and eventual remove the old Java style syntax.
>inb4 just don't use the old styles bro
If you're the sole developer, sure. But if you ever find yourself working on a team, especially with those less experienced, you'll constantly be catching them mixing and matching all variations even within a single file.
>>
>>108838015
Yes, it's annoying. You can simply ignore the new stuff you're not interested in since it recreates the wheel but as you mentioned, junior programmers will use anything that crosses their path.
>>
>>108834648
That’s not a language
>>
.NET is so brutally normie-coded that Microsoft built a decent functional language onto it, and no one even cares because it's not C#.
>>
>>108837681
Microsoft’s penchant for horrible name changes never ceases to amaze. .NET Framework was always just called .NET. .NET Core was the redesigned rewrite from c. 2016. A few years later they rebranded it to just .NET, but it is still .NET Core and it’s easier call it that for disambiguating purposes if you can’t assume your audience knows exactly what you mean
>>
>>108838051
A strict .editorconfig and validation pipelines before required pull requests helps rein them a lot, but there's a lot that you can't prevent like primary constructors.
>>
>>108838015
>ou'll constantly be catching them mixing and matching all variations even within a single file.
Establish an editorconfig. These things can be marked as errors.
>>
>>108838090
>decent functional language
It lacks HKT because the creator desperately wants to appeal to normies and is afraid that more powerful functional features would be too math heavy and scare away the normies.
>I don't want F# to be the kind of language where the most empowered person in the discord chat is the person who knows the most category theory or abstract algebra.
>t. Don Syme
>>
bump?
>>
>>108838123
Aren't they already? VS tells you when you can simplify something
>>
to be fair, if I was a wagecuck I would rather use .NET than Node/NPM or anything "modern" and "cool"
>>
>>108838123
>>108838112
>but there's a lot that you can't prevent like primary constructors.
Other thing I caught them doing that can't be prevented via editorconfig was randoming switching between no setter, init-only setters, and private setters on the same fucking entity. Asked to explain their choice for each and they just said they copied each property from other class definitions.
I don't believe the new array initialization syntax that tries to "simplify" LINQ queries by making them ass-backwards can be prevented either, at least not without disabling all simplification suggestions.
Oh, and the "is" (and "as") keywords. Yeah, they're not the same as an equality check but you try explaining this to a junior. They will happily mix and match "==null" "!=null" "is null" "is not null" within the same fucking conditional and there's no way to disable it through editorconfig either.
Only option for those cases is writing custom analyzers.
>>
>>108834648
".net core" is not a programming language, you stupid noncoder jeetard
>>
>>108840121
.NET is C#. No one uses VB.NET anymore. It's not like JVM-land where there are actually other competing languages.
>>
i retired after a short and wildly overpaid career writing shitty .net code
fantastic language imo, given its provenance
>>
>>108840053
much like C++, there's a good language somewhere in C#, but you'll never find it
>>
>>108834698
i wish. we use java spring
>>
i've been thinking of making a video game with c# but apparently c# executables are very easy to decompile
>>
>>108842942
c# has AOT now, so just do that
>>
>>108834648
thankfully every time .net gets mentioned the average braindead retard thinks we're still in the .net framework days and goes on and on about how it's vendorlocked to MS. so it's going to be safe for a good while yet.

>>108838015
it's a blessing and a curse. the newer syntax is a genuine improvement and quite comfy, but you're practically writing in an entirely different language once you start using all of it.
>>
File: 1751037454537790.png (121 KB, 952x318)
121 KB PNG
>>108840145
>.NET is C#. No one uses VB.NET anymore.
*ahem* aren't you forgetting someone?
>>
>>108834648
>Jeetless Java
Were you born yesterday? This is probably the second most used enterprise language I encountered outside Java.
>>
>>108843286
PowerShell is great, even use it as my login shell on linux. Only downside is the slow startup time.
>>
>>108842942
>hasn't made anything
>already worried about heckin' modderinos
lmao
>>
>>108834648
To be fair, I've been working with this for the past couple of years and I still barely understand it.
The fuck is a .NET
>>
>>108843744
Like .COM except it runs on a VM and you don't need to be a registered commercial business.
>>
>>108836383
>I use C# for work
trying to teach myself some C# programming because I want a 'simple' API to pull data from my broker into a spreadsheet. But I am not sure the best way to Oauth2 the password and secret in the code. Apparently best practices are to salt, then hash, and store the info elswhere in the program (dependency injection?) to be used to authenticate to beging the session. I watched some vids and did some online research and an older version is labelled by MS to not be used because of security issues, use the new version. But how do I really know I set it up correctly before using it? All the youtube vids show sort of the same thing but seem to gloss over some things also.
>>
>>108844277
Don't store the password in the code at all. Use IConfiguration and provide the credentials through environment variables.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.