News for hackers. Stuff that matters.
Re:What technology should your startup use? by tieTYT on Tuesday August 27, 2013 @03:21PM (#6285571)
> C#

> We have a better IDE than the Java guys

Biased Java guy here. Completely disagree. Yes VS lets you build nice UIs with drag and drop. But if you compare bare bones Intellij IDEA to bare bones Visual Studio, Intellij IDEA wins everywhere else. All things being equal (that includes programming languages), you can be more productive in Intellij IDEA because its got the fundamentals down and has intuitive shortcuts for doing everything.

Of course I haven't used VS for about 5 years. Keep that in mind. But back then IDEA was light years ahead and .NET devs still thought VS was better.

Re:What technology should your startup use? by edwinnathaniel on Tuesday August 27, 2013 @03:28PM (#6285629)
As long as the .NET guys don't have Maven they can't win.

I can check-out a Java project that contains pom.xml using the big 3 Java IDEs out there (Eclipse, IntelliJ, NetBeans), compile, build, run unit-testing, integration-testing, navigate my codebase like crazy.

But you know, I'm gettin tired singing the same choir of Java. .NET guys can sing how great their C# languages and VS.NET are but we know Java ecosystems win hands down End-To-End; we got it cover from distributed systems, big-data, enterprise, "service oriented", dependency management, build, validation (findbugs, checkstyle).

Eclipse + essential plugins are more than enough for me (albeit I'm using IntelliJ these days) and it's free.

Re:What technology should your startup use? by jrochkind1 on Tuesday August 27, 2013 @03:30PM (#6285652)
Ha! I think what might seperate Java lovers from Java haters is whether you consider `maven` to be an asset or a liability!

Those who only occasionally use Java when they have to... tend to find maven incredibly confusing to get working properly.

Re:What technology should your startup use? by edwinnathaniel on Tuesday August 27, 2013 @03:35PM (#6285690)
Hahahaha, I think you're on to something there!

I wouldn't call myself a Java lovers as I'm moving away from Java lately but so far I haven't found a comparable tool to build+dependency that Maven provides nor I have found a good ecosystems that adhere to non-breaking fundamental building-block standards (Servlet, JSP, JPA2, EJB3-lite, JMS, etc).

Yes, Maven could be painful to start with especially without someone who had previous experience on your team but feature-wise, nothing competes with it yet. Ruby needs RubyGems and Bundler (and Rake to that extends) to compete with Maven. I heard the philosophy of "Do one thing and do it well" but if you're using those tools altogether every time (Rails) then what's the point...?

Re:What technology should your startup use? by jrochkind1 on Tuesday August 27, 2013 @04:51PM (#6286194)
I don't understand what you mean by "ruby needs RubyGems and Bundler to compete with maven."

Sure, and Java needs maven to compete with RubyGems and Bundler.

?

Oh wait, you think it's significant that on ruby it's two cooperative tools with two different names, compared to one tool on Java? I don't see how that matters too much in practice. (But it does, in real life, is it really just maven, or is it maven, and definitely ant, and maybe ivy too? heheh.)

I will admit that I find bundler a lot easier to use than maven, but I'm definitely a rubyist more than a javaite. I _think_ that someone who only occasionally needs to use ruby will find bundler easier than someone who only occasionally needs to use java will find maven. But maybe that's just my own prejudice, I could be wrong there.

Re:What technology should your startup use? by edwinnathaniel on Tuesday August 27, 2013 @05:06PM (#6286281)
Oh I'm not referring to which one is easier to use but merely on the features.

Maven = Bundler + RubyGems + Rake

Maven = Ant + Ivy

Maven = not-sure-what-the-equiv-in-python (pip is more along rubygems?)

I don't think Maven is easy to use if you have to write from scratch (you need an IDE or something to generate the initial POM first ).

I'm also questioning if it's necessary to have RubyGems separated from Bundler when in real-life, you'd almost always use both anyway (along with Rake) to have a more productive workflow.

Re:What technology should your startup use? by jrochkind1 on Wednesday August 28, 2013 @01:01PM (#6291215)
Yeah, it probably would lead to less bugs and easier to follow documentation if they were joined, but such is open source sometimes. And it ends up being not a huge problem in practice, I think.

Don't people similarly often use ivy _with_ maven, as an extra layer that makes certain aspects of maven easier? Maybe I had that wrong. And I thought maven use almost always included using ant. Maybe I had that wrong too. So not a java guy.

Ah, from the Ivy project's own documentation, sounds like I did have it wrong:

> First, the most important difference is that they aren't at all the same kind of tools. Apache Maven is a software project management and comprehension tool, whereas Apache Ivy is only a dependency management tool, highly integrated with Apache Ant™,

That does make it seem like maven isn't neccesarily the "do one thing and do it well" tool you were suggesting it was though! That might be more what ivy is trying to do?

Re:What technology should your startup use? by edwinnathaniel on Wednesday August 28, 2013 @01:30PM (#6291394)
People use Ivy with ANT because ANT solves part of the SCM issue: build. Ivy gives ANT dependency management.

Many people keep saying that Maven is a bloated software but the Maven core itself is rather small, everything else is a plugin.

Compile Java? Plugin.

Compile Scala? Plugin.

Unit-test runner? Plugin (surefire).

WAR packaging? Plugin.

Run your CSS/JS via YUI Compressor? Plugin.

The reason why occasionally you see ANT TASK inside Maven may have something to do with the situation where there's no Maven plugin for that particular task and there's already an ANT TASK for that particular job so people just call that ANT TASK from within Maven. All these tools can work together nicely.

BTW, executing ANT TASK from inside Maven? that's a Maven plugin.

So Maven does one thing and do it well: orchestrating plugins. Each plugins does one thing and do it well: solve a particular need. It does make Maven look bloated because it gives the illusion that Maven does everything... like your Operating Systems.

When people refer to Apache Maven as a Software Project Management it is because it can also generate a website for that particular module/sub-modules/the whole projects.

Example of generated Maven websites:

http://james.apache.org/

http://maven.apache.org/

So you can put everything under your source control and have them build by maven to generate a complete website + documentation + javadoc + release notes for your modules/libraries/javadoc along with other goodies as well (code-coverage result as part of your project website).

Example of the goodies that the maven site plugin can generate:

1. Display dependencies of your libraries/projects

http://mojo.codehaus.org/cobertura-maven-plugin/dependencies...

2. Project reports

http://mojo.codehaus.org/cobertura-maven-plugin/project-repo...

- Checkstyle report (does your code violate any coding rules?)

- Cobertura => check the code coverage

- Javadocs => brings you to the API

All the links in project reports are generated by "mvn site" command and the availability depends on whether you install the plugins.

Re:What technology should your startup use? by tieTYT on Tuesday August 27, 2013 @03:31PM (#6285662)
Yes but I thought everyone uses VS for .NET development? Am I wrong about that? If I'm right, your point is kind of moot.
Re:What technology should your startup use? by edwinnathaniel on Tuesday August 27, 2013 @03:38PM (#6285716)
VS.NET comes in many editions with some limitations.

For example: VS.NET Express does not allow you to have any plugins (or used to, never checked anymore) which means you can't run your NUnit from there and expect code-coverage instantly show up once you ran them.

Their NuGet solution somehow seems limited compare to Maven eclipse plugin where it can download the JAR, JavaDoc, and Source if required whenever someone needs to navigate the source code of 3rd-party lib.

Re:What technology should your startup use? by brimanning on Tuesday August 27, 2013 @04:34PM (#6286096)
You shouldn't be using the Express version for professional development anyway, you really need to use the paid version - that's a whole different Java vs .NET debate running into OS vs proprietary that will never end.

As for NuGet, as soon as you build, all code, docs, etc are right there and it's up to the creator of the library to have created the info. It manages versioning and updating for you as well.

Re:What technology should your startup use? by edwinnathaniel on Tuesday August 27, 2013 @04:52PM (#6286205)
Excellent, I didn't know that (about NuGET), here's the link for those who are interested to know how to set it up:

http://blog.davidebbo.com/2011/04/easy-way-to-publish-nuget-...

Unfortunately the whole debate of OSS vs Proprietary does matter when it comes to "which tools is better". I know it'll never end but it affects the playing fields.

The fact that you can get up to speed very very quickly without spending money or talking to Finance, MS Sales/re-sellers using Eclipse+plugins and Java+OSS libraries/frameworks that were more mature is probably a significant point on this debate.

Re:What technology should your startup use? by rjbwork on Wednesday August 28, 2013 @12:57AM (#6288108)
The money thing is a semi-moot point at this stage due to BizSpark. Yeah, it's a bit "drug dealer"-esque with the whole "first hit's free" thing, but you can use the full MS stack/toolset for free for 2-3 years or until you've got 1 million in yearly revenue. At that point, you can easily afford the relatively minor premium MS extracts from companies using the platform.
Re:What technology should your startup use? by rjbwork on Wednesday August 28, 2013 @12:54AM (#6288101)
We don't really use designers anymore outside of quick low volume enterprisey data driven apps. It's all about the MVC3/4 and EF5 (6 soon!) stuff. We have Resharper now, made by JetBrains, the Intellij guys, and it kicks total ass. Refactoring is a breeze, and it really helps with dealing with legacy code.

I was reared on Java, but at this point I don't think I could go back. C# is just so far ahead of java in terms of language design and features at this point, and Linq is bloody amazing. It's far easier for me to transfer the ideas in my head to my C# code than pretty much any other language I've used at this point, excepting Python for simple algorithmic problems.

Re:What technology should your startup use? by tieTYT on Wednesday August 28, 2013 @01:01AM (#6288115)
Just FYI, if I were in your boat I'd probably feel the same way. I chose my words very carefully:

1. I compared bare-bones IDEs because I know resharper levels the playing field.

2. When I said, "All things being equal (that includes programming languages)" I meant I feel that C# is a better language, but I'm choosing to ignore that so I could compare IDEs apples to apples.

Re:What technology should your startup use? by LoneWolf on Tuesday August 27, 2013 @05:41PM (#6286485)
My first thought too, being an Intellij IDEA user (and mostly java developer) I was annoyed with that affirmation. I had the need to use Visual Studio recently and I can say it is still light years behind Intellij.
Re:What technology should your startup use? by rjbwork on Wednesday August 28, 2013 @12:59AM (#6288113)
I've found that Resharper, by JetBrains, the guys who make Intellij, makes VS the most productive development environment I've yet used.
Re:What technology should your startup use? by Semaphor on Tuesday August 27, 2013 @04:27PM (#6286058)
As someone who started using Java during college for a side job and after getting a job at the company afterwards switching to C# mostly: IntelliJ vs VS? IntelliJ wins (though VS got way closer). But with plugins? Or mainly one plugin: ReSharper (for those who don't know it's a plugin for VS made by the guys who make IntelliJ). VS with ReSharper has become my favorite IDE.
Re:What technology should your startup use? by mattmanser on Tuesday August 27, 2013 @03:43PM (#6285750)
Both you and Edwin don't seem to have a clue what you're talking about.

Drag & Drop? Lack of end-to-end support? Maven?

Just all showing your lack of experience in .net

I wouldn't mind if they were decent criticisms but they're not

Re:What technology should your startup use? by edwinnathaniel on Tuesday August 27, 2013 @04:17PM (#6285986)
I used to work for MS in 2007. I used VS.NET for a while in 2010 (for couple months, mostly writing code and unit-tests via NUnit) and in 2012 doing mostly Sharepoint so I may be outdated.

Back in 2008-2010, I used Eclipse exclusively with Maven (and m2clipse), FindBugs, Checkstyle, PMD, Hudson (Jenkins nowadays), Spring, GWT, with some exposure to HBase and Hadoop. I never had to wrestle with any licensing issues at all. If I want to use something I would go to the internet and download them (IDE, plugins, tools, libraries or whatnot). They're also high-quality grade tools and not toys or something with serious limitation that forces you to buy the commercial offerings.

Feel free to invalidate my opinions. Love to see a better version of NuGET. Love to see VS.NET Express to support plugins. Love to see what great cool plugins exist for VS.NET. Love to see any heavy-weight framework/libraries from .NET that are being used in large-scale and in may areas. It wouldn't hurt if you can list them here for the benefit of everybody else as well.

PS: Mylyn is a very underrated tool. I heard they're going to port Mylyn to VS.NET but haven't seen it from their product page yet as of today.

Re:What technology should your startup use? by tieTYT on Tuesday August 27, 2013 @04:01PM (#6285888)
If I'm so clueless, why don't you enlighten me by telling me what makes VS better than Intellij IDEA? I suspect a bit of the Blub paradox (applied to IDEs instead of programming languages) is occurring here.

I don't see what a lack in .net experience has to do with anything. I'll be the first to admit C# is a better language than Java. This is a comparison between two IDEs. I've used both. I was shocked at what VS couldn't do.