Sinisa Hajnal
Posts
-
C# Book Recommendation -
C# Book RecommendationIsn't one of the first "best practices" suggestions to be explicit? I know I put all my access mods out. Helps when you do VB.NET and C# at the same time.
-
I hoped that had died...I saw it and my first advice was to remove it. Then to improve the code :p Unfortunately, no, its not dead, there are still VB6 programmers - I'm currently working on a project that was written by VB6 turned VB.NET programmer and I'm still refactoring whenever I get the chance. I have DAL interface with all data access methods defined in there...and I don't have time to split it so I continue adding to it when changing existing code. It is at 300+ methods right now. With two concrete classes implementing it. X|
-
Microsoft puts C#, Visual Basic on different pathsI hope they improve C# before they kill VB.NET :(
-
Practicing the Dark Arts of InvocationI was just about to comment that is looks more as VB6 then VB.NET It is a terrible, terrible mess of VB6 programmer(s) trying to cross over :omg:
-
Programming Question of the Week?On Error... legacy. Just because it exists, doesn't mean you have to use it. You could use regex to traverse XML documents and yet, most people use XmlDocument and related classes Or you could use COBOL... goto exists in C# too and I'm sure there is some obscure reference or use for it in java too :) I know for sure it is used in various SQL variations in stored procedures X|
-
Programming Question of the Week? -
Programming Question of the Week? -
Martial Arts "model"I didn't say there aren't offensive moves, just that most unarmed arts today are defensive with offense being pepper sprays, tazers and guns. If you practice Muay Thai for example, even in self defense you will probably hurt the assailant if you're not careful. On the other hand, average Aikido practitioner would probably get beaten up due to less applicative skill in combat (no disparagment meant, it is great art and I practiced it some years ago - it is just not combat effective unless you are a master).
-
Martial Arts "model"Thank you. That was my understanding too, but I didn't want to prejudice the answer. In my country, the words are (very big majority) commonly accented on the first syllable and that is how I hear it now and then in martial arts discussions. But one guy I actually know practices Krav Maga gives it accent on the last :)
-
Martial Arts "model"How do you pronounce Krav Maga?...I've heard short Krav and then accent on GA with long a at the end: Krav Ma-GHAa...I've heard simple (short) Krav MA-gha (with accent on Ma). What would be correct?
-
Martial Arts "model"Every martial art was at some point used in "real world" - jujutsu was samurai unarmed (and otherwise) combat skill - it is only today that it is unarmed and limited with rules and codified. Ninjutsu is still very martial, but less practical today simply because...well..age. What is now wrestling was roman pancratium, unarmed (and otherwise) combat skill of gladiators and roman legionnaires. Krav Maga is the only one used in modern days with modern weapons due to the fact it was used recently in real conflicts. I would expect it to be real and dangerous. Look at Fight Quest series if you can find it, there is one on Krav Maga in which guy admits he was scared of dying fighting a girl half his size. :) I would also expect that US marines or UK SAS members could do the same to you simply due the training they receive.
-
Martial Arts "model"I think most martial arts would classify themselves as defensive. With few aggressive exceptions.
-
Intellisense Strikes AgainSee my comment above.
-
Intellisense Strikes AgainMy last use of C# was about a year ago so if something changed I apologize for the comment. :) I didn't lost the joke icon. I use both languages and prefer VB.NET because of those three reasons (case insensitive, intellisense, debugger) Yes, VB.NET is case INsensitive. If I try to declare variable v and variable V in the same scope it will say it is already defined. In C# this is legal as these are two different variable names. Intellisense is better because it fills end of block automatically and it shows only items from your context not all loaded options. And fill most of the property and other stuff (true, partly because VB needs more text to code).
-
Intellisense Strikes AgainChange your language to VB.NET. Has same capabilities as C#, better debugger, better intellisense and is NOT case sensitive :) You can write the property without having the variable spelled out. And without getter or setter.
Public ReadOnly Property Number as Integer
is all you need.
-
Why name things sensibly, when you could also not?Maybe someone else wrote perfectly sensible application with full names and such...and deployed it obfuscated...finally, someone (obviously not the same someone :-\ ) reflected it back to code and sold it as his own :)
-
Best place to be a programmer..?LOL, no they lived in Croatia and now live and work in Ireland. Living in England and working in Ireland seems...well...not cost effective :)
-
Best place to be a programmer..?I'm a microsoft guy, so ... no :) There is heavy recruiting for Ireland and people are leaving, going after the money. Some return complaining that money looks good on paper, but the cost of living in GB is too high :) But I have no personal experience.
-
Best place to be a programmer..?I resent this part "south is in the third world when it comes to IT." - true, Croatia isn't really south , but south-east, but we're still tech leaders (at least for my bank group) which includes such paragons of advanced technology as italy and austria :) And there are more then 1 successful firms coming from here with million+ income thanks to games and apps in stores. Quite good for mere 4 million people (as is said for New Zealand) Original poster: people speak passable english here and we're tourist country with good weather :)