• 2 Posts
  • 13 Comments
Joined 5 months ago
cake
Cake day: July 12th, 2024

help-circle
  • SchtefanztoGreentext@sh.itjust.worksAnon tries programming in Java
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    19 days ago

    Do you mean something like c or c++ where you have to deal with big little edian, libc, utf8, platform specific threads, various compilers feature sets and a lot of undefined behaviour. Also if you want to distribute a library it is much harder because you a have to package it yourself or what for a distro to package your library or build a header only library which has to be manually updated every time a new version comes out. With maven you just have to upload it and you can use it in another project

    How often do thinker with the memory management in Java? Just use the g1 garbage collector, which will be fine most of the time if you have a problem just use another one.

    You can also compile the program with GraalVM to a native binary, also most Java programs are servers where it make sense to have a systemd service to configure the server


  • SchtefanztoGreentext@sh.itjust.worksAnon tries programming in Java
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    19 days ago

    Which other eco system has more stable libraries, which are easy to install and redistribute and deploy?

    I would choose always choose the most boring language for the task. That the good thing about java that it is very boring and most likely won’t run into a obscure problem if you stay away from reflection and unsafe.






  • SchtefanztoScience Memes@mander.xyzClever, clever
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    52
    ·
    1 month ago

    Shouldn’t be the question why students used chatgpt in the first place?

    chatgpt is just a tool it isn’t cheating.

    So maybe the author should ask himself what can be done to improve his course that students are most likely to use other tools.