It would need a webring button or five, as well as an “under construction” gif.
It would need a webring button or five, as well as an “under construction” gif.
I’m certain there’ll be Tom and Will Riker self-cest out there, if that counts.
Aren’t you thinking of The Search for Spock? I don’t remember any Klingons at all in ST2. Or do you mean that ST3 wouldn’t have happened without ST2?
taH Pagh taHbe’! That is the question.
Undiscovered Country is my favorite TOS movie, even above The Wrath of Khan.
For me it was really quick. S1E4, If the Stars Should Appear.
I’ll defend Lower Decks and Strange New Worlds.
Held up against Discovery or JJ’s movies? Absolutely better. But I don’t think it’s defensible to say it surpasses ALL of Trek.
I love the humor in it. Gordon and Lamarr racing to deliver some news was one of the funniest goddamn things I’ve ever seen (trying not to spoil it if someone wants to watch and hasn’t yet). But that humor was a little too juvenile at the very start. My guess has been that the earlier stuff was for the benefit of funding. They expected Family Guy in Space, so he delivered it, for a handful of episodes, then took the show where it was supposed to be.
I just got burned out on Moclan drama, and the Kaylon got a little too Star Wars for me.
Tell me you didn’t finish season 1 without…
4:3 monitors were better than 16:9, objective fact, fight me
I came up with a contrived example for the sake of illustration, and deliberately chose to use LINQ to build the enumerable because of how valuable it can be in filtering and ordering data. Where and TakeWhile alone can replace a whole lot of continues and breaks.
Your code does the same job as my first example, and it’s simpler, and maybe that’s more appropriate for the class.
Fine:
var enumerable = Enumerable.Range(0, 100)
.Where(i => i % 2 != 0)
.TakeWhile(i => i < JUST_THE_WORST_NUMBER);
foreach (int i in enumerable)
{
Console.WriteLine(i);
}
OP said ignoring the rule is an instant fail. They don’t have that option.
I suspect/hope she’s not “against” using break and continue as much as trying to teach your brain to solve the type of problem at hand without relying on breaks.
Like this
const int JUST_THE_WORST_NUMBER = 13;
for (int i = 0; i < 100; i++)
{
if (i % 2 == 0)
continue;
if (i >= JUST_THE_WORST_NUMBER)
break;
Console.WriteLine(i);
}
could effectively be rewritten like this, which I think actually is clearer in a way:
const int JUST_THE_WORST_NUMBER = 13;
foreach (int i in Enumerable.Range(0, 100).Where(i => i % 2 != 0).TakeWhile(i => i < JUST_THE_WORST_NUMBER))
{
Console.WriteLine(i);
}
Treat it as a thought exercise and just do it her way. Like someone else said, it’s also good practice at unhappily conforming to your organization’s standards and practices.
Maybe they started air gapping them after the 34985938479th time Starfleet was infiltrated.
Is “customer engineer” another way of saying “business analyst”? I was always super grateful for the guys that spoke both normie and geek. “Hey so I talked to the unwashed masses yesterday and bla bla bla entity framework bla bla sql server bla bla rolling average 14-day lookback foreign key yada yada yada.” “Ah! Makes sense now.”
My brain goblins love refactoring. I love taking a rusty pile of shit and making it shine. I want to polish something old, or build something completely new. Adding features to existing code is the part I hate.