5,929 reputation
1349
bio website
location
age
visits member for 3 years, 1 month
seen 31 mins ago

Feb
13
comment How can i get around of infinite circle of technology change
What is the goal of your personal projects? Implementing something that you know and are comfortable with is a good way of learning a new language or framework. In that way your reimplementation of your personal projects helps you get proficient with new technologies.
Feb
12
comment Boss is ordering me to send spam. How to I deal with this issue/what is my options?
@Miloshio it stays a comment and I hope your boss doesn't know your stack username.
Feb
12
comment Boss is ordering me to send spam. How to I deal with this issue/what is my options?
Find spamtrap emailadresses and inject them in the run, that way your server will get blacklisted in no-time.
Feb
12
comment Code maintenance: Is it better to develop in English or my mother tongue?
If you like job security and want to make outsourcing harder: your native tongue, or even better, your local dialect. ;-)
Feb
11
comment Staying productive by keeping focus on a feature while developing
In a team you would get asked: "What's the status of that feature you're developing?" and if you reply: "Nothing because I got sidetracked on thingie x,y,z" then people would start questioning why you're not following the plan.
Feb
10
comment Is a programming language a set of programs or a set of instructions?
@JörgWMittag John McCarthy didn't inted for Lisp to be a programming language.
Feb
8
answered Is a programming language a set of programs or a set of instructions?
Feb
8
comment Is a programming language a set of programs or a set of instructions?
Your first argument is recursive.
Feb
6
comment I have generally read that having many (>4) arguments to a function/constructor is a bad practice. Is this still considered a bad practice?
Yeah it's still bad smell because often those parameters belong together: consider the function IsEnlistAble(Age, Gender), both age and gender belong to a person, the same person, not different persons, so you would make the function IsEnlistAble(Person) that would be much clearer and if requirements change like, only males shorter then 2 meters are enlistable, then you wouldn't have to change the arguments.
Feb
6
comment Relation between object orientation and algorithms
"Why algorithms textbook are more procedure-oriented?" Java is also procedure-oriented. Java is an object oriented procedural language.
Feb
4
comment Hard Coded File Paths - Solution?
If your images aren't too big (< 1MB), then you could consider storing them in the database.
Feb
3
comment What's the benefit of GIT for solo programmer?
@gnat, your first comment links to a closed too broad question, your second comment links to a 2 closed: duplicate questions. Why would you say this question is invalid and then provide links to other invalid questions?
Jan
31
comment Should Latin-1 be used over UTF-8 when it comes to database configuration?
How much of you codebase would break when converting to UTF-8 ?
Jan
30
comment Are there any benefits of using this extra variable in the for loop annotation?
@neil this I don't see as optimization but as common sense: if you're going to get a value that you know won't change, then only get it once.
Jan
30
comment Are there any benefits of using this extra variable in the for loop annotation?
Thing is, if your array is a million items, you're going to call array.length a million times instead of 1 time while the value stays the same. Asking something a million times and knowing that each subsequent answer will be the same as the first answer......just sounds a bit nonsensical to me.
Jan
30
comment Are there any benefits of using this extra variable in the for loop annotation?
In reaction to you edit: this is object oriented programming. Standard array.length is fast and cheap. But for whatever reason, the implementation of .length could change to something expensive. If a value stays the same then don't get it multiple times.
Jan
30
answered Are there any benefits of using this extra variable in the for loop annotation?
Jan
27
awarded  Civic Duty
Jan
27
comment Why does this algorithm work in O(n m)?
The complexity is both O(n*m) and O(n^2) because m is a linear function of n.
Jan
26
comment Is the 'finally' portion of a 'try … catch … finally' construct even necessary?
@supercat nice, thanks for the extra info about Java.