Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: qwertmonkey@syberianoutpost.ru Newsgroups: comp.lang.java.programmer Subject: cannot find symbol? Date: Sun, 5 May 2013 08:26:29 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 146 Message-ID: NNTP-Posting-Host: jcJFTAhAdFLWfAXONlzC5w.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: NetComponents Xref: csiph.com comp.lang.java.programmer:23838 > You no longer have to deal with Class tokens, instantiation, exceptions, or generics! ... ~ > getCtxtDTO will return an Object of the static type T_Ctxt, but T_Ctxt > has no information about it, other than it extends Object. In order to > know more about it, you need an interface or base-class. > class Foo in Java is *not* the same as in C++. Templates are not > even closely possible in Java. ~ > What are you even *trying* to do? ~ Daniel et al, the reason why I chose to use Class tokens, instantiation and generics instead of interfaces is because: ~ 1) this code takes command line arguments (which are all text/of type String) and returns an (I was hoping for, typed) object with marshalled and addressable data ~ 2) I don't want for users to have to write an interface for each set of command line arguments ~ 3) Since each type of program produces a distinctive type of object based on 1) a DTO is all you need as an output, which (IMO) is all the user should be required to handle ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Now, in defense of "women walking on wearing really noisy hard sole high heels" ... ~ >> For example, unnecessary noises bother the hell out of me ... > But you may (and you should) consider her less suited ... > I would imagine you invite them over less often than you do less noisy women. ~ Once, in a totally serendipitous way, I met a girl from Hungary, who was a gardener, knew what semiotics is, had been raised (in Germany as) a Franciscan, ... (you definitely know sh!t when you trade on it!) To me she was some Kantian-like "that sh!t an sich" ... but she smoked (which was severely contradictory) ... ~ >> Haven't you heard the joke about how an engineer a physicist and a mathematician >> fight a fire? > No, I haven't. ~ A critical room in a crowded building gets in whipping fire: ~ engineer: sets off all alarms in the building, calls fire department/emergency, makes his way into the room, starts using all kinds of fire extinguishers, makes huge mess and keeps frantically screaming from a balcony even after extinguishing the fire ~ physicist: assesses the situation, asks a nurse (after clearly showing it to her) to find the right kind of fire extinguishers and stand by with more of them, tells her to tightly seal crack between the door and the frame with wet clothing after he gets in and to open the door to get him out if he doesn't knock from the inside every time after 30 seconds, puts on a wet mask, gets in trying to remain the least excited he possibly could, from a distance uses the right extinguisher creating the least possible mess and once done quietly offers to clean up the mess himself ... no one else finds out what had just happened ... ~ mathematician: notices the ensuing fire, sees fire extinguisher, ... and walks away because "that problem had a solution" ~ > The syntax of a program can interfere with understanding the semantics of it. ~ "semantics" you say? it amazes me how we tech monkeys freely mess with concepts such as "semantics", "information", "abstract" and how we apparently think of coding (essentially some textual carpentry) as if it were high-end philosophy of some sort ~ > There is a difference between politics and social acceptability. > I would do whatever I could to get you fired. > I would do this regardless of the type of job you were hired to do. ~ yes, there is, but that difference is voided when "socially acceptable" people start seeing themselves as "the ones" and those who aren't as evildoers ~ My mind might be somehow so exceptionally good at visually parsing out what should matter from what doesn't that I even find annoying that people waste time talking about such cr@p and/or it may relate to me being downright lenient when it comes to people's ways ~ > Research, enterprise, embedded, teaching. Especially teaching. ~ I may see your point somewhat with the former cases, but when it comes to teaching I can tell you that the job of a teacher is not "norming" people and/or putting their minds in straight jackets "for 'the greater good'" ~ > On an unrelated note, it would be more polite of you to follow standard > usenet protocol for replying to messages. Keeping the thread in one > place ~ I use some java code based on apache commons NetComponents and I haven't figure out how to troubleshoot that (nor have they let me know) it sometimes works http://mail-archives.apache.org/mod_mbox/commons-user/201209.mbox/date Albretch Mueller SimpleNNTPHdr HeaderFields ... ~ > So a better analogy is that (of everybody driving on the same side of the road) ... ~ your analogy is quite a bit forceful. I myself find the left-handed people one more appropriate ~ > Ease of maintenance is a primary goal in creating software. ~ I find often arguments about those (to me silly) issues. To me it is a totally technical problem people should not even have to talk about. I wonder why people maintaining software themselves haven't design software as part of the software dev cycles to ~ 1) convert/parse code from java classes (and/or source) into XML ~ 2) turn the XML using XSLT into "company/socially acceptable/SSCCE/maintenance friendly" code ~ 3) there may be certain things a bit hard to code for out. GUI would be a nice aid ~ 4) keep users/finger profiles ~ 5) keep the whole thing as a company-wide corpus ~ > You want people to spend time ... ~ Again, I wonder what makes you think that I want for "people" to waste their time trying to help me. If -YOU- don't want to because of whatever reason, you, very naturally and effortlessly indeed, can ignore it and that will be that ~ Yes, I have coded quite a bit of FORTRAN, ANSI C, ANSI C++ and lately java and I even have a hard time keeping apart the three languages that I speak. I will however be a little more conscious of how harmful/upsetting to the coding style inquisition my coding is once I make it public ~ Also, IMO, we tech monkeys should once if a while take our heads out of our own read ends for some fresh breathing. I (almost compulsively in an "unconscious" way) try to help people, even offering money to (whom I believe to be) single mothers struggling to pay for groceries, who sometimes even freak out when they notice a stranger handing cash to them. I don't tell them they should or shouldn't have done this or that, I just feel like I am helping my own single mother ~ lbrtchx