code-maintainability Questions

6

Solved

Technology: Java 1.5 or 1.6 Hibernate 3.4 To avoid update of column name on multiple places on change of column name or tablename, i want to have a constant file for same. I have following querie...
Natty asked 17/12, 2010 at 18:23

5

Solved

In SQL Server, I have a new column on a table: ALTER TABLE t_tableName ADD newColumn NOT NULL This fails because I specify NOT NULL without specifying a default constraint. The table should not ...
Institutionalize asked 22/9, 2010 at 14:2

7

Solved

I have some topic to discuss. I have a fragment of code with 24 ifs/elifs. Operation is my own class that represents functionality similar to Enum. Here is a fragment of code: if operation == Oper...

3

Solved

For instance, when I define a class file in C++ I've always put the function bodies in the class header files (.h) along with the class definition. The source code file (.cpp) is the one with the m...
Fula asked 19/12, 2017 at 1:6

1

Solved

I am currently working in a product where different types of images like product images, user profile pictures, logo etc. are there. I need a database with good query performance. I got two DB des...

5

Solved

I have 7 different buttons that all perform the same javascript function on click. should i use class selector or id selector. $("input.printing").on("click", function(event) { printPdf(event);...
Phillida asked 13/3, 2013 at 18:49

3

Solved

I am developing a embedded software that is meant to run on two to three different family of micro controllers. For now we have makefiles that reads the configuration switches and does compilation....
Forta asked 4/1, 2012 at 7:52

3

Solved

Apart from error codes, error strings and logs, are there any other features which can be incorporated in the code to increase getting debug / trace information during code runtime which can help d...
Donaghue asked 1/2, 2010 at 15:9

2

Solved

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. I found this at somebody's blog, and it introduces as Rick Osborne's....
Afflux asked 18/5, 2009 at 3:4
1

© 2022 - 2024 — McMap. All rights reserved.