Hello,
The problem I have has got me puzzled. The problem is explained below,
There is a container, for example lets say which has a volume of "V". The container needs to be filled with various types of boxes, where each type has a unique size (volume), for example lets say
Box Type A - has a volume of K
Box Type B - has a volume of L...
How can one achieve scalable code.
Better to frame the question as "What do you mean by scalability of code" and how to determine the extent to which code is scalable.
Waiting for positive replies.
Thanks in advance
...
Can we use __typeof__ for input validation in C program run on a Linux platform and how?
If we can't then, are there any ways other than regex to achieve the same?
...
Note: This is not about the merits/demerits of SSJS
I am only asking if you think it is possible to create a simple dynamic site strictly using some form of SSJS. I am in no position to do any arguing (0 programming experience) -- I can only give you the benefit of some of the most interesting tutorials and information I ran across yest...
Hi,
imagine something like this:
import class B.*;
interface A supports A.testSum
{
int sum( int a , int b ) access from B.calculator;
testSum() { Assert(sum(1,1)==2); }
........
class B ...
{
void calculator() { A.sum(3,5); //ok }
void someOtherMethod() { A.sum(0,3); //compile error }
the idea of the "supports" is s...
OOP is probably the most used programming paradigm in today's software design. My question is -- what other paradigm(s) can compete with it and can stand in the place of oop? To clarify that question, I'm not asking about what other paradigms there are. There are many of them and I'd like to know which one:
Has been used in practice, n...
Hi,
I know && is the logical operator here, also conditions on the left and on the right are operands, right?
Like:
1+1 is an expression where + is the operator and the numbers are operands. I just do not know whether the condition itself is called the operand as well because it get compared by an operator. I guess so.+
Thanks
...
Possible Duplicate:
Language for non-programmers to start learning programming
Hi, I'm 12 years old, I live in Poland, and I would like to start programming. What programming language (object oriented) would you suggest for the beginning, I'm not interested in visual basic.
...
I've heard these terms thrown around describing languages before. like C is not quite a low level language, C++ is a mid level, and Python is a High level language. I understand that it has to do something with the way the code is compiled, and how it is written. But what I want to know is what defines a language into one of those 3 cate...
I would like to write a code internal to my method that print which method/class has invoked it.
(My assumption is that I can't change anything but my method..)
How about other programming languages?
EDIT: Thanks guys, how about JavaScript? python? C++?
...
I have recently visted the GMail Blog, and found the extreme point of logic building inside software,
i.e.
Never forget an attachment again
Gmail looks for phrases in your email
that suggest you meant to attach a
file (things like "I've attached" or
"see attachment") and warns you if it
looks like you forgot to do so....
Hi guys ,
My question is really very important .
When i program i have seen that i had lots of errors in programming logic + structure + a flexible when it goes for testing , i have read many books on OOPS and my all the concept are clear but i do not know where to start design of my code or project . can any body help me how to improv...
Array programming languages (also known as vector or multidimensional languages) generalize operations on scalars to apply transparently to vectors, matrices, and higher dimensional arrays.
Is it possible to achieve this kind of code reuse in Scala?
...
What tips/suggestions do you have for writing more understandable code?
I've been somewhat frustrated by the lack of structure and bad format of some code I've been maintaining lately and would like to propose a series of guidelines for writing more understandable code.
Any suggestion might help, no matter the language.
Regards.
...
Is there anything that java cannot do? But other's can?
I am talking about Java as a programming language.
This is just something to help me about what other programming languages I should also consider learning.
Edit:
Ok, ive been doing java programming for many years and i sometimes have the feeling that I wouldn't need to learn an...
This is more of a directional question. I've been taking computer science classes for about 2 years(a graduate with my A.S. degree this fall) and I'm sort of wondering everyones opinion on where the market is headed towards today with programming languages. I'm getting better with c++ but I still have a lot to learn and I'm pretty knowle...
Hi,
I'm a Java developer primarily, dabbled in a little C# but mainly Java.
So I have wanted to get into C++ development for some time now but have not found any on-line tutorials that I liked or are modern. Just so you know I've been developing in Java for about 3 years now and I would like a beginner level book to introduce me to every...
I have a webpage which display loads of data (say around 1,000) retrieved from the back end and is displayed in a proper HTML table format with proper styling and stuff.
Now my question is, I am working on Java based web environment, so inorder to display this laods of data I use JSP and the compiled JSP file when returned from the tomc...
Had this question in the interview yesterday.
Which is better to use? Infix(with parenthesis) or Postfix? State with reason..
I only could tell them that:
it is easier for the compilers to process postfix expression for arithmetic evaluations and operator precedence.
More memory is used for storing and processing the parenthesis.
...
What do you think? What is the ideal programming language learning sequence which will cover most of the heavily used languages and paradigms today as well as help to grasp common programming basics, ideas and practices?
Edit:
You can even suggest learning sequence for paradigms rather than languages.
...