Live data from Hacker News

Fizz Buzz: Enterprise Edition

github.com

21–30 of 171 posts

Re: Fizz Buzz: Enterprise Edition

#21
post #12
post #9

I love this. I just wish it was a joke. This is a daily reality for so many of us.

do you put .java. in your package names? That one stood out as really strange (others were par for the course)

What if you have projects in other jvm languages?

Re: Fizz Buzz: Enterprise Edition

#23
post #6

lol, cracked me up. I met some c# guy who did the whole enterprise thing in his version, but it wasn't tongue in cheek at all. in my head I went, this is why the whole ms enterprise stack sucks balls. the sad part is that they actually think it's good to abstract away something really simple. EDIT: removed the link, sorry for offending you dude

Your comment offends me, but on a light note, for every 1 developer doing the enterprise overengineering crap, there is a dozen of us C# guys who are doing the opposite where I work.

it shouldn't, it has nothing to do with you, as much as it has something to do with best practice in c#

Re: Fizz Buzz: Enterprise Edition

#25
post #4

refactored: class F{public static void main(String[]a){for(int i=0;i++ 0?"":"Fizz")+(i%5>0?i%3>0?""+i:"":"Buzz"));}}

That's great, but we're here to make fun of "Enterprise" programming and anything associated with it. Now you come along and give us this simple example that works.

I bet it would still be better in Javascript or Ruby because those are the only two languages that I know and everything is better as a web app anyway.

Re: Fizz Buzz: Enterprise Edition

#26

Earlier quoted context omitted.

Your comment offends me, but on a light note, for every 1 developer doing the enterprise overengineering crap, there is a dozen of us C# guys who are doing the opposite where I work.

it shouldn't, it has nothing to do with you, as much as it has something to do with best practice in c#

Show us the best practice that resembles this FizzBuzz solution.

Also, I'll be waiting to see some code that you think is great.

Re: Fizz Buzz: Enterprise Edition

#28
post #12

Earlier quoted context omitted.

do you put .java. in your package names? That one stood out as really strange (others were par for the course)

What if you have projects in other jvm languages?

never having been in such a situation, I wouldn't know, but this is the first time i'm hearing of people putting java within the package name (for something that's not part of the java namespace)

Re: Fizz Buzz: Enterprise Edition

#29
post #12
post #9

I love this. I just wish it was a joke. This is a daily reality for so many of us.

do you put .java. in your package names? That one stood out as really strange (others were par for the course)

I haven't actually seen java in package names, but I can easily imagine the conversation where some over-planning architecture astronaut decides that the project may need code in another language in the future (without bothering to worry about if that language even uses Java style packages) and so they better make a directory that is specific for the Java code so they can keep the other code separate, if they need to add more languages in the future.
Post reply on HN