Tag: conventions

56 votes
9 answers
1.9K views
Using i and j as variables in MATLAB

i and j are very popular variable names (see e.g., this question and this one). For example, in loops: for i=1

avatar
Rudolf
0 1 0 9
asked 07 September, 2021
50 votes
13 answers
1.6K views
Boolean method naming readability

Simple question, from a readability standpoint, which method name do you prefer for a boolean method: public

avatar
Tuan
0 1 0 9
asked 07 September, 2021
63 votes
7 answers
3K views
Convert Enumeration to a Set/List

Is there some one-liner bridge method to dump a given Enumeration to java.util.List or java.util.Set? Somethin

avatar
Omar
0 1 0 9
asked 07 September, 2021