2
fjmurau
343d

I'm teaching a couple of classes where students (~18 years old) work on their own projects. I just deleted two of those from my machine: one Angular and one Spring Boot, but just boilerplate. Together, they were about 500 MB. I spent 2-3 hours working on a little Go tool to make concurrent HTTP requests and to report statistics on the response time. The entire repository is roughly 500 kB in size, but solves a genuine problem. My students have a bloat ratio of 1000 compared to me as a baseline, but my stuff actually does things. Today, I programmed prime factorization in PHP for some load tests (mod_php vs. PHP-FPM). The PHP script is 1148 bytes long (but the file system reports 4 kB). My students could learn more from such a script than from their overblown "projects", but "PHP sucks" I hearsay, so let's bloat on.

Comments
  • 2
    Wait but you're literally the one teaching them this stuff?
  • 3
    Both angular and spring are frameworks that include graphics if I remember correctly.

    And they both have a lot of pre defined styles.

    And if its the projects they will have all those extras there weather you use them or not which will account for most of that “bloat” but without it the frameworks would be useless.

    So try comparing similar tasks ;)

    I have seen similar with so many languages and frameworks over the years.

    Yes, your code probably was more optimized BUT was it really comparable.
  • 0
    @electrineer No, I gave them the option to work on a project on their own. Those who wanted to do that (which was the majority) haven't the slightest clue on how to do it.
  • 1
    @Voxera Why does the Spring framework (for backend applications) need graphics?
  • 0
    @Voxera depends on the assignment, I guess.

    Btw does Spring cover frontend now???
  • 2
    @netikras I thought it did, if not I am mixing it up with some older framework that did support gui, and I do not think about web but local application.

    But I have not worked with java or spring so I could be wrong.
  • 2
    @Voxera I think you're confusing it with Swing, the Java UI toolkit which does indeed do graphics.
  • 3
    @AlmondSauce Ah yes that could be :)
  • 0
    @fjmurau sounds like a poorly conducted course 🤷‍♂️
  • 0
    @electrineer The first half was conducted; for the second half they could either pick something more conducted, but they decided to work on an idea of their own. So they need to conduct themselves.
  • 0
    @fjmurau exactly. As good as nothing.
Add Comment