Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Should a post be moderated?  RSS feed

 
Sachin Tripathi
Ranch Hand
Posts: 368
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is anyone else is noticing the way this gentleman is replying, or am the only one having all the fun?
 
Henry Wong
author
Sheriff
Posts: 23275
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sachin Tripathi wrote:Is anyone else is noticing the way this gentleman is replying, or am the only one having all the fun?


Well, you two are having a very subtle discussion. Arguably, you are both correct. Yes, it is an object that is assigned to a reference. And yes, the compiler need to evaluate that object (RHS of expression), and only have the reference to work with (at compile time).

Regardless, debates based on very subtle points are always interesting to watch...

Henry
 
salvin francis
Bartender
Posts: 1563
29
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:...debates based on very subtle points are always interesting to watch...


Depends on how healthy the discussion is going ...
Honestly I see less debate and more arguments and taunts. OP would have to filter a lot of stuff to get a helpful answer.
 
Henry Wong
author
Sheriff
Posts: 23275
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, this discussion has been spun off from here ... http://www.coderanch.com/t/657727/java/java/Inheritance-java

salvin francis wrote:
Depends on how healthy the discussion is going ...
Honestly I see less debate and more arguments and taunts. OP would have to filter a lot of stuff to get a helpful answer.


Apologies if I came off as "insensitive". It was not meant to be.

Keep in mind that it is hard to read people's implications from posts. Also, keep in mind that we (moderators) have seen lots of more stronger "taunts" (and many of them directed as us). Of course, neither of these points will help you, if you believe that you have been insulted (so, I don't have a good answer to that).


... but ... yes, you can read the responses as argumentative taunts, or you can address the technical part of the responses (which are actually valid)... and try to have a constructive debate.

Anyway, since the point of moderation can be a gray area, perhaps other moderators can give their opinions?

Henry
 
Sachin Tripathi
Ranch Hand
Posts: 368
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Talking about the post,according to me it needs moderation:
1-Sankalp Bhagat had used acronym,abbreviation, slang (whatever that was),that is not totally acceptable.As we are always taught to be not be Rude and being rude (or whatever that was) on the forum is not acceptable

2-I just Suggested 2 genuine things(will talk about them in my next post) its up to you,accept it or don't, but one should not have replied in that way(Sankalp said:if you can't see )

3-I am not feeling insulted or offended.Nothing can make me feel so until I am correct what I am saying



 
Sachin Tripathi
Ranch Hand
Posts: 368
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My 2 suggestions were:
Avoid using parent and child for super and sub classes,because they have no resemblance to parent or child

Reason: biological inheritance should never be confused with OOP's inheritance.
In oop if subclass extends super class we say subclass Is a superclass
But can we say samething in biological inheritance i.e. Child Is a Parent
-No


The rule about which you are talking about:
Instance(object) of subclass can be assigned to reference variable of its super class (direct or indirect)

Reason: op had clearly used objects
He was not only talking about the reference variable holding nothing. He was talking about the the reference variable holding reference to some object
So my suggestion was according to op's question
And in my post I had used this : (direct or indirect )
Where direct means
a=new B();
Indirect means:
a=b;


One more point Sankalp Bhagat
Directly gave the answer
As far as I have learnt ,we are here to help op(s) to discover their solution by themself
 
Sankalp Bhagat
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1] using slangs like lmao, gotta (as per you said is rude)
I don't think so. For more information about slang whether it's rude or not you need to read this
https://en.m.wikipedia.org/wiki/Slang

2] if one is not actually seeing what the question is and is being blind to prove his point which is right but totally irrelevant, of course one would say (if you can't see)

3] it's not like I haven't used superclass. Of course I've used and I wrote superclass ie. Parent class. I know it's wrong in Java but for the person who asked the question, I intentionally wrote that. I knew someone would point out that that's why I wrote superclass ie parent class. But it wasn't a big deal just was improper words to use..
But what the question is and what you are trying to prove. Except I never said your answer was wrong lol..



 
Sankalp Bhagat
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once again..... The question was of assigning references not assigning runtime objects.
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please continue all discussion about whether the assignments will or will not work on the original thread.
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quarter hour ago, I wrote:Please continue all discussion about whether the assignments will or will not work on the original thread.
Amd I meant it. Please don't post technical replies here. Other posts will be merged back to the original thread.
 
salvin francis
Bartender
Posts: 1563
29
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:
Apologies if I came off as "insensitive". It was not meant to be.



Henry Wong wrote:
Keep in mind that it is hard to read people's implications from posts.


Agreed

Henry Wong wrote:
Also, keep in mind that we (moderators) have seen lots of more stronger "taunts" (and many of them directed as us). Of course, neither of these points will help you, if you believe that you have been insulted (so, I don't have a good answer to that).


I just glanced through the post and this came to my mind :

  • What would the OP think of coderanch (This being his first post)?
  • Will the OP learn from the discussion here ?
  • Will the OP share his thinking if he is afraid that people mock him at his reasoning similarly ?


  • Hence I posted that.
     
    salvin francis
    Bartender
    Posts: 1563
    29
    Eclipse IDE Google Web Toolkit Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Just an add on, many of our teachers here in india refer to inheritance with parent child analogy, here is a post from my end as well in 2009 where jesper corrected me
    http://www.coderanch.com/t/470331/java/java/difficult-understand-oops
    where I too referred it in the same way.
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!