Comparison of ALGOL 68 and C++

C++ doesn't have:

  • PROC โ€“ first class nested functions (emulation due to local definitions of class types, which could be functors; also, C++11 has lambda functions),
  • OP and PRIO โ€“ definable operator symbols and priorities,
  • garbage collection (could be emulated with help of smart pointers),
  • use before define,
  • formatted transput using complex formatting declarations,
  • := โ€“ assignment operation symbol (to avoid confusion with equal sign),
  • array (and slice operations on them, but in layered libraries),
  • automatic UNIONs,
  • CASE expressions,
  • nonlocal GOTO
  • intuitive declaration syntax due to its origin from C.

ALGOL 68 doesn't have:

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.