Tag: default

51 votes
16 answers
2K views
How can I make Sublime Text the default editor for Git?

I have a problem setting Sublime Text 2 as the core.editor with git. I've read through every post I coul

avatar
Robyn
0 1 0 9
asked 07 September, 2021
57 votes
16 answers
1.4K views
How do I set default values for functions parameters in MATLAB?

Is it possible to have default arguments in MATLAB? For instance, here: function wave(a, b, n, k, T, f, flag,

avatar
Elicia
0 1 0 9
asked 07 September, 2021
60 votes
9 answers
541 views
How to set the default controller in yii2

I have UserControler and I run it in virtual server http://basic.com/index.php?r=user/index. How can I set up

avatar
Ali
0 1 0 9
asked 07 September, 2021
54 votes
30 answers
1.6K views
"Least Astonishment" and the Mutable Default Argument

Anyone tinkering with Python long enough has been bitten (or torn to pieces) by the following issue: def foo(a

avatar
Chaya
0 1 0 9
asked 07 September, 2021
66 votes
25 answers
563 views
Does Java support default parameter values?

I came across some Java code that had the following structure: public MyParameterizedFunction(String param1,

avatar
Keila
0 1 0 9
asked 07 September, 2021