|
idolmind86 posted:Yes, I was serious. The problem becomes less than trivial when you have to worry about having linear scalability, speed, files up to 4G in size, data corruption, character set conversion, low memory usage, etc. I can see the point in having an XML reader which can handle a subset of XPath (the main feature of the Ricebridge XML reader; "full" implementations usually have to build a DOM) but "convenience" isn't one of the concerns that you cite.
|
# ¿ Feb 4, 2011 16:05 |
|
|
# ¿ May 9, 2024 19:52 |
|
geeves posted:What are some decent frameworks that anyone can recommend I take a look at - I know a bit about what's out there, but I've been mainly stuck in Struts and Apache Jackrabbit / Sling for the last 5 years and really haven't really looked. I have the opportunity to possibly pick something fresh (for me anyway) for a small freelance project I'm taking.
|
# ¿ Mar 7, 2011 14:13 |
|
Contra Duck posted:I think you don't really understand the size of a language like Java. Seriously, look at all of this. Ignoring the rapid pace at which new features are added, complete proficiency in these things alone would take DECADES. You might be able to become a passable programmer in the space of a year if you work hard but when you throw around terms like 'complete proficiency' you're demonstrating that you don't fully grasp the scope of what you're trying to achieve. Working on some real projects (another important step) will give you experience with common APIs, but more importantly it will teach you how to learn about these APIs, because learning every API available to Java (especially given how many of the ones listed are often replaced with third-party alternatives) is a pointless and herculean task. Memorising APIs, especially those irrelevant to the tasks you plan to perform, is the very definition of a fool's errand.
|
# ¿ Apr 8, 2011 11:14 |
|
Jam2 posted:To me, proficiency means being able to use tools available to solve problems and write good code as a valued contributor within an engineering team. It means being able to hold your own in a work environment full of experienced programmers. It means being able to bring something to the table. This is my three to four year goal. The most important thing that new hires bring is a fresh perspective. The actual toolchain tends to be relatively easy to pick up on the job if you're in an anyway half-decent work environment. In particular there is almost no way that you can be educated in practical terms in the way that you describe without just working on things, preferably with others who are more and less experienced with you. As such, the initial plan you laid out (which I hadn't looked at; I was replying to replies to you) looks not unreasonable. Don't worry about "advanced concepts", just learn the concepts that people actually use and you'll end up as proficient as anyone.
|
# ¿ Apr 8, 2011 13:13 |
|
Contra Duck posted:This I will discuss this though. To me that person is a good programmer who happens to have spent a weekend looking at Java*. The usefulness of Java doesn't come from the base language, it comes from the incredible variety of high-quality libraries and add-on features. Unless you have some working knowledge of important add-ons like Java EE and persistence APIs and know of a lot of the smaller ones, I think it's hard to claim that you have any sort of expertise. Contra Duck posted:* Just to clarify, that's not meant as an insult. tef posted:I mean how many java programmers actually understand the type of enum
|
# ¿ Apr 8, 2011 17:03 |
|
Aleksei Vasiliev posted:question: is this not awesome
|
# ¿ Jun 25, 2011 12:39 |
|
MEAT TREAT posted:Just show them how to convert everything into a Runtime exception .
|
# ¿ Jul 28, 2011 13:47 |
|
Exxon Hess posted:I don't know if Scala will be able to take advantage of it, since it's not a dynamically typed language, but Groovy, Rhino, and JRuby will probably get a significant bump, as Hotspot will get a much better shot at JITting.
|
# ¿ Aug 1, 2011 13:05 |
|
Ranma posted:personally I prefer the:
|
# ¿ Dec 3, 2011 19:00 |
|
The Integer implementation has an 2-argument overload Integer.toString(int i, int radix) which lets you generate non-base 10 strings (there's also toHexString, toOctalString, and toBinaryString). If you ever plan on using that functionality, it might be worth using the Integer.toString variant just so code doesn't look weird. Having said that although it's untidy that there's a couple of ways to do this, if you're agonising over which is the "right" one to do, you're probably focusing on the wrong thing.
|
# ¿ Dec 9, 2011 11:02 |
|
Hamcrest matching for tests is handy, but I think using it in TestNG would not be difficult if one wanted to. The main reason I've seen TestNG used is that it can organise tests into groups, and run tests in parallel, though. There are some neat experimental features in JUnit (Assume, @Theories, Rules) which are worth checking if they meet your use-case. Also worth bearing in mind that if you end up using some additional testing library it's a bit more likely to support JUnit, as the more traditional library. Mostly though they're both good and unless you have special requirements they're pretty functionally similar.
|
# ¿ Feb 9, 2013 08:39 |
|
|
# ¿ May 9, 2024 19:52 |
|
crm posted:What does the state of java webstacks look like these days? I'm been stuck in Weblogic Portal purgatory the last few years and need to get out. I personally quite like using Jersey (a REST framework implementing the JAX-RS API) for writing webapps, although it's not really what it's designed for. It's easy enough to hack in a templating engine as an output format that can provide text/html representations. That might be a bit idiosyncratic though. Failing that maybe Spring MVC? Not super-pleasing, sadly.
|
# ¿ Dec 4, 2013 08:38 |