I don't trust the "new nice microsoft this time it's true we love FOSS and users I swear" enough to tie my stack to any of their products.
Things like VSCode, github or azur pipelines are ok because the cost of a potential migration away from them is tiny compared to the benefits they bring.
However, basing your entire code base (e.g: with .Net), dev env (e.g: codespaces) or infra (e.g: azur cloud) on their tech is betting that a company with a terrible track record will never, ever, go back to its previous bad practices.
Mypy is very useful on big projects, and does catch bugs regularly in my code.
The ergonomics improved a lot and it's now usable, so the cost ratio/benefit is worth it today.
But barely.
Even assuming you use the latest Python version (lots of project can't), you still have to import tons of things you use all the time like Iterable, Self, Callable and so on.
Then you have to deal with with the poor Protocol solution for duck typing, aggressive defaults, mypy slowness (before 9.13 it's terrible, after it's just bad and mypyd is quickly mandatory) and a surprisingly high number of bugs (such frustrating time wasters). Add on that false positives, low support from some popular libs and incompatible type checker implementations, and you get a very much meh experience. Very far from the awesomeness on Python.
If you are unlucky and have to use anaconda, mypy dependencies make it extra fun to include.
Still, I'm glad it exists. It's still very useful. But thank god hints are optional.
While it is true code pilot is quite amazing and can produce some very decent snippets, if the exercice you give is specific enought (using a special database schema, file format, or API), with objectives that are not common (ask the user specific questions, and draw conclusions out of it or react to events), then it cannot produce a fully working program. I use code pilot regularly now, and it does speed up my work, but I can't do anything with it without understanding the problem at hand.
There is nothing wrong with the student assemblings and fixing parts of code that exist. Doing that requires understanding those parts, how they interacts and what you can do with them. It's not killing tests. Plus as professionals, we all do that anyway. Heck, I learned doing that. I'm paid doing that.
However, there is something wrong with academic exercices that I see in the wild. Things that are very abstracts, requiring way more than programming knowledge, or stuff that are asked out of context completely. Students are both understimulated, and given too hard bites to chew. It's a terrible way to learn, and to be tested IMO.
Tests nowaday don't tests for knowledge, they test either for compliance, or act as a filter instead of a feedback loop. This is not education.
In fact, I've yet to see school IT course that I didn't find deeply flawed, and I completely understand the students for cheating at them to that they can suffer as little as possible. They are not given a chance to prove themself or progress, they are not respected. They are forced fed junk and asked to spit it back all shiny.
I remember when I was a student, and I went to 11 different schools because of my twisted life. They all sucked. And I say that as I spent half my student life at the top of my class grade ladder.
As I moved as well, I experienced three different Canadian universities' Computer Science Program.
There was only one professor and course that I still remember 20 years later: CS408, Software Engineering, Professor Wortman, UofToronto.
Class project was in four phases, cumulative (basic functionality for the application in phase 1, progressively additional functionality in other phases, frequently strongly interacting with previous phase code).
Here's the kicker: After each phase, you had to swap your code with another team. So you had to pick up somebody else's code, figure it out, and then build up on it.
Few of us that had real-world working experience loved the course and flourished in it. This is what we are training for! This is what programming is like! You are taking real code and building a real thing with it!
About 250 other students signed a petition to the Dean on how this is unfair and awful and they will not put up with it. They were just too used to / spoiled by 16 years of 5 assignments per semester with abstract, entirely separate questions of 1.a), 1.b), 1.c), etc.
All I could think of - if you did not like this course, you are about to not enjoy next 4-5 decades of your life :D
Other than this one course, I can say that I'm a prolific, enthusiastic, life-long learner, and my university experience was the absolute dumps - it was far less about learning, and far more about bureaucratic hoops and artificial constraints and restrictions. I was top of the class in some hard courses (generative compilers etc), mid-pack in the some of meh courses, but in retrospective, my life opened up when I was done with academia and could work and learn in the 'real world'.
> Here's the kicker: After each phase, you had to swap your code with another team. So you had to pick up somebody else's code, figure it out, and then build up on it.
This is hilarious and is a good example of how sw engineering works in the real world. Love it.
There are a few issues with this kind of assignment.
The first issue is that it's really hell on the TAs with all of the administrative work needed to do the swapping between phases. Software engineering is already one of the more annoying classes to TA, and this makes it even less palatable.
The bigger issue is that, on the basis of fairness, you grade in later phases is very heavily dependent on factors that are outside of your control. If you get someone's code who just didn't complete the assignment--that is probably going to happen once a semester--you are going to be at a disadvantage. Even if there is an option to appeal to the TAs and get the unacceptable code base replaced with an acceptable one, that's still likely to be a few days' worth of work lost learning the codebase, discovering its incompleteness, and now you have to start over again.
I'll also point out that it's not exactly real-world experience. It is extremely rare that someone will be dumped on a codebase without a prior author remaining on to help them ramp up on the code.
I would expect that code you get from Stage N-1 is functional across a range of tests that are agreed upon upfront.
For the fairness aspect, I would also let students pick any Stage N-1 that is not their previous N-1. That would also teach em that not all is created equal (and probably identify approaches / ideas that they can incorporate in their work)
That is exactly what happened. You got 1% extra mark if somebody picked your code.
Seemed trivial at the beginning of semester,right?
...did I mention my team had previous real life experience?
We put extrnsive code and documentation and FAQs online (this was like 99 or 2001 don't remember, but we'll before Github etc) , and committed to 7 day support of our code base. We got 18 out of 22 picks after phase 1.
Of course competition was much stiffer further phases, but that too was like 3 valuable real world lessons learned for everybody!
Yeah, that statement was the only thing that stuck out to me in an, otherwise, pretty good writeup that I mostly agree with.
The only times I can think of where the previous author was able to help was either during onboarding (where you are expected to be given smaller-scope tasks with the context of that code being predefined for you) or during work on certain specific singular projects as a team.
But at any large big tech company, you are probably gonna be jumping around more than a few different codebases (more often than not, large and being worked on for years), even if you work on a singular team/product. And most of the time, you are expected to figure as much as possible on your own, only reaching out to the people when you get stuck or encounter a specific issue. Other than that, you are expected to be able to build at least a janky proof of concept with as little help as possible.
Most of the time, the help I sharply needed was rather targeted and not really related to the code itself overall. It would be something that is kind of extremely difficult to guess on your own without it being explicitly told (aside from docs/code comments), things like "everything looks fine, but I get stuck at this auth step, what's wrong there?" - "oh yeah, you gotta auth as a part of this specific group, so you need to be added to this security group in this config file".
I am not trying to say that i am some genius and can get the structure and overall mental model of how a codebase works all on my own easily, only with the specific "gotchas" (like the ones mentioned in a paragraph above) giving me issues. Not at all. The only way I can mentally get a structure of the codebase and how the whole system works and operates (even as a rough/simplified model) is by looking at the design docs/documentation (very helpful, but far from sufficient on its own, more like a supplementary material of variable quality) and, most importantly, making small code changes and debugging the code using breakpoints to see how it all flows and where. Imo, understanding code through debugging and reading a lot into the code is an irreplaceable step for understanding a section of any significantly-sized codebase.
I had a similar software engineering course experience to the one above with a lot of things out of my control.
I got an A. By being humble reflective and proactive, showing the instructor that I was looking for solutions to the problem and giving an appropriate amount of time and effort to the class.
I think you could remove a lot of your fairness and logistical concerns by at stage N choosing one solution and everyone group has to start from there.
Now for pedagogical purposes it might be that the professor chooses the best solution or a substantially worse solution.
There might be some concern that this unfairly advantages one group over the others but it’s not completely clear to me that it does.
Thanks for the note and perspective. Some clarifications:
1. As noted, each team got to review and pick the code they would take after each phase as long as it's not your own. I remember drawing a graph of picked code lines and it was fascinating, evolution / survival of fittest at work. But it wasn't something one didn't have control of.
2. I don't know why it would make TA work either better or worse, we may not be fully understanding each other. You have 22 programs to put through a standardized test suite based on formal requirements all teams had to code to. It was far easier to grade than any other assignment I ever had.
3. I guess different people have different real world experience. All of COTS/ERP and a lot of enterprise applications are somebody else's code. Millions of lines of somebody else's code. So that's the norm in my life. YMMV :)
> It is extremely rare that someone will be dumped on a codebase without a prior author remaining on to help them ramp up on the code.
The way this is more likely to work out IRL is that the last person who actually understood the design - not just the what's, but the why's - had long since moved on, and the "prior author" that you have access to can, at best, tell you where the dragons are.
I don’t know the size of your university projects, or the speed you worked at, but most of my university projects could be understood in a day. The coding part was by far the most time intensive thing at the time.
it's not rare at all for previous authors to just disappear. do you know what the turnover is at large companies??
reading the code is not the issue though, we also lose context. WHY was it done that way? was it a product decision, due to time constraints, or technical complexity? that should be documented but often isn't
My software engineering teacher did something similar. We had a giant group project that had to be worked on by the whole class. He split the class into 5 groups of 5, and we divided the work by group, and groups had to work together to integrate with each other.
Hats off to your prof. This is such a brilliant idea for how to teach, anchored in a solid reflection of what “doing the job” is like day-to-day outside the academic context.
Github Copilot won't give students anything they couldn't already google.
It seems to be a natural part of aging, to start to complain about education and kids these days because it's not the same as when we were in school.
I try not to do that, because I never forgot how my parents generation said the exact same about us when we were in school, and I guarantee my grandparents generation complained when my parents were in school.
I'll bet $5 the 'niche business' is drop shipping, and the ads are targeting customers already looking for the product who would have found it for cheaper if not for the ad.
Specialist subscription weather forecasting. I don't really want to make myself into a case study here - just sharing my experience that the Apple-induced small-business-advertising-pinch is very real.
And that's mostly by people with no master plan for the killing in the first place.
If you die, NCIS will not come to your house to do a full tv show like murder solving. They will send an average joe cop, probably eating a sandwich on the murder site putting his print and crumbs everywhere, he will suspect your close ones, and ask a bunch of questions, because that statistically the only thing that works well. If the killer is obvious, it's solved. If not, nobody will ever know.
Correct. Not to mention when my life was credibly threatened in another business situation, they described in detail several other murders they had gotten away with and how easy it was. They made them all look like suicides and all were ruled suicides. Murder is just another part of big corporate business.
He also made it clear (and demonstrated) he had very high connections at the FBI to make sure he would never be investigated.
I wouldn't have believed it either until I experienced it first hand.
I have the current Thunderbird open all day, and I'm constantly searching for things. It looks much better, much leaner and cleaner. But nothing stands out from the rest, everything is a shade of grey, buttons are flat, section are loosely separated or sometimes merged, labels don't have icons.
It's like the debate about cars with touch screen or buttons: the touch screen makes for a much better look, but its usability sucks.
It's not just thunderbird. Phone apps, web apps, they all follow trends that have nothing to do with usability. They copy each others in loop, bored designers go one more round (see ubuntu for an extreme example of this), A/B testing tells manager people downloaded your app more because of the pretty UI or screenshots on the short term.
But the current design is a usability disaster, and is only partially working because the UI are getting dumbed down more and more. Apps have less and less accessible buttons and menus. It makes you less productive, but it's easier for the average user, thanks to the paradox of choice. Because of this, having a lean UI is not as terrible, since you don't display much on the viewport anyway (e.g: youtube latest changes, or just tik tok). But of course, advanced users pay a price for that. Also, you can't do it for professional software unless you want to render it harder to use. Case in point: Thunderbird.
To me the 1.0 screenshot looks nearly identical to the Thunderbird window I have open right now.
I don't have email-related buttons, since I have no email account configured. I use Thunderbird for RSS feeds. But the rest of the interface is exactly the same, except that the window topbar is tabbed in modern Thunderbird.
As for Windows XP being the pinnacle of design, I always hated its default theme (visible in the screenshot of the setup window, though, oddly, not in the screenshot of the running app) and changed it to the Windows 95 theme on all of my computers. I still hate the XP look.
EDIT:
I was wrong; I do have the email-related buttons. I've just never noticed them.
Instead of square icons, they are now text labels (with pointless icons next to the text in most cases). I don't really see that as a problem. Usually the problem in modern design is that the pointless icon is viewed as a substitute for the text.
But they will left me with a bad taste in the mouth.
Somebody is taking a dump of something I cherish, with no care for its beauty and with money as a priority. It feels like somebody broke my trust or some social contract and walked away with the benefits and little consequences.
It may sound stupid, and it's definitely irrational since it's just a movie, but sometimes after I see this kind of action, I experience it as a personal insult for some weird reasons.
A bit unrelated, but one pet peeve of mine these days is the explosion of humble brag.
It used to be a little annoying, but it's now everywhere. Name dropping, inserting casually possessions, social status or achievements, using "I'm humbled by" all the time...
Doing your best to not sound pretentious is great. I wish I worked on that way sooner.
But faking humility, often badly, is such a mood killer for me.
I also think it comes with 2 trends that are rampant in social media, and runs especially deep in the US culture:
- adding virtue signaling to every interaction.
- using superlative for the most mondain things.
It's an instant credibility killer for me. But the problem is... for a lot of people, it seems to work.
Stay off of LinkedIn, then. That seems to be the place people practice it[0].
I don't humblebrag, and it doesn't win me friends. There's some things that I'm really, really good at, and lots of things that I'm mediocre, to really bad, at. I don't hide any of it.
Most folks on venues like this, assume I'm arrogant (I'm not). I just don't pretend to be bad at stuff I'm good at, and don't pretend to be good at stuff I'm bad at.
That seems to be an aberration, in today's world.
I'm not looking for work or friends. I don't participate in any social media, outside of this place (an occasional update on Facebook or LinkedIn. Almost never Twitter, Instagram, etc.). I just hang out here, because there aren't many tech people around my neck of the woods, and I'm quite impressed by many of you. I participate, because I feel a sense of duty to do so (If I want to be a member, I should act like a member).
> There's some things that I'm really, really good at, and lots of things that I'm mediocre, to really bad, at. I don't hide any of it.
That is a very good sign you are intelectually humble. I see the discussion here veering in many directions but in the end being humble is just being honest to yourself and others about what you know and what you don’t know. Perhaps with the capacity to empathise with people who know less and not making them feel bad for not knowing certain things.
I always think of the quote from the potter episode of Community, as the main character imagines what his mom's words of advice are:
"Jeff, you're a normal person. There's nothing very special about you at all. You're going to be great at a few things, but really crappy at more. And that takes a lot of the pressure off, so you can live a full, happy life. "
I have worked with a number of people who are like that and nobody seems to notice which drives me nuts so it can't be addressed. I have one of those now and I just have to make sure we stay on different teams. The combination of a massive ego and the skill to mask it create a truly terrible person.
Things like VSCode, github or azur pipelines are ok because the cost of a potential migration away from them is tiny compared to the benefits they bring.
However, basing your entire code base (e.g: with .Net), dev env (e.g: codespaces) or infra (e.g: azur cloud) on their tech is betting that a company with a terrible track record will never, ever, go back to its previous bad practices.
I'm not making that bet.