- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
that's quite possible - i've done that when coming from pascal to c.
but that was in my schoolyears, long long ago before i even had a chance to get my code to production [;)]
Admin
If someone presented this to me as a solution and asked me whether I thought it was right, I would have thumped them on the forehead and told them to read the fricken documentation, come up with a real solution, then ask me. Lets see:
A quick search of the VS.NET documentation on the local computer reveals... nothing. Apparently VS.NET's help system is easily borked. And considering that I can't even open VS.NET at the moment, It locks up. No wonder I use VC6 for my software development. Ohh Well, a quick search of MSDN online reveals:
http://msdn.microsoft.com/library/en-us/csspec/html/vclrfcsharpspec_10_9_2.asp as the first hit.
Admin
Umm, lets try that with the proper search term:
http://search.microsoft.com/search/results.aspx?view=msdn&st=b&na=82&qu=c%23+bitwise+operators&s=1
See what you get ;) practically a list of operators to use.
Admin
This wouldn't compile in C# (at least with all warnings on, warnings as errors): You don't get implicit int -> bool conversion in C#. At a minimum you would have to cast to a bool. Although, the typical method of doing that in this case would to do:
(attriubtes & 1) == 1;
I would implore anyone interested in effecient bitwise operators in .Net to take a look at the BitVector32 class (in System.Collections.Specialized). Abstracts all this away from you. If you're really interested in the bitwise operations, disassemble the class and take a look at how its implemented:
All of the operations involving getting/setting bit masks is done in one clear, concise line of code. Theonly if else statement is used to determine whether to clear or set a bitmask. No looping, no expensive modulus operations (relatively speaking, of course).
Admin
I am not insecure about my education or lack there of. I am however very annoyed a how a lot of presumable educated people seem to think they know more than us poor uneducated people.
On a side note, where are you from? They must have better schools there than the rest of the planet because I have met some very uninformed educated people.......
Make peace not war [8o|]. A better way to put your orignal statement would have been: Do they have any B/C/C++/Java experiance? I know I never had need to know about & | << >> yadda yadda until I was using API in VB or doing some C..... [:#]
Admin
Well, you are indeed correct. There are quite a many people who go to College with absolutely no intention of getting an education. However, the intention of the university is to expand your horizons, to question your own abilities and motives, and to of course learn from people who are far more educated and (hopefully) competent then you are.
I can say that at my current job, I've learned a lot more programming skills in the past six months than from two years of university education. However, had I not been to the university, I would have no been exposed to numerous methodologies that I would not have learned being pigeonholed into a job with a specific purpose.
I would not have learned OCaml, Prolog, Artificial Intelligence, 3-D graphical programming, Matlab, Differential Equations, French Business Culture, Medieval French, several technical writing courses, Psycholinguistics, How to lead a group programming project, Assembly language, VLSI, VHDL, how to build a simple robot with basic ICs, Marketing, Chemistry, Thermodynamics, Electric and Magnetic fields. If I hadn't taken the Advanced Placement courses in highschool then I wouldn't have known Renaissance and Englightment history of Europe, Calculus, and Mechanics and electromagnetism (using calculus).
I took advantage of every educational opportunity available to me. I just happened to live in a neighborhood with the best highschools in the state (Suburbs north of Chicago), and in a state with an excellent public university (UIUC). I consider myself very well rounded, with a much more varied skill set than most programmers who go into the field.
There are of course a very large number of students who go to the university and don't care a whit about getting an education. College is simply "something to do after high school", and this cadre is more than willing to piss away their parents' money. There were quite a number of people who were in Computer Engineering (my degree) who were in it only for the money. They just copied other people's homework and used the curve to coast through all their exams. Interestingly enough, they had no interest in *other* topics either, and just took the bare minimum of electives that their friends said were the "easiest" to pass.
Then I have other friends who are quite intelligent, but never had the discipline to take the tough classes in high school and the discipline to get a university degree. They are at an extreme disadvantage, because unfortunately, human resource departments put a lot of value in a piece of paper. Google is a great learning tool, but it can't give you a degree :)
As someone mentioned above, a university degree is a filtering tool. You might have an Einstein wandering out there with m4d c0ding sk11lz, and you might have a complete dud (like the author of the above gem) who got a CS degree 'cause they heard you can get a cushy job with a nice income. However, the intention of the CS degree is supposed to confirm that the individual in question has covered a broad swath of CS topics and has a keen interest in programming.
Admin
WTF?
<FONT color=navy> <FONT color=black>Should just be
<FONT color=navy> </FONT></FONT></FONT></FONT>Admin
(meant to quote this in my message above)
Admin
Couple of years ago I completed a part time computer science degree and from my recollection, there was no specific mention of bitwise operators in any of the languages covered...
Admin
If you had programmed in assembly you would know what bitwise operators were. Of course, this topic are more stressed in Computer Engineering than in Computer Science :-/ Heaven forbid you would be able to understand the dissassembly panel in Visual Studio...
Admin
Quoting from E++ (f. p.o.s. forum says my quote blocks are unmatched):
WTF?
<FONT color=navy>Admin
I'm sorry now that I've seen that on TV you are the SHIZNITE!
You made my point for me though. At least somewhat. I have experiance in place of a paper that says I might be able to do the job... To be perfectly honest though if my situation had been better I would have gotten my degree. I still plan on it. Not because having a degreee means you are a good programmer, but because some people think that's the case. Anyway let's not beat a dead horse here.
Admin
Before we beat this horse to a bloddy pulp I have one more thing to add. Another group of people to blame are HR departments. A Resumé is an excersize of deception, and an interview is an excesize of discrimination. Can CatBert the Evil HR guy trust that the experience you wrote down is not fabricated? So they *have* to take your diploma into consideration. But can the Evil HR guy really trust that diploma, if many graduates don't know bitwise operators?
Hence why nepotism and other alternatives to the resumé-interview system are so rampant in US corporations. "Well you see, my cousin and my ex-roommate are excellent programmers" or "So and so in the mail room is actually a genius Java programmer". It saves the corporation money because they don't have to spend overhead and time with a long interview process, and they don't have to risk hiring a complete stranger who might only turn out semi-competent at best.
Admin
>> It's a filtering effect: anybody, both competent and intelligent people and harmful morons, can be
>> uneducated, while the process of getting a technical degree is expected to ensure that people like >> today's featured fool are rejected or improved to a decent level.
Great idea. Unfornationally here in the real world this process doesn't quite live up to the expectations.
The amount of fools with degrees I've had to misfortune to work with is pretty much equal to those without one. Also the fools with degrees tend to be *much worse*.