Open dev tools and select networking - this page performs so many concurrent requests to load images, it will never work on medicore connection using mobile device. It even fetches/tries to renders one that are 404.
I see your point, however, function parameter lookup is present in all IDEs I've tried/worked with (VSC, Atom, Jetbrains').
Is boolean flags antipattern? Well, this all depends on the workflow. I follow ideology of making thing work first, then making it perfect. If introducing flag saves me two hours that I can spent to deliver on time - hell - why not - knowing that everyone who works with me uses some modern text editor / IDE - they will know immediately what's the parameter is doing. Also, what I've observed is that most of the people do have a habit of `fn + click` into function they've never seen before - so they will learn about parameters one way or another.
Everyone that works in project A uses properly configured IDE, so when you take a look at code you'll actually see something like that: `getClient(liveMode: true)` instead of just `getClient(true)`.
Is there really a point in creating Enum or writing more complex internal logic if you use proper IDE?
Only benefit I can see is doing CR's via Github like system - but still, I do not believe in CR without actually pulling, viewing, and testing code on own computer.
Hard to suggest smth without details, but imo 256kb per message is a lot and enough. One thing I would consider is storing such "messages" payload on s3, and sending notification to sqs allowing you to fetch given file and process it (this however might be expensive if you happen to have such high traffic)
I have little experience with teaching but here are my 2 cents: What I observed is that at some point any new developer grows in ego and starts to question. So it's better to absent from teaching and let your pupil do something incorrectly on their own - if they fail they will learn a lot more than when being instructed to do something properly right from the start.
Also, it loads more than 10 when you start scrolling.