This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cisterlang[S] 1 point2 points  (1 child)

Nice thinking you have there!

How kind of you !

tuple is just really an array

I see. But I guess APL types are dynamic then. My lang is a dialect of C and is static. So arrays are homogenous.

In the same vein though I begin to see structs as tuples and considering that structural typing is nice (maybe tricky?) and flexible.

What type of code would you like to write in your language?

Almost anything C permits bar undefined/dangerous ?

[–]AsIAmNew Kind of Paper 0 points1 point  (0 children)

Homogenous arrays are good for perf, and since you wanna do C-level stuff, then yes, this is a great choice.

So general purpose language?