News for hackers. Stuff that matters.
Re:“Coding is basically just ifs and for loops.” by 8ytecoder on Saturday December 04, 2021 @01:51PM (#29443272)
It’s just so sad that the lowest common denominator has become the standard now. When I first learnt Clojure it entirely changed the way I think and solve problems. The code really was elegant.

Obviously, it can only be read by someone who can also understand programming beyond ifs and fors. That’s a non-starter in most environments - enterprise or otherwise.

Funny enough, I see most innovations coming from consultants who do the same work for multiple companies and realise the repeating patterns and extract an abstraction.

Re:“Coding is basically just ifs and for loops.” by sharken on Saturday December 04, 2021 @02:22PM (#29443536)
Ifs and fors are the easiest concepts to explain to non-developers, so it makes sense to start there.

I wouldn't say that they are the standard now, but using and mastering all features in a language is hard.

Add to that design patterns, classes and code layout it becomes a full-time job to keep up.

I have been in contact with code most of my professional life, but still isn't comfortable writing large amounts of code. The simple reason is that i don't do it full-time.

Here are the features in C# just to illustrate how complex a programming language is.

https://www.c-sharpcorner.com/article/c-sharp-versions/

Re:“Coding is basically just ifs and for loops.” by qsort on Saturday December 04, 2021 @03:01PM (#29443812)
I agree that modern software development for non-full time developers is brutal, several of my data scientist colleagues are remarkably brilliant people and yet they struggle with some more advanced programming concepts.

However, most of those features are relatively standard and are more conceptual than syntactical in nature. Bashing people because they don't know stuff is stupid and counterproductive, but I shouldn't be forced to code in the programming equivalent of roman numerals just because someone else can't be properly fucked to understand lambdas or interfaces or generics, all stuff that's literally covered in your run-of-the-mill CS 101 course.

It all boils down to having enough humility and empathy to understand that other people are not, in fact, the same as us.

Re:“Coding is basically just ifs and for loops.” by 8ytecoder on Saturday December 04, 2021 @03:19PM (#29443946)
That’s what I mean. Each language has a different syntax and it takes a while to gain mastery over it and that’s fine. But there are concepts that are immediately portable to multiple language.
Re:“Coding is basically just ifs and for loops.” by tonyedgecombe on Sunday December 05, 2021 @04:27AM (#29447946)
C# was good enough for me at version 4.0. I use many of the newer features but they seem to be well into the law of diminishing returns now.