3
6
3
2
Changing Immutable Collections (codeblog.jonskeet.uk)
4
1
3
Deep C# - The Console (www.i-programmer.info)
3
3
2
12
C# Is TIOBE Language of 2025 (www.i-programmer.info)
3
[-] SmartmanApps@programming.dev 7 points 11 months ago

remember FOIL?

A lot of adults don't, then proceed to argue about order of operations, having forgotten that Brackets have to be all expanded out before doing anything else at all.

We don’t learn that math because it’s practical for adult life

Yes we do. I use Maths every day, quite separate to the fact I teach it.

[-] SmartmanApps@programming.dev 6 points 2 years ago

Python does have OOP but you are not at all forced to use it.

Not as an individual, but I'm talking about a situation precisely where the individual choices of teachers are ignored, in some cases by school admins, in some cases by faculty choices. Fortunately I also ran a computing club, in which I was autonomous with how I ran it, and I taught my computing club students C#/MAUI... but even then still saw some of the issues you run into with teaching students. e.g. I told them to install Visual Studio ready for next week, showed them where it was, what workloads to install, and then the next week one of the students had installed Blend for Visual Studio, not Visual Studio. "Look, it has Visual Studio in the name!". (sigh)

I think weakly typed variables will actually help beginners as it is less to think about to start off with

No, that's exactly the problem to start with. Another rule of teaching (see below for the full list I'm quoting these from) is "never let the first impression be a wrong one". If you let students think they can use variables for anything, then you run into problems when they can't. This is why teaching them with strong types first is better - they learn you need to be careful with how to use them, THEN maybe you can let them have some more freedom like Python allows.

In other languages it is considered good style to use indentation anyway

Yes, but in those languages it's optional. In Python it's mandatory, and if someone's code isn't working it's far easier to spot a missing bracket than a missing space.

[-] SmartmanApps@programming.dev 5 points 2 years ago

Well, I'm only speaking here for my experience with teaching the U.K. curriculum, but probably the same thing applies elsewhere. I know this much - as a teacher, it's very frustrating!

[-] SmartmanApps@programming.dev 8 points 2 years ago

Why do you even have to mention OOP?

Because I was saying why it's a bad choice to teach to Year 7. I already said if it was up to me I'd teach them Pascal.

C# is object oriented too

Yes, I know, but in this case it's the lesser of 2 evils, for the other reasons I gave.

Python is comparatively easier as it’s nearly literally pseudo-code

And as I just said to someone else, students even struggle with pseudo code.

e.g no need for semi-colon, brackets

And I already said that's one of the drawbacks - indenting has to be EXACT or your program doesn't work anymore.

As for indentation being exact, IMO that’s on you

It's not on me - it's in the language itself to begin with. I have no control over it.

Beginners should be given a proper development environment to work in that helps them as much as possible. Modern editors and IDEs point out syntax errors and indentation errors are incredibly basic

Now see if you can get the school admin's to install those ones. As I said, that's the root issue to begin with - the school admin's.

If they are working in an environment that doesn’t even point that out to them, they have been setup incorrectly

Now see if you can get the school admin's to fix it. Welcome to the struggle the teachers face in teaching what WE want to teach them.

[-] SmartmanApps@programming.dev 8 points 2 years ago

It looks like pseudo code

P.S. as a teacher, I can tell you I have seen students who even struggle to write pseudo code. It's like trying to teach them Greek (not all students, but some, and we need to cater to the lowest common denominator).

[-] SmartmanApps@programming.dev 5 points 2 years ago

Notably, when I did my C.S. degree, they knew to only teach one concept at a time. We learnt Pascal in first year, then did OOP in second year.

[-] SmartmanApps@programming.dev 5 points 2 years ago

It’s like going to a mathematics forum and declaring “Guyz I forgot to carry a 1, screw Maths.

You may think you're joking, but as a Maths teacher I can tell you I have seen a lot of posts where someone makes a mistake with their signs, then uses their wrong answer to declare "The rules of Maths are wrong! Look - different answer!". Yeah umm, try working on getting your arithmetic right first before claiming to have "proved" something. 😂

[-] SmartmanApps@programming.dev 6 points 2 years ago

"'the next generation of Windows PCs', differentiated by the AI experiences that will be exclusive to them"

No thanks. I'm good.

[-] SmartmanApps@programming.dev 6 points 2 years ago

Yeah, people were saying that when dotnet.social launched as well, despite that not being an official MS server either.

[-] SmartmanApps@programming.dev 5 points 2 years ago

But it wouldn't only work on Android. It would also work on Windows and Unix and any other niche operating system that can run a browser (my Blu-ray recorder has a browser in it). There's a whole world outside Apple/Android. This message brought to you by a browser running on Windows...

[-] SmartmanApps@programming.dev 7 points 2 years ago

Look for every time Apple has said "reimagined" and you'll find a feature that Android had 5 years earlier.

[-] SmartmanApps@programming.dev 6 points 2 years ago

The disagreement was actually all over whether the question was about a switch or a button, and so some people were answering as though it was a switch, and some people were answering as though it was a button - switches and buttons do indeed have opposite approaches usually (a switch usually shows the current state - such as "on" - but a button shows what action will be triggered by pressing it, such as "play").

view more: ‹ prev next ›

SmartmanApps

0 post score
0 comment score
joined 2 years ago
MODERATOR OF