Sidechat icon
Join communities on Sidechat Download
1-indexed languages are dogshit and should not be used for anything
upvote 9 downvote

default user profile icon
Anonymous 27w

Which languages are 1-indexed? I forget

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 27w

julia (sadly), lua, matlab, R, fortran (gets a pass lowk), cobol (also probably gets a pass because everything breaks without cobol)

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 27w

oh my god I forgot MATLAB and R were 1-indexed, it’s been at least a year lmao

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 27w

i genuinely think matlab isn’t worth using if you’re not using simulink, you can do all the same shit in python and it’s easier. and if you need fast code, you can easily use a jit compilation package and get really high performance.

upvote 6 downvote
default user profile icon
Anonymous replying to -> OP 27w

Yeah I only had to use them for 1-2 classes and then happily uninstalled them from my computer lmao

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 27w

dude compiled python is so badass it’s so fast. it does make it a LOT easier to hit memory bandwidth limitations though.

upvote 3 downvote
default user profile icon
Anonymous replying to -> #1 27w

because the woke left says that writing a 1mx1m array of complex128 is compute intensive

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 27w

lol I haven’t tried it tbh, I’ll look into that

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 27w

BAHAHAHHA

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 27w

i did successfully do 2k by 2k tho

upvote 1 downvote