RIP Philo

Helped my daughter with a switch problem

Man, I don't miss C++ at all.
Permalink Shylock 
November 9th, 2017 4:47pm
I thought your daughter is already gay. Why would she wants to switch now?
Permalink brah! 
November 9th, 2017 4:54pm
Or you meant she wants to switch back? ;-)
Permalink brah! 
November 9th, 2017 4:54pm
Heh. Middle daughter taking her first CS class.
Permalink Shylock 
November 9th, 2017 5:01pm
C++ for her first CS class? Wow.
Permalink Yoda 
November 9th, 2017 7:30pm
It's idiotic. I told her to tell the professor that it's a stupid choice for a first programming course.
Permalink Shylock 
November 9th, 2017 7:31pm
Hopefully she won't.
Permalink Tristin 
November 9th, 2017 10:01pm
It's crazy advice so it fits in here.

The worse option is he goes down to the college and starts arguing with the professor to defend his daughter.

Maybe he'll call the professor at home if she gets anything less than an A!

Choppa choppa choppa choppa.... helicopter parent.
Permalink Reality Check 
November 9th, 2017 10:05pm
>It's idiotic. I told her to tell the professor that it's a stupid choice for a first programming course.

Perhaps a better approach would be to tell your daughter to ask the professor why C++ is being used instead of [insert whatever programming languages you fancy here]. Why? There could be an unknown reason why C++ is being used (e.g. weed out the weaker students).
Permalink One Programmer's Opinion 
November 9th, 2017 10:21pm
Some students don't "get" programming in much the same way some students don't "get" linear transforms.  Best to weed them out in the first year.
Permalink Tristin 
November 9th, 2017 10:26pm
Might have more to do with what the lecturer feels happiest in teaching n00bs.

offtopic, c# prissily mangled switch by disallowing falling through to the next following case block, i.e. a break/return/goto is non-optional and enforced at the end of each block.

And don't get me started on how #if was gutted.
Permalink trollop 
November 9th, 2017 11:08pm
Permalink X 
November 9th, 2017 11:10pm
She did tell the professor (TA), he agreed with her, but there's some stupid reason I can't remember why they are using C++.

I told her it's good training for the corporate world, how to live with stupid decisions made for stupid reasons.

And as far as helicopter parent, I'm paying a fuck of a lot of money for this stupid class.
Permalink Shylock 
November 10th, 2017 5:25am
And don't let her forget it. Remind her every time how much you are paying. That way she will know how much you love her and appreciate it.

It's also important that she understand is that whoever pays the bills makes the rules and she isn't really allowed to have her own opinions apart from that.
Permalink Reality Check 
November 10th, 2017 8:56am
Up direction means the light goes on.

Anything else is just wrong.
Permalink Send private email xampl9 (Moto phone) 
November 10th, 2017 4:22pm
Of course.
But two switches one light can screw that up.
Permalink Q 
November 10th, 2017 10:15pm
5 years ago, they were using Java.  Then 4 years ago they switch to Python for introductory CompSci.  Nowadays they're transitioning back to C/C++ -- which is unfortunate.

C is excellent.  C++ has SO much to it, with templates and dependent libraries dependent on other libraries, that it takes a few years of trying to make projects with it to gain enough experience.  Sadly, too, the common disciplines of Coupling, Cohesion, even graphical design using UML (as crippled as it is), aren't being taught.
Permalink SaveTheHubble 
November 11th, 2017 4:34pm
> Up direction means the light goes on.

You haven't quite grasped it. Toward the nearest pole is on, equator is off. Except for multiple light switches (eg at the top and bottom of stairs) as noted by Q. But those should be mounted horizontally instead of vertically.
Permalink , Cup 
November 11th, 2017 9:21pm
Toward the 'pole' or sideways is an interesting solution to a switch.

With those two switch xor circuits they have in most houses, I've seen a better solution. A rocker switch with on at the top and off at the bottom. Each position sends a pulse that controls a latched relay which controls the light.
Permalink Reality Check 
November 13th, 2017 11:56am
"Better" meaning "more expensive, using more parts, different wiring, and not as maintainable".

It's all about the criteria, after all.
Permalink SaveTheHubble 
November 13th, 2017 4:02pm
Wireless switching is right on the edge of going mainstream like LED lighting.
Permalink Z 
November 13th, 2017 4:19pm

This topic is archived. No further replies will be accepted.

Other topics: November, 2017 Other topics: November, 2017 Recent topics Recent topics