re: Language Features: Best and Worst VIEW POST


Well much of what is in D. Most it would be nice to have different defaults.

  • static typing
  • templates
  • compile time evaluation
  • c calling conversion support

On the other hand there hand there is Lua. It embeds nicely into D and there are things I don't like.

  • 1 based indexing
  • blocks using words over brackets
  • lack of ranges, iteration isn't very nice.

Ranges and slices are two things I definitely want to implement from the get-go.

1-based indexing isn't even on the table!

code of conduct - report abuse