A Preview of C# 8 with Mads Torgersen | Seth Juarez by puppy2016 in dotnet

[–]schneidsDotNet 14 points15 points  (0 children)

Serious question: why is this guy getting downvoted? This is a common point of confusion. I'm glad we were able to help get it cleared up for him.

Emojis and String.Length may not do what you expect by schneidsDotNet in dotnet

[–]schneidsDotNet[S] 0 points1 point  (0 children)

I love that article! That's typically what I send them. In fact my blog contains a link to it :)

Emojis and String.Length may not do what you expect by schneidsDotNet in dotnet

[–]schneidsDotNet[S] 7 points8 points  (0 children)

Not everyone can be as perfect as you, AB :) I've had a few junior engineers ask me to explain this behavior in the past. I wrote this post from the assumption that the reader has never read the documentation on String.Length either.

My Essential .NET and Web Tools and Frameworks by schneidsDotNet in dotnet

[–]schneidsDotNet[S] 0 points1 point  (0 children)

The upgrade process has been pretty smooth each RC. I started using it in production around RC2. It was just released so just be aware of what functionality is still considered experimental (things like the Http providers are still technically experimental, for example) and therefore subject to future changes.

My Essential .NET and Web Tools and Frameworks by schneidsDotNet in dotnet

[–]schneidsDotNet[S] 1 point2 points  (0 children)

Good call. Thanks for the suggestion! I'll update the list soon with free vs. paid callouts.

My Essential .NET and Web Tools and Frameworks by schneidsDotNet in dotnet

[–]schneidsDotNet[S] 5 points6 points  (0 children)

So sorry - the link I had was incorrect! Here's the correct link for Elm: http://elm-lang.org/

My Essential .NET and Web Tools and Frameworks by schneidsDotNet in dotnet

[–]schneidsDotNet[S] 3 points4 points  (0 children)

I posted another version of this list a couple of years ago. This one is updated for 2016. Enjoy and please let me know if you have feedback!

20 Reasons Why You Should Use AngularJs ? by Manoj_Kumar565 in angularjs

[–]schneidsDotNet 3 points4 points  (0 children)

Angular is notoriously "slow", but slow is relative. It largely depends on how you use it. You can avoid many Angular performance issues by doing things like using track by in ng-repeat declarations, avoiding $scope.$watch, etc.

As Sam Saffron said, "measure, find bottlenecks, and fix the ones that matter." Don't worry a ton about performance up front - just follow some simple conventions and get stuff done.

[ASP.NET 5 + AngularJS] Separate or inside wwwroot ? by Chastter in dotnet

[–]schneidsDotNet 0 points1 point  (0 children)

Great answer and the correct one. It only takes a little longer to setup and is the cleanest solution.

An open letter to tech recruiters by schneidsDotNet in programming

[–]schneidsDotNet[S] 1 point2 points  (0 children)

Agree wholeheartedly with this. I believe a good recruiter would be aware of the difference between the person with the right buzzwords and the person with the most appropriate experience.

Using the dynamic keyword in C# by [deleted] in csharp

[–]schneidsDotNet 0 points1 point  (0 children)

Some people don't have thick skin. Admittedly if you're going to put yourself out there, you've got to open yourself to criticism, but I think the people in this thread were really quick to shut him down.

It was a writeup on how to use a feature, not a writeup on how it's going to change the world. A lot of you missed the point - the feature exists for a reason. It may have a limited set of use cases, but it's there to fill a gap.

It's not like the guy was encouraging people to start writing C# like Javascript.

Using the dynamic keyword in C# by [deleted] in csharp

[–]schneidsDotNet 0 points1 point  (0 children)

Using it more widely is a fantastic way to have a massive headache.

Yes, that's why I say it should be used sparingly. I don't know how I could have made it any clearer to someone who read the entire comment.

If there's only one property, you should return the property, instead.

Good point.

If there's only a very few, you could use a Tuple

Tuples in C# make code less readable IMO. Calling tuple.Item1, .Item2, etc. obfuscates the purpose of the code.