DEV Community

Discussion on: Language Features: Best and Worst

Collapse
 
jessekphillips profile image
Jesse Phillips

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.
Collapse
 
awwsmm profile image
Andrew (he/him)

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

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