DEV Community


Discussion on: Language Features: Best and Worst

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

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

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

Forem Open with the Forem app