Slashdot Mirror


C# From a Java Developer's Perspective

Microsoft's C# has raised eyebrows, interest and debate since its official announcement last year. The prolific Carnage4Life (Dare Obasanjo) has completed a detailed comparison of C# and Java, outlining the things that are identical, similar, nearly the same, or completely different between the two languages. If you're considering learning or applying either one, you might benefit by reading this paper first. There are some other excellent comparisons to be found linked from the Open Directory Project as well. Update: 11/20 03:35 GMT by T : Note: here's a mirror; interested readers who mirror the mirror get good seats in heaven.

22 of 507 comments (clear)

  1. This is already on k5... by puhtime2go · · Score: -1, Offtopic

    ...which is a better discussion forum than this.

    --
    Puh! +im3 2 g0!
  2. Am I first? by Anonymous Coward · · Score: -1, Offtopic

    c# c# c#

    Is this the first comment, fingers crossed.

  3. Safety concerns by swordboy · · Score: -1, Offtopic

    Just make sure that you never use C# with spintronics or you might poke your eye out.

    --

    Life is the leading cause of death in America.
  4. forte by Anonymous Coward · · Score: -1, Offtopic

    C#, I'm afraid, is a little flat.

  5. heroin is goooood... by peepoh · · Score: -1, Offtopic

    Add to this story. It's fun! Tuesday, November 6, 20001. Digging through some boxes in the Psychology lab where I work today, I discovered an ancient box full of syringes, heroine, and what looked to be the Rorschact Test. Then I found instructions for an old experiment that had been carried out here in the lab during World War II. Apparently the experimenters hypothesized that if American soldiers were to shell the Germans with artillery shells containing a gaseous form of heroine and then dropped Rorschacht test cards from airplanes, they'd all just fall down into heaps of twitching, high-as-a-kite junkies. Naturally, it all made little sense to me. But then hey, why the hell not try it? So after preparing a syringe with the heroine, I pulled down my pants and injected it directly into my penis. Hey, I'm no perv. There's a lot of blood vessels in there just waiting to carry the delicious drug straight to my brain. I guess I should have known better than to inject 60-year-old opioids into my privates, though, because before I could remove the needle I slumped over forward and continued to fall -- all the way INTO one of the Rorschacht Test cards. Then some oddly catchy electronic music kicked in. Where was it coming from? So began Stage 1-1 of my odyssey.

    --

    Life is a scam. - Steve McQue
    1. Re:heroin is goooood... by Anonymous Coward · · Score: -1, Offtopic

      In thia store , ithinjk zthere shoud leb more blo JOVA,M AFDN GOOBNS.ES, AS THOAT IS A uk SENSOS THINGHWDM FI OUR NWEEWRER I NTHE UK. If ou wqer ein trhe uk, you might unser stnad ,wha tU akds paea ifn dote, you so cui ssbuod k,e have bbenn in the uk, itr wqa rock. if you ewrewr ever therem it was fucking fgteaat.

  6. Stealing stories from Kiro5shin are we? by Anonymous Coward · · Score: -1, Offtopic

    I've seen it go the other way to. Story gets on K5, bang! It's on /. Story on /., hello! It's on K5.

  7. I hope Java and C# can co-exist! by robvasquez · · Score: -1, Offtopic

    Many moons ago, you could buy 'kits' that consisted of all the parts necessary to
    make an AR-15 except the lower receiver. Most of the ads for these kits asked that
    you specify whether you wanted AR-15 or M16 specific parts. I would suspect that
    there are plenty of guns floating around out there that probably already have M16
    parts (minus the sear, of course) in them. Probably a good many people don't even
    know how to tell the difference.

    I believe there was a court case years ago where the ATF tried to prosecute someone
    for having an AR-15 with M16 parts in it. The defendant claimed that he did not
    know those parts were inside the gun when he bought it and had no reason to inspect
    it for them, nor knew what the difference was. The court sided with the defendant
    claiming that it would be unreasonable to expect everyone buying an AR-15 to be
    versed enough to be able to tell the minor differences in those specific parts.
    Please don't ask me for a cite, as this is just something I remember reading
    somewhere. It may have even been overturned for all I know.

  8. BVoo, gfaYZBOS AND FDgas in a suitaCESY by Anonymous Coward · · Score: -1, Offtopic

    Tongue. Groove. Yellow. Red.
    Can you sens eg6heroxk is smelklikng?
    You konw thsi bit ids where is sa,md int to beimngh s troll..
    Fuzck d s lasdhotdot , it suckds ztuz spreidsness , ndv cinev sin vtrheb folooor.b n BIR g puddlee,sa.

  9. Re:how is it... by Anonymous Coward · · Score: -1, Offtopic

    doozt ,doot doot ,d ot, soto dsood da doot. oodto doot sdot dooot ,fdasd od oot .turn up the mmusic,. da hda ddo da idaaaopf faddao ,da dothe doa h dadd a.d .hdadajhdahd hd.pump upmu p umpme up.
    a bdyoiu cash a tnteo fo rthe sucj er DJ , da of fo sdsahofddait fo.d aofa ofd na fdospofoef.eofe.

  10. My trajk ron the canrange for klifev darwev ar by Anonymous Coward · · Score: -1, Offtopic

    Ithing htanzt canrahgfew foe ifev is a troillll ,, ge has b3ne ghere tooo toobg to be a relavsusre eof lasje fdot, ND SFOISU ANRE ALL GAy. fsa noad mniew. and aista dn by mz rare,eri ga xolb ytatente e, yo uaare all dod gfsau, itr all foDS ssogay it m aske nnnla fight ens ,em.al foght.so muc him gind soggtro m yels,.,

  11. Microsoft apologizes in security flap by Anonymous Coward · · Score: -1, Offtopic

    Microsoft has acknowledged that it knew about an Internet Explorer security hole--and failed to issue a fix--a full week before it accused a security company of placing IE users at risk by publicly disclosing details of the flaw.

    A Microsoft representative retracted an earlier claim that the company first heard of the flaw on Nov. 8--the date of security company Online Solutions' public disclosure--and said Microsoft was actually notified by Online a week earlier, on Nov. 1.

    Two weeks were needed to investigate the alert properly, said Neil Laver, Windows product marketing manager for Microsoft, and no security breaches occurred during the delay.

    "We are obviously not going to respond instantly. We have to sieve the wheat from the chaff to determine how reliable the vulnerability warning is," said Laver. "Until we can investigate the issue, we are not going to issue a bulletin, as that would create a crying-wolf situation."

    The high-risk vulnerability in versions 5.5 and 6.0 of Internet Explorer allows malicious code to gain unauthorized access to a PC user's cookies and expose the sensitive information that they contain. Cookies are text files saved on a computer's hard drive to identify the user to Web sites. Because most e-commerce Web sites use cookies to store information about users, it is possible that personal information could be exposed through the software hole.

    Online Solutions discovered the hole Nov. 1 and informed Microsoft's Security Response Center of the technical details of its discovery the same day. Microsoft responded to Online, acknowledging the alert and promising to investigate the issue as quickly as possible.

    But a lack of feedback on the investigation prompted Online Solutions to place increasing pressure on Microsoft to issue a bulletin about the hole. After one week of waiting, the security company went public with a press release about the flaw on Nov. 9--Microsoft published an alert on its Web site later that day.

    "We decided to make the issue public," said Jyrki Salmi, managing director of Online Solutions. "We did the responsible thing. People who are using software that their business relies on to hold personal information should be aware in reasonable time that the program is not secure.

    "Microsoft argued that by releasing details of the bug, it would give people time to take advantage of the vulnerability," Salmi added, "but so far we haven't heard of any security breaches."

    Acknowledging that Online Solutions acted responsibly, Microsoft apologized for what it called its "inaccurate" earlier statements.

    "We receive vast numbers of alerts on a daily basis," said Laver. "We are not going to respond instantly. We have to test multiple configurations and find an appropriate work-around that doesn't break Web-based applications."

    The work-around, issued Nov. 9, advises customers to disable Active Scripting, a move that protects them from Web-hosted and mail-borne variants of the vulnerability. A patch was issued Nov. 14.

  12. Karma Whore Strikes Again! by Anonymous Coward · · Score: -1, Offtopic
    The Karma Whore strikes back!

    moderators, if you actually believe this guy at all, you are fucking clueless.

    Go by his posting history, according to that, he is a programming genius who has done everything, worked on every language and OS and pushes very tired themes.

    Remember the karma whores of yester-year? I guess they have struck back with a vengeance.

    It's more than a little curious how a "multiplatform programmer" working at NASA can always post an "inciteful" post so soon after an article is up. You would think people like that should have less time than that.

  13. Brit'ny Spears confirms BSD is dead by Anonymous Coward · · Score: -1, Offtopic



    B. SPears Confirms: *BSD is dying

    Yet another crippling bombshell hit the beleaguered *BSD community when last month IDC confirmed that *BSD accounts for less than a fraction of 1 percent of all servers. Coming on the heels of the latest Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as further exemplified by failing dead last [sysadminmag.com] in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin [amdest.com] to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood. FreeBSD is the most endangered of them all, having lost 93% of its core developers.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS hobbyist dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.

    *BSD is dying

    [ Parent ]

  14. Re:It doesn't matter how good it is by Anonymous Coward · · Score: -1, Offtopic

    You mean, like Java?

  15. Modification Totals by Anonymous Coward · · Score: -1, Offtopic

    Score, -1 Insightful(but not anti-Microsoft)

  16. Re:The lesser of two evils by Anonymous Coward · · Score: -1, Offtopic

    Fi ujkthis,.vskl slllg ottm bre wuote meb ti e t o etyope my rentierb szttketen. Ajd 09tewwwwwo, i cant gbe goothier with woek tze n, qwiote ad trigsal as thjsrz. CMardd tac osujck s mand penmsisssssessss.

  17. AN agaun by Anonymous Coward · · Score: -1, Offtopic

    basss ub yiuzrem aaacem guvunbg ut giidv baas ma. and gIN

  18. Re:The lesser of two evils by Anonymous Coward · · Score: -1, Offtopic

    zthid guyyy. ? uin dight fiul? i fdodnt dficj inh thid nkd do,zh uids gsut s ssssi id s ramopant pinos. s hgr pramr. SO mmuc h htst hre rapant compt. Mic0roofdit rogont, ssstzd ortfmnrt mmusn eoifreg. orrt osfmm, mritre m., sooo go dk igffooofigpd. camnf xyoutreltet. hetsjhte, ,ogoh oh ,ethtgopezt,.,horoeo,,epztogk oppp. Penis.

  19. Would you trust a Microsoft apologist? by Anonymous Coward · · Score: 0, Offtopic

    Time and again ergo98 has posted comments that are heavily skewed in a pro-Microsoft light. Could he be one of billg's employees, trolling Slashdot for fun? It's worth considering at least.

  20. Re:The lesser of two evils by Anonymous Coward · · Score: -1, Offtopic

    ucant ebnveu ib rgir zuirtbvsicn woousbg a ewuttttzs reo ktisiz. REeklwo hj addddd. You suck cocks. fse fffffffffer sfsfdshgdhjrwwhtbztwcefcgrecghtrh . eebtrevztrb

  21. Re:The Turd Report 11/19/2001 by avandesande · · Score: -1, Offtopic

    I recommend Milwaukee's Best, this is an excellent laxative, decreasing diameter and increasing velocity.

    --
    love is just extroverted narcissism