Kajo [he/him] 🌈

  • 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • I think it’s a more global movement.

    When I was recruited at my university in the early 2000s, every teacher had an ftp-accessible space with an http address like myuni.edu/~myname. The more techie ones did html, the fancier ones even added css. Muggles would export html from a Word document.

    Then one day, the IT department decided to replace this with a “learning management system”. A wysiwyg platform with dozens of modules for videoconferencing courses, homework submission, online exams, and so forth.

    Except that the user (the teacher) no longer has control over his or her personal space.












  • Thank you for the article. Opaque struct is an interesting subject for people who want to go deeper into their understanding of C.

    If I could add/emphasis two points to the article:

    • FILE is a famous example of struct using this trick. So, even if yon don’t often need to develop an opaque struct in C, you certainly use such struct daily without knowing.

    • you can’t declare a variable with an opaque type (because the compiler would need to know its size). Everything must be handled through pointers, and the library has to provide functions to allocate/destroy the struct, like fopen() and fclose() for FILE.