Announcement

Collapse
No announcement yet.

Enlightenment's EFL Continues Dominating In The Embedded Space

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    Originally posted by Hi-Angel View Post
    To me it sounds more like a functional than OO. It's a shame though that C still didn't have ADTs.

    P.S. hmm, sorry if something go wrong, that post have actually embedded quotes, but for some reason I didn't see them in the preview
    You can emulate functional data structures with structs, typedefs, unions, and macros - to some extent, but it's a shame the C developers can't see the value in tagged unions. Shouldn't be too hard, but they'd have to pair it with pattern matching and all these would eventually lead to a pile of crap. ML style language provide a lot better starting point for this kind of stuff. OCaml isn't that bad if you like C.

    Comment

    Working...
    X