SmartmanApps 1 month ago • 100%
Alas, if only that were always true :-(
SmartmanApps 2 months ago • 100%
Yep, "change anything the users like just the way it is"
SmartmanApps 2 months ago • 100%
My high school taught Java, but I didn’t get OOP
Yes, the correct sequence of events - one thing at a time, basic programming, then OOP. :-)
Python is not that.
It's not a lot of things, which makes it poor for a teaching language.
SmartmanApps 2 months ago • 100%
P.S.
not just to the point of ignoring, but actively down-voting
I've been downvoted when I've made actual factual statements (which should be upvoted!) - people do like to express their displeasure 😂
SmartmanApps 2 months ago • 100%
I guess this community doesn’t want this kind of content, even if it’s the official dev blog
SmartmanApps 2 months ago • 100%
No problem. Feel free to ask me questions.
SmartmanApps 2 months ago • 77%
...and riding a bike is easy. Now go watch some kids who have never ridden a bike before and see how that's working out for them.
SmartmanApps 2 months ago • 100%
Oh definitely! Different students have different learning styles - some learn by memorising rules (ROTE), some learn by understanding the rules (Constructivist), some are visual learners, some are better at learning in group activities, etc. - and we have to cater to them ALL, to keep them all engaged (here's WHY we have this rule, here's a video about it, here's a group activity about it, here's a worksheet to practise it). But I was referring to the TOOLS that we use with class. We can't use a tool that the advanced students have no trouble with but the less adept students struggle with - we have to use a tool that the whole class can use, and that's what I meant about catering to the lowest common denominator.
Also some (not all) schools have special classes for gifted and talented (G&T) students. And in fact one class I've had in my time is a class which was comprised of half the students had various learning difficulties (such as being dyslexic), though they weren't told that (these days it's all about trying to keep them in the mainstream as much as possible. So in this class the dyslexic student had a regular student sitting next to him for immediate help with reading anything, which left me free to only need to help him with actual educational issues).
SmartmanApps 2 months ago • 100%
My first language was Basic, and Pascal is definitely better than that as a first language (it's what it was designed for).
SmartmanApps 2 months ago • 100%
That’s silly
Agreed.
This was at a university
As I said elsewhere, I had a much more sensible approach when I went to Uni - we learnt Pascal in first year, and then did OOP in second year, which follows the tradition of only teaching one concept at a time.
SmartmanApps 2 months ago • 100%
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 2 months ago • 100%
Oh! I just remembered this video. If you wanna know how students can struggle with pseudo code, watch the video. I use this video when I teach algorithms (students are even worse at that than pseudo code).
SmartmanApps 2 months ago • 100%
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 2 months ago • 100%
As it is, when we had to teach them HTML, the resources we were given were using PHP at the same time, so I scrapped that and just taught them HTML myself. We never teach more than one concept at a time, so I don't know how these other things found their way into the curriculum/resources.
SmartmanApps 2 months ago • 100%
I just replied to someone else with the same question. Less can go wrong (but in either case a non-OOP language, like Pascal, is a much better starting point. You should only ever teach students one concept at a time).
SmartmanApps 2 months ago • 75%
See my comment
SmartmanApps 2 months ago • 87%
I, as a teacher, have had to learn several languages, but that's not the dumb reason bit. The dumb reason bit was WHY I had to teach Python, which once I learnt it (so I cold teach it) I could see right away was NOT a suitable language for teaching to Year 7 (who up to now have only used Scratch). I was teaching the U.K. curriculum, and I found out that teaching C# was also allowed - still not ideal, but better than Python for learners -but pretty much all schools were teaching Python. When I dug into it I found I was far from alone in not wanting to use Python... and I also found out the reason schools were teaching Python. It was because from an ADMINISTRATIVE point of view it was much easier for the schools to have us teaching Python. In other words, the office-workers who didn't have to teach it, only had to admin it, were forcing everyone to teach Python because they wanted the lower overhead that came with installing/maintaining that vs. C#. ARGH! All the teachers who wanted to teach C# were running into exactly the same road-block.
SmartmanApps 2 months ago • 100%
if i have to manually handle every case in a switch (or if else) statement and I was wondering how could I write, for example, a method that would do the conversion
You could still do it that way with a switch. Only the case part needs to be constant...
` switch (field.GetType().ToString()) {
case "Int": Method((int)x)...
case "NullInt": Method((int?)x)...
case "Long": Method((long)x)... `
Been a while since I last did this though - you may need to do string caseType=field.GetType().ToString() first, then do switch(caseType). I think from memory you can do it the other way though.
P.S. I clicked on "code" (which just starts/ends with an apostrophe), but it doesn't want to display as code - I don't know why
SmartmanApps 3 months ago • 100%
I came here because I noticed I wasn't getting the posts from here on Mastodon anymore, since sometime a day ago (newest post in my Mastodon "Programming.dev" List says 1 day old). Sounds like the same issue, but thought I'd add this info as all the other comments are about not getting posts from other places here, but I'm not getting posts from here at Mastodon.
SmartmanApps 3 months ago • 100%
10x = 0.999… + 9 (true by algebraic manipulation)
No, you haven't shown that, because you haven't shown yet that 9x=9. Welcome to why this doesn't prove anything. You're presuming your result, then using it to "prove" your result.
What we know is that the right hand side is 10 times 0.9999..., so if you want to substitute x=0.99999... into the right hand side, then the right hand side becomes 10x (or 9x+x)... which only shows what we already know - 10x=10x. Welcome to the circularity of what you're trying to achieve. You can't use something you haven't yet proven, to prove something you haven't yet proven.
SmartmanApps 3 months ago • 50%
According to me, talking about the origin of the 0.999…
Right. So not according to the meme, which doesn't tell us where the 0.999... comes from. Nor the 1 - could be an integer, floating point, or an estimation. Thanks for playing.
SmartmanApps 3 months ago • 100%
And if you don't then you can no longer claim they are still equal.
SmartmanApps 3 months ago • 50%
you can substitute anywhere
And if you are rearranging algebra you have to do the exact same thing on both sides, always
SmartmanApps 3 months ago • 100%
This isn’t about limits of accuracy
According to who? Where does it say what it's about? It doesn't.
please show me how basic arithmetic can make 0.999
You still haven't shown why you're limiting yourself to basic arithmetic. There isn't anything at all in the meme to indicate it's about basic arithmetic only. It's just some Maths statements with no context given.
then a correct use of the system must be applicable to everything, right?
Different systems for different applications. Sometimes multiple systems for one problem (e.g. proofs).
You shouldn’t need a new system like algebra to be correct, right?
Limits of accuracy isn't algebra.
SmartmanApps 3 months ago • 100%
Version 5 of a software, device, vehicle or such isn’t necessarily better than version 4
Yep, I can attest to that! I used to play Minesweeper Adventure version. Then Microsoft decided to do a complete rewrite and literally ruined the game. It was way slower and way buggier, and on top of that they also lost all my progress. So, well done Microsoft - now instead of seeing more ads (which was undoubtedly why they did the rewrite) I now don't see ANY ads (because the game is just horrible now and not worth playing anymore, even if it didn't have any ads!).
SmartmanApps 3 months ago • 50%
not taught yet
What do you mean not taught yet? There's nothing in the meme to indicate this is a primary school problem. In fact it explicitly has a picture of an adult, so high school Maths is absolutely on the table.
There is no method by which basic arithmetic and decimal notation can turn 0.999… into 1.
In high school we teach that they are the same thing. i.e. limits of accuracy, 1 isn't the same thing as 1.000..., but rather 1+/- some limit of accuracy (usually 1/2). Of course in programming it matters if you're talking about an integer 1 or a floating point 1.
If someone uses these systems as they were taught, they will get told they’re wrong for doing so
The only people I've seen get things wrong is people not using the systems correctly (such as the alleged "proof" in this thread, which broke several rules of Maths and as such didn't prove anything), and it's a teacher's job to point out how to use them correctly.
SmartmanApps 3 months ago • 50%
P.S.
“We do it like that, therefore, it is right”
Yep, Maths teachers do it right. :-)
SmartmanApps 3 months ago • 50%
You’re just another yank
BWAHAHAHA! I see you still didn't learn to check facts first. 😂😂😂
SmartmanApps 3 months ago • 50%
X times 10 is 10x
10x is 9.9999999....
As I said, they didn't substitute on both sides, only one, thus breaking the rules around rearranging algebra. Anything you do to one side you have to do to the other.
SmartmanApps 3 months ago • 50%
P.S. you proved my point
The only people who think there’s something wrong with PEMDAS are people who have forgotten one or more rules of Maths.
SmartmanApps 3 months ago • 100%
https://www.youtube.com/watch?v=lLCDca6dYpA
…oh wait I remember that
Well, you seem to have forgotten that the woman in that video isn't a Maths teacher, which would explain why she's forgotten the rules of The Distributive Law and Terms.
until you gave up
I didn't give up, you did.
I suggest we don’t do it again but instead, you review the thread
I suggest you check some Maths textbooks, instead of listening to a Physics major.
SmartmanApps 3 months ago • 50%
those systems are giving an incorrect answer
When there's an incorrect answer it's because the user has made a mistake.
Instead of telling those people they’re wrong
They were wrong, and I told them where they went wrong (did something to one side of the equation and not the other).
SmartmanApps 3 months ago • 50%
Maths teachers are constantly wrong about everything
Very rarely wrong actually.
the abomination that is PEMDAS
The only people who think there's something wrong with PEMDAS are people who have forgotten one or more rules of Maths.
SmartmanApps 3 months ago • 50%
you can prove it with math
Not a proof, just wrong. In the "(substitute 0.9999… = x)" step, it was only done to one side, not both (the left side would've become 9.99999), therefore wrong.
SmartmanApps 3 months ago • 100%
Apparently someone did, and the ensuing chorus of "No, we don't want that!" is being ignored.
SmartmanApps 3 months ago • 100%
You can upvote this comment if you want them to provide a proper setting instead of having to edit the registry.
SmartmanApps 3 months ago • 50%
It's NOT off by default. It's on/off according to the setting you have for "Receive updates for other Microsoft products. Get Microsoft Office and other updates together with Windows updates". If you have that on, then auto VS-updating will ALSO be on. The controversy is no developers want auto-VS updating on, even if they DO have that other setting on. Auto-updating Office and auto-updating VS aren't the same thing at all. I for one never update Windows and VS at the same time, because if something breaks in your app, then how do you know which update broke it if you did them at the same time?
SmartmanApps 3 months ago • 100%
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 3 months ago • 100%
Personally, I dislike the way the UI is declared and bound though (XAML)
You can write the MAUI UI in C#. No need to use XAML anywhere.
SmartmanApps 3 months ago • 100%
He works at Microsoft