Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, but not so much in scientific computing, where scientists and mathematicians do a lot of the coding.


Because 1-based languages like Fortran, Matlab, R or Mathematica are less used in scientfic computing than elsewhere?


More used in scientific computing, which was my point, because only programmers think of indexing based on offset instead of the first positive integer. Nobody outside of programming in C/Unix inspired languages starts counting at 0.


I may have misinterpreted you comment.

When someone wrote “Going by popularity, 1-based indexing is the established convention” and you replied “Yes, but not so much in scientific computing” I understood that as “1-based indexing is less used in scientific computing compared to general computing”.


Oh, either I replied to the wrong person or misread the parent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: