Reputation
31,921
Next tag badge:
112/100 score
19/20 answers
Badges
5 66 116
Newest
 Electorate
Impact
~1.1m people reached

1d
comment How to work with programmer with different preference of indentation width?
@MatthewRead how can you read that tabs were created on typewriters to help indenting text and say that doesn't apply here? The tab key was there to adding whitespace at the start of a line to predetermined points. Isn't that exactly the thing we do when indenting code.
1d
revised How to work with programmer with different preference of indentation width?
added 277 characters in body
1d
comment How to work with programmer with different preference of indentation width?
True, agree on something - but an agreed level of indentation could be "1 tab per level of indent" and the problem goes away, and everyone gets to tweak their IDE settings as well.
Jul
27
awarded  Electorate
Jul
27
comment What would be a reason not to embed JS in C?
@MichaelT I did say it'd add a large amount of complexity... but sometimes its what you need. Chances are though the OP really doesn't need it.
Jul
27
comment Can I avoid more faults if I use different paradigms for the implementation and the specification/tests?
See Cucumber or SpecFlow for a TDD language that is not based on your application language. Is this more like that you mean?
Jul
27
answered What would be a reason not to embed JS in C?
Jul
27
awarded  Nice Answer
Jul
27
answered How to work with programmer with different preference of indentation width?
Jul
27
answered What is the most accepted transaction strategy for microservices
Jul
25
comment Why is filesystem preferred for logs instead of RDBMS?
@Andy its overrated, when you have much logging, notepad++ has some great search capabilities that is quicker and easier to use than DB queries. See the search 'mark lines' option with bookmarks, then cut and paste all bookmarked lines into a new tab, and of course a log file lets you highlight repeated bits of text.
Jul
24
awarded  Nice Answer
Jul
24
comment How to decide what forms the System Under Test
@IgnacioSolerGarcia no - do what makes sense for your system (as medical systems require more test than a note app), read up on Martin Fowler's articles, and remember that the only measure of testing is the quality of the end product., If you can create top quality product without any testing, then you don't need testing. (I doubt you can, but the level of test is what you're looking for, too much is just as bad as too little). Then pick a framework for the language you're writing in and read up tutorials and articles on that.
Jul
23
answered Depend in the direction of stability: How do I know what is more stable?
Jul
23
comment How often should RAII be used?
When to use RAII? Simple: everywhere. In fact C++ doesn't let you not to use RAII, ever class has a destructor even if a default one is created for you by the compiler. If you're using a lot of heap variables, look at the std:shared_ptr and std:unique_ptr.
Jul
23
comment How to encourage contributors to choose rebasing over merging?
possible duplicate of Why squash git commits for pull requests?
Jul
23
comment Why squash git commits for pull requests?
To b fair, SVN keeps the "every commit is sacred" approach, but when merging creates a single commit with that merge and hides the revisions that contributed to that, so it appears like all SVN merges are "rebased". They're not, you just have to tell the history command to show you the merged components. I like this approach the best.
Jul
23
awarded  Good Answer
Jul
22
awarded  Enlightened
Jul
22
awarded  Nice Answer