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

help-circle

  • 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.



  • According to the French Constitution, the President cannot serve more than 2 consecutive terms. Macron was elected in 2017 and relected in 2022 (against the far-right candidate) so he can’t be candidate in 2027.

    Before 2027, there won’t be any meaningful national election in France (European congress in 2024 and municipal elections in 2026).

    Also, Macron hasn’t the absolute majority at the French national assembly, but there are tools in the Constitution which allow the government to pass laws without a vote. And the opposition is not strong enough to dismiss the government.