Tagged Questions
4
votes
3answers
197 views
Is it bad idea to use flag variable to search MAX element in array?
Over my programming career I formed a habit to introduce a flag variable that indicates that the first comparison has occured, just like Msft does in its linq Max() extension method implementation
...
4
votes
3answers
177 views
Does Java have automatic memory management?
I have started learning about C# and I come to what is called 'Automatic memory management' or 'Garbage collectors' and I'm wondering if Java contains something like this as well? and if it does, does ...
30
votes
11answers
2k views
Did the developers of Java conciously abandon RAII?
As a long-time C# programmer, I have recently come to learn more about the advantages of Resource Acquisition Is Initialization (RAII). In particular, I have discovered that the C# idiom:
using (my ...
-2
votes
0answers
71 views
Real World Implementations of Chain of Responsibility Pattern [closed]
What are the Real World Implementations of Chain of Responsibility Pattern? It can be open source, aside from WITHIN the Java API or .NET Framework. I prefer an implementation in C# or Java.
2
votes
2answers
66 views
How you would name a .NET port of a Java project? [closed]
Assuming that a Java project is called "bar" or "jBar". How would you name a .NET port (in C#):
NBar
dotBar
BarNet
Bar-sharp
-1
votes
1answer
93 views
c++/c#/java program that will 'push' keyboard [closed]
How could I write a program in C++, C# or Java that will "push" itself a certain keyboard button?
7
votes
4answers
401 views
What can and can't the Garbage Collector do?
Will the GC take care of all memory management issues (memory leaks) ?
Is there any case where you don't want the GC to take control of some part of your code ?
2
votes
2answers
303 views
Why is there usually a reference to Java when when people talk about C#?
I don't know much about C# but I've been programming in Java for a few months now. I had always heard what C and C++ were, but was a little curious about where C# came from. I'm a little confused ...
2
votes
5answers
318 views
I want to learn C# through Java. How can I do that?
I have an excellent book for learning OOP using Java but my goal is to learn C#. How can I use that book to learn C# instead of Java? How can I know the equivalent of Java code in C#?
Is there a ...
1
vote
5answers
166 views
Transitioning To Java
I'm primarily a VBA/VB3-6/VB.Net developer of 15+ years with several years of C# experience. Myself and another developer (a seasoned senior level java developer) were hired on at this new company at ...
2
votes
3answers
146 views
Which is most important to learn OOP first or to learn the OOP language you want to learn?
I face a problem nowadays, I have a really good book that explain OOP but it uses a language which I do not want to learn which is Java because my goal is to learn C#. And I don't know if I should ...
0
votes
3answers
144 views
How capable is C#? [closed]
I was just hoping to get a good idea of how capable C# really is. I'll be studying Computer Science soon and was told that C++ and Java are the two main languages but a programmer friend of mine told ...
9
votes
4answers
395 views
Learning path for web developer .NET or Java [closed]
I am interested to know how many real world web application servers are hosted by windows?
I am going to learn C# and ASP.NET and want to convert my self from an embedded developer to a web app ...
7
votes
3answers
353 views
Which is a better practice - helper methods as instance or static?
This question is subjective but I was just curious how most programmers approach this. The sample below is in pseudo-C# but this should apply to Java, C++, and other OOP languages as well.
Anyway, ...
0
votes
1answer
87 views
What is a good Java reference book for experienced programmers? [closed]
Possible Duplicate:
Is there a canonical book for learning Java as an experienced developer?
I am a very experienced C#/.Net programmer. I'm looking for a book that summarizes the java ...
4
votes
4answers
226 views
Java/C# - When should AOT be considered if reverse engineering is a concern?
Long and short is really in the question title. For a language which compiles to an intermediate language like MSIL or Java byte-code, if there's concern about something like reverse engineering or ...
3
votes
4answers
256 views
Would scala be a good choice instead of Java?
We will be starting a new project which will involve training all the .net developers in Java (frameworks/ECO system etc). We have a lot of code written in C# and it seems that all of this will be ...
24
votes
10answers
358 views
Difference between Idiom and Design Pattern?
What is the difference between idiom and design-pattern? It seems that these terminologies overlap somewhere; where exactly, I don't know. Are they interchangeable? When should I use what?
Here is a ...
52
votes
16answers
3k views
Do the young minds need to learn the pointer concepts?
Why did the C master Dennis Ritchie introduce pointers in C? And why did the other programming languages like VB.NET or Java or C# eliminate them? I have found some points in Google, and I want to ...
7
votes
8answers
337 views
how could I interview for a C# position if I master Java [closed]
Possible Duplicate:
Interviewing a developer who's skilled in a language you don't know
I must interview people for a C# position we have. I work on the java side of the project, ...
5
votes
4answers
522 views
Why do we love using i? [closed]
Possible Duplicate:
Why do most of us use 'i' as a loop counter variable?
Maybe this questions seems to be extreamly stupid but I wonder why we use i as variable in most cases in ...
25
votes
3answers
297 views
What are the benefits and disadvantages in the approaches of C#, Java and Scala to Closures/Lambdas/…?
I wonder what the technical implementation differences between C# and Scala are and how both solutions compare to the implementation ideas and concerns voiced in the email Peek Past lambda by Brian ...
20
votes
3answers
477 views
Are static classes with static methods considered SOLID?
SOLID includes the Liskov substitution princicple
which has the notion that “objects in a program should be replaceable with instances of their subtypes without altering the correctness of that ...
12
votes
10answers
1k views
Should we choose Java over C# for a new project?
We have a team of .NET developers (C#) with a range of experience from 2 to 6 years. Over the last few years we have been developing Silverlight, ASP.NET MVC, and WPF applications. However, there is a ...
7
votes
12answers
558 views
Language Choice for Algorithm Competitions
Hi everyone
I have just started taking part in online coding competitions.I would like to know which language would be better as regards efficiency and ease of debugging. I tend to avoid c++ and ...
5
votes
5answers
218 views
Object-Oriented Class Design
I was wondering about good object oriented class design. In particular, I have a hard time deciding between these options:
static vs instance method
method with no parameters or return value vs ...
1
vote
2answers
629 views
Didn't do too well on a Java IKM test, advice?
I did an IKM Java test recently and got quite a low score. I only graduated a year ago and I dont have commercial experience in Java (i do web development in my current job).
I thought reading up a ...
1
vote
3answers
245 views
If I learn Java fundamentals and OOP, will I learn C# easily?
I have found a good book that I liked. It explains OOP in easy way and in some detail but it is not for C# it is for Java. So, should can I easily transfer and apply my knowledge to C# after reading ...
0
votes
5answers
131 views
Case convention- Why the variation between languages?
Coming from a Java background, I'm very used to camelCase. When writing C, using the underscore wasn't a big adjustment, since it was only used sparingly when writing simple Unix apps. In the ...
2
votes
2answers
463 views
Low latency technologies for c++, c# and java?
I've been reading job descriptions and many mention 'low latency'. However, I wondered if someone could clarify what type of technologies this would refer to? One of the adverts mentioned 'ACE' which ...
0
votes
1answer
179 views
Good readings to learn bouncycastle
What are some good resources for learning bouncyCastle?
No matter if is java or .net.
Thanks
3
votes
4answers
126 views
Creating a library in two languages simultaneously
I'm planning on writing an open source HTML parsing library in .Net so that I have a project out in the wild when I start looking for developer jobs. Now, in my Masters program I started learning Java ...
11
votes
8answers
407 views
Which of these 3 languages is easiest to convert to Delphi?
I am intending to purchase some source code for my Delphi program. It is not too big an algorithm, but it is not available in Delphi and I'll have to translate it to Delphi.
However, I have not ...
5
votes
5answers
406 views
Why do Windows Forms / Swing frameworks favour inheritance instead of Composition?
Today a professor of mine commented that he found it odd that while SWT's philosophy is one of making your own controls by composition, Swing seems to favour inheritance.
I have almost no contact ...
4
votes
9answers
487 views
The definition of C-based language
What is the definition of C-based language?
Is C# considered to be C-based?
Is Java considered to be C-based?
Furthermore, what does it mean for a language to be based on another language anyway?
21
votes
7answers
985 views
Is there any benefit by switching from C# to Java?
I've been a .NET developer for about six years. In those six years, I've worked at exactly one .Net shop that followed any kind of actual design pattern or industry best practice. That realization ...
6
votes
7answers
537 views
Costs of Switching to Java
I'm a C# dev and I have plans of starting to develop apps targeting Android, which of course means Java. I have heard good things about Mono for Android and the idea of reusing my skill set is ...
6
votes
1answer
303 views
Why isn't the Stab language more widely used?
I am wondering if there are technical reasons that make Stab an unsuitable alternative to Java.
Stab borrows heavily from C#, bringing many C# features to the JVM:
Less verbosity
type inference ...
1
vote
3answers
304 views
do you use built in Stack/Queue/List or Vector in your program?
Yesterday i saw in a post a guy said that built in Stack/Queue are 5x slower than a normally coded Stack/queue !
Is it true ?
If true then why Microsoft (C#.NET,VB.NET) or Oracle (JAVA) is giving such ...
4
votes
7answers
243 views
How long should someone take classes in a language they don't plan to work professionally in?
I was late in my signing up for classes at the start of last term, so I signed up for the only programming class I could find C++. After doing well in that class I was allowed into intermediate C#, ...
1
vote
2answers
299 views
Beginner understanding game programming
I have always been interested in gaming and I have a reasonable amount of programming experience. While I have read strategies like Divide and Conquer, greedy approach and other principles, how do I ...
14
votes
9answers
1k views
Will Java catch up with C#? [closed]
Today I posted a question asking about which language C# or Java would be better for me to study. I had some great answers. One thing that came up was that perhaps Java is now rather behind C# with ...
4
votes
5answers
578 views
Interview : Java Engineer being interviewed for .NET/C# position
I'm engineer with knowledge in Java programming language. I'm being interviewed for .NET/C# position. I have no knowledge about .NET technologies. What are the concepts i need to focus on for ...
10
votes
2answers
370 views
How can I use my coding skills for good?
By this autumn my two small websites should be generating around a total of $1200 a month with minimal/zero input which is enough to for me to live on comfortably enough.
Rather than embark on ...
3
votes
1answer
236 views
After J2SE should I learn J2EE or C#
I have a fairly good knowledge in J2SE. So I'm thinking of learning C#, WPF and then ASP.NET. While learning these stuff I'm thinking of polishing my Java knowledge also.
My Problems are,
From ...
6
votes
5answers
487 views
How could this diagram for “making a career move into software development” be improved?
I'm giving a talk in April 2011 on "Developer English" and showing my non-developer audience, mostly English teachers, various diagrams to explain how developers see their industry etc.
One of these ...
1
vote
7answers
323 views
Java and what to do with it
I've been browsing through several websites and several topics on this website.
Now I'm just a starting programmer and I want to make a good decision.
From what I understand is that Java is used ...
2
votes
7answers
193 views
Java - learning / migrating fast
This is not one of those questions like "How do I learn Java extremely fast, I know nothing about programming, but I heard Java is cool, yo".
I have an interview for a Java Software Developer in a ...
19
votes
18answers
1k views
Pair Programming: Pros and Cons
I need some experience reporting from the ones who have done pair programming,i notice that lots of people recommend that but my experience was that at one point its more efficient to set alone, think ...
1
vote
4answers
206 views
Java or C# for a PL/SQL Developer
Can you Please suggest as what should be my next carrer move , I am an Oracle Developer , I worked in Forms and reports and know good PL/SQL and SQL.
Now , I am thinking to learn new technology as ...