Swift Justice? Mobile Justice In Brazil 253
tech_imp writes: "Yikes! Talk about swift justice. The BBC is reporting that Judges 'roaming' the streets in Brazil will be using laptops and an app written in VB to help dispense justice. I'm not sure that I would not want to trust my judgement to a VB app ... couldn't they have at least written it something more robust ... like Perl? I can see it now ... your sentence is GPF :')" Three words that spring to mind: "General Protection Fault."
Good! This'll free up cops for important things.. (Score:1)
Re:VB not as robust as Perl? (Score:1)
That's right. The real reason it isn't stable is that it FUCKING SUCKS MY ASS SO HARD MY TONSILS ARE HURTING.
Puh-leeze .. it's not bigotry you moron(soi-flame) (Score:1)
As for readability, you're just being foolish. Who are we talking about reading it here, a coder who should understand the language in which they program, or a 14 year old being instructed in the first principles of programming?!
To those of you who think VB is a decent language, good for you. I hope you're my competition in a job interview. Do you know what BASIC was originally designed as? I'll tell you. It was the original programming language MS packaged with DOS for the Altair. It's primary purpose was to fit in like half a kilobyte of memory (I forget the actual figure, but it was small). Talk about legacy hmm? C++ has memory issues, but f'ing A!! The only thing Visual Basic should EVER be used for is INSTRUCTION. PERIOD.
>>VB is easily maintainable and readable, whereas Perl resembles abstract art...
First, (s)he said Perl was more *robust*, not readable. Second, name one product written in VB that has any kind of market visibility. Third, VB programs tend to be much longer than *decent* programs; which reduces maintanability. Fourth, Larry Wall's brain could whoop your brain with one lobe tied behind its' back.
VB isn't evil because it's made by the Great Satan of software (M$), it's evil because it's a stupid, clunky piece of inelegant 5hit. If you like VB, use it. I'll use Perl and C++ and Fortran and we'll see whose programs live into the next decade and whose languish on obsolete storage devices.
Re:Puh-leeze (Score:1)
So is perl.
4) It isn't a real programming language
How do you define that except by being turing-complete? Which, I believe, VB is.
In a real language you can write a compiler for your language in that language and have the compiler compile itself. (This can be done with gcc) VB can't do this.
I don't see why it couldnt be done in VB. Do you have any arguments for this?
I truly, TRULY, despise the MS-bashing around Slashdot, when VB is perfectly okay for a lot of purposes. I would really love to see someone who wrote a Windows GUI program that prints out documents from a MS SQL database that use a weird metalanguage in half an hour - which is an example of where the money in the real world comes from.
Ugg! VB is not slow! (Score:1)
1) use STL strings
2) boundary check every array access
3) validate floating point operations
4) assert every pointer operation
...then hey, guess what? The C++ code runs at the same speed as VB. Give me reliability over speed.
The jury in these trials? (Score:1)
(no, I don't know if jurys are required down there, but it was too easy. Far too easy to think of this one.
bash: ispell: command not found
English Judges & Foolproof Programs (Score:1)
It could be some time before a similar system takes the place of an English court. "It would have to satisfy the authorities that it was absolutely foolproof first," says a spokesman for the Lord Chancellor's office, which oversees courts in England and Wales.
Does that mean that English judges are fools?
Lycra outfits (Score:1)
of a place to live if *everyone*
everyone who isn't grossly unattractive... had
colorful lycra outfits
I imagine judges need to use reference materials (Score:1)
that judges often need to dig through books and
such to find the needed info. This might make
that unneccesary...
Re:/. == equal time (Score:1)
That's the problem with combo boxes; they all don't work that way. Some will add to their list, some don't. Additionally, if the user mis-types something, they've suddenly got a whole new problem to deal with.
Sure, it's a little thing, but it's the little things make your GUI a pleasurable experience for your user.
Re:/. == equal time (Score:1)
Hmm, let's see...
The difference between drop down lists and combo boxes are indistinguishable. You have to use it to know what it is, by which time the advantage of using a drop down list is lost. Plus, most users don't know the difference between the two, which, again, defeats the advantage of using a drop down list.
Most two-bit GUI programmers (see VB programmers) don't know the difference either, and use the two interchangeably.
The function of most combo boxes is unclear. Do I type my own string? Do I have to pick one from the list? Can I leave it blank? Have you ever typed a string into a combo box just to find out that the string must match from the list? After a while, it makes me want to throw my PC out the window.
The combo box by far the worst GUI element to ever come out of MS school of GUI design and infect our lives. It is the most classic reason why the Win32 GUI, and the GUIs that blindly copy it, suck.
Re:/. == equal time (Score:1)
Give me an example of a combo box, and I'll tell a more intuitive way to do it. Sure, there are times when you want to give the user the choice of Edit or List, but there are much better ways to do it. I don't use combo boxes in any of my software (or native drop downs, because they look like combo boxes). You can accomplish the same with Buttons, Menus, and Edit boxes, and your intent is much more clear to the user.
The advantage of an effective GUI is to allow the user to manipulate it instictivly, without the need to stop and think about what's going on.
Re:Puh-leeze (Score:1)
If you still don't get it... oh well. There are 2 types of people: the ones with a sence of humour and the ones without.
___
so what? (Score:1)
___
Re:NEWS: Brazilian Drug Kingpin Sentenced (Score:1)
Re:Puh-leeze (Score:1)
Haven't used VB in several years (same for Windows! :), have they dumped that pathetic text editor they used to lock you into using? I remember the awful gyrations I had to go through bouncing between a DOS version of vi and their GUI design tool.
Futurama Was Right! (Score:1)
"Reboot it!" "No, jiggle the cable!"
Re:/. == equal time (Score:1)
perl has it's faults too.. Can you create a GUI with perl and ONLY perl? non one this Tk/Perl stuff.. you can't. Don't get me wrong... Perl is all I use when I'm programming on a linux machine (when I'm at home), at work I use VB. They are have their string points and weak points.
Honestly I don't know what I respond to MS bashing.. its not like your minds are as open as the source you love...
Re:Juiz Dredd (Score:1)
I Like Judge Dredd in Spanish. I am the law!
Too bad I failed high school Spanish.
This comment is © _xeno_ and may not be used without prior permission.
Hey, _xeno_ ... I'm using your comment without prior permission. Whatcha gonna do about it?
--
A host is a host from coast to coast...
Re:NEWS: Brazilian Drug Kingpin Sentenced (Score:1)
(I had to re-read it a few times to get it...)
--
Judge roaming streets in Brazil (Score:1)
Re:Judge Dredd? (Score:1)
Re:Puh-leeze (Score:1)
VB is about to grow up [microsoft.com].
Possible use in America (Score:1)
Something tells me the ambulence chasers won't let this happen.
In Microsofts own words (Score:1)
I can't say I have any disagreement on this..
Microsoft keeps making visual basic becouse people want it.. no biggy.. bend to the might of market demand..
However it is very unprofesional...
Visual basic is a toy...
Not the sort of thing you put your trust into...
It's not the open source problem (Score:1)
Basic still strikes up images of the old days of Commodore Vic20s and Apple ][ computers..
Basic just isn't that welcomed anymore...
Your right about how often the best solution is still stuck in proprietary world (for now) however Basic isn't one of those things...
Also Visual Basic.. or any basic.. is very close to open source.
Sence the program must be run from the programming environment (usually) this means any given user has access to the source code.
As such it is an open only programming environment.
Last basic I used was Qbasic and it was rather robust for a basic I can only expect that Visual basic is even more robust...
It is still worrysom... nearly all programmers can code in basic but most don't...
It leaves me to wonder... did he code in it becouse he likes vb or becouse thats all he knows?
Re:VB not as robust as Perl? (Score:1)
Why use something some collage student hacked together for free when you could pay for something some collage drop out hacked together...
Maybe you should dismiss the programmer... (Score:1)
Antoine de Saint-Exupéry said it well:
"Perfection is achieved not when there is nothing more to add, but rather when there is nothing more to take away."
Your app probably could have been written better, even in VB. (I know because that is what I do for a living.)
Jim In Tokyo
Re:Languages are NOT inherently maintainable/reada (Score:1)
I mean, hell, with a half-decent preprocessor, you could write INTERCAL code that would be quite easily readable (and therefore maintainable). Yes, it's blasphemy, but it's also the truth. Just something that could handle something like:
Or, something that allows you to define how to substitute:
with
and
with
with
all this assuming, of course, that something akin to the following had been properly set up beforehand:
Of course, this preprocessor would also expose a way to include "proper" comments, but who comments their code anyway?
Last but not least, it would absolutely neccesarily have to have an
ability, to allow for standard libraries to do messy things like IO and character/string handling.
So you see... you can write readable code in pretty much any language, as long as you have a half decent preprocessor. Even assembly can't hide
--
It's a fine line between trolling and karma-whoring... and I think I just crossed it.
- Sean
Re:"Hello World" (Score:1)
I'd say one of about 5 things is happening here:
I say this because I am just currently finishing up a seemingly similar application, also in VB. It reads and writes records to/from a MUMPS (medical) database over a TCP/IP connection, with verification. It can handle 4 different types of record, each of which has roughly 50 different business rules they must be read against, embeds the capability for the user to connect to the host the database is on via a telnet screen, and correlates these records against code tables stored locally in an MS-ACCESS database (not a format known for file size efficiency). This local database contains 17 tables with a total of about 60,000 records (between 5 and 20 fields per record).
The install files, executable and data files altogether come in at only about 6.5 MB. And the MS-ACCESS code table is over half of that. I'd give you the source code to show you except it's kinda proprietary. But it is nevertheless the truth.
I repeat again, something is wrong with the scenario you described. And it's not all VB that's wrong unless you are doing something VERY strange..
--
It's a fine line between trolling and karma-whoring... and I think I just crossed it.
- Sean
Languages are NOT inherently maintainable/readable (Score:2)
The code is only as good as the programmer who wrote it, but has little to do with the language it's written in.
- A.P.
--
"One World, one Web, one Program" - Microsoft promotional ad
Re:Willkommen zum Warschaugetto (Score:2)
...phil
Judge Dredd? (Score:2)
© Copyright 2000 Kristian Köhntopp
Don't be silly (Score:2)
should be subjected to the blue screen of death
Re:VB: * V E N T I N G * (Score:2)
This is a good thing. Once you agree that there is a place for big languages (Perl, ADA, etc) it makes alot of sense to start putting core stuff like this into operators. Look at Perl with its regexp operator and filetest operators. These would be abhorrent in a 'clean' language like Java or C, but the Perl people said "Hey, other languages consider only logic to be a core part of the language. We realise that nowdays things like regexps and handling files are core parts of what a language needs to do".
Likewise, VB is above all a quick and easy way to create database front-ends. ODBC is core to the whole VB thing. It makes sense to make it an operator.
Two Words: Palm Pilot (Score:2)
--
This isn't necessarily bad... (Score:2)
The PROBLEM would come if judges start using this damn thing like people use a calculator. The reason most math profs hate calculators is because people blindly punch in the numbers, and write the answer down as if it had fallen from Jesus' lips, and never question why it is what it is, or how the answer was arrived at. The problem is with errnoeous input. I'm in a statistics class right now, and the professor will ask "What is the probability of event A and B and C happening?" and people come up with answers like "5.7" which is TOTALLY impossible, since 0 = probabilities = 1. Other math problems are similar, where people spit out impossible answers because their calculator told them that.
If the judge still uses his brain, and uses his power to "overrule" the computer extremely liberally, I don't see anything wrong with this. If they start using them like calculators, then I'm moving to Cuba, because at least I'll know that my rights will be violated by a human and with purpose, rather than just getting the shaft electronically.
These could be a tool. This could also massively suck. It's how you use it that makes the difference.
Juiz Dredd (Score:2)
(I can't believe I just said that.)
(And I really can't believe I trusted Babelfish to translate it for me...)
This reminds me of (Score:2)
Re:Be thankful this isn't happening in the US. (Score:2)
The Second Amendment Sisters [sas-aim.org]
At least, the judge isn't french... (Score:2)
("Feu xyz") means ("The late xyz")...
--
Here's my mirror [respublica.fr]
Possible judgement (Score:2)
Plentye oe ees (Score:2)
I'm not sure I would trust the judgment of your spell checker.
Re: (Score:2)
Re:only slightly offtopic (Score:2)
It would be interesting if it only blew up in IE.(further proof of MS not adhering to standards.)
Actually, it would be much more interesting if you went and learned XML, rather than spout off half-baked Microsoft conspiracy theories. :) I suggest the nice recommendation spec over at www.w3.org [w3.org].
Your link is spitting out bad XML, most likely due to Slashdot using tools which don't grok UTF-8 encoding. If they want to use ASCII characters in the 128-255 range, like the "á" that IE's parser flags as an error, and don't have any tools which will output UTF-8 characters, then they should be using the appropriate entity in their text instead, i.e. á. Failing that, a less effective solution would be for them to specify a character encoding for their xml file, like ISO-8859-1, since their document doesn't match the default UTF-8.
Oh yeah, and if Netscape 6 allowed that xml to go through without reporting an error, then it has a broken parser.
Now see, learning isn't so hard, is it? And besides, it's so much more original around here than senseless Microsoft-bashing.
Cheers,
ZicoKnows@hotmail.com
Re:Puh-leeze (Score:2)
----------
I'm not worried (Score:2)
--Shoeboy
(former microserf)
Re:Why send judges out at all, then? (Score:2)
Probably the expertsystem isn't coded in VB but only the userinterface. Probably the expertsystem is a COM component used in the system. Which is exactly the reason why perl is not very suitable since A) it is a pain to code GUIs in perl B) it is a pain to use com components in perl. The only two alternatives that come to mind for creating this app are delphi and Java (though com support is not optimal).
Lawman (Score:2)
Author was not a programmer (Score:2)
The person who wrote the program was not a professional programmer. Her was a professional judge. I quote from the New Scientist's [newscientist.com] piece on it:
A keen programmer, Feu Rosa wrote the E-Judge program in the Visual Basic language. It presents the judge with multiple choice questions, such as "Did the driver stop at the red light?" or "Had the driver been drinking alcohol above the acceptable limit of the law?"
So, why didn't this amateur programmer use prolog? Because prolog is a crap language. Unless you are an expert system specialist. The VB program looks nice, and does no logic more than a traffic light control program.
In short, despite the fact the media report it as an AI program, it's not. That's why an AI language wasn't used. This is plainly evident from the New Scientist web page.
[Aside: Why do people trust the BBC's Sci-Tech web pages? They are, without exception, the worst reporting mechanism for science and technology news. The BBC generally is poor in that area, and litters articles with inaccuracies and bad reporting]
One problem (Score:2)
For those who can't remember (Score:2)
Judge Dredd... (Score:2)
-- iCEBaLM
Re:Puh-leeze .. it's not bigotry you moron(soi-fla (Score:2)
Or am I missing the point because I'm so ignorant, and - if so - why don't you englighten me Mr I'm-Not-An-Ignorant-Programmer-But-Everyone-Else-H ere-Is.
-----------
"You can't shake the Devil's hand and say you're only kidding."
Re:Puh-leeze .. it's not bigotry you moron(soi-fla (Score:2)
I'll keep VB around thanks. It may not be the greatest language for large-scale applications, but it beats the pants off any other language (maybe not Object Pascal in Delphi) for quick GUI-programs. I will recant those words only when I see VisualPerl or PerlBuilder or something of similar quality.
-----------
"You can't shake the Devil's hand and say you're only kidding."
Re:Languages are NOT inherently maintainable/reada (Score:2)
Re:Puh-leeze (Score:2)
But in it's defense, stuff like Perl and writing of large and/or GUI apps with Python or Tcl (for heaven's sake) glue also rubs me the wrong way.
You can probably tell that I'm a strict-typing OO bigot, if the sig hasn't given it away already
Re:Why do they even need a computer?? (Score:2)
//rdj
interface design (Score:2)
The stability issues are so obvious they don't really bear further mentioning (beyond the rather redundant two times in two sentences for "GPF" in the article capsule).
Re:Languages are NOT inherently maintainable/reada (Score:2)
Believe me, there are bad languages. VB probably isn't one of them, though I'm not qualified to offer an opinion (having never used it).
Be thankful this isn't happening in the US. (Score:2)
Well, Mr. Gates, it seems you've done nothing wrong, but we have all been sentenced to death...."
Re:Puh-leeze (Score:2)
Uhmm.. then let the people that know give their opinions without being chastised by the people that don't know. VB does in fact suck. It's power and usefulness do not compare to languages like Java or C++ or even perl. And thats the point: it is a language written for managers and PHB's, not hackers, as most slashdotters are.
A negative informed opinion about something is not bigotry.
"Signing off for good"
Promise?
--
"And is the Tao in the DOS for a personal computer?"
Re:Puh-leeze (Score:2)
Now that I've said that, I'm back to finish this plain 'ol C++ program in joe, skim 'Perl Cookbook' for some inspiration, and then I'm going to contemplate a gcc port to AS/400..
Re:/. == equal time (Score:2)
What do you not like about combo boxes?
Re:VB: * V E N T I N G * (Score:2)
---
Re:Ugg! VB is not slow! (Score:2)
---
Re:Most VB bashers don't understand VB (Score:2)
from MSDN [microsoft.com]ParamArray Optional. Used only as the last argument in arglist to indicate that the final argument is an Optional array of Variant elements. The ParamArray keyword allows you to provide an arbitrary number of arguments. It may not be used with ByVal, ByRef, or Optional.
---
Re:VB: * V E N T I N G * (Score:2)
---
General Protection Fault (Score:2)
So, in short, this form of mobile justice really is a general protection fault.
:)
___
Re:NITS: Brazilian Drug Kingpin Sentenced (Score:2)
RIO DE JANIERO
It's "Rio de Janeiro". Brazilians speak Portuguese, not Spanish, although a recent poll showed that 60% of Americans are unaware of this.
Luis Sanchez, overlord of a drug cartel that stretches from the Cape Horn to the Bering Strait...
"Sanchez" is a Spanish name - see above. And, aren't you thinking of Bolivia...?
"Gonzalez" is again Spanish. You'll find "federal judges" in Brasília, the capital, not in Rio... they moved decades ago. Then again, 30% of Americans still think the capital is Buenos Aires
And, Starbucks in Brazil...? Now that is hilarious!
I suppose the rest of the names and statements might make sense to an American...
Re:NITS: Brazilian Drug Kingpin Sentenced (Score:2)
at least some basic facts should be checked before posting something like this...
And you asked:
Why?
For two reasons:
1) the joke's easier to understand if not cluttered up by factually wrong details, and
2) the point's less dependent of secondary jokes like the "running Onion" thing.
Here's some advice: It's a joke. Lighten up. :-)
Hey, I said "NITS", didn't I...? ;-)
Do We Dare Mention Slashdot Stability? (Score:2)
Re:VB: * V E N T I N G * (Score:2)
Um, actually, the "!" isn't an operator for ODBC. It is a shorthand way of referring to a default property of a referenced object. You can use it in all sorts of places, in much the same way that you can use default values.
When you assign a value from a recordset, for instance, you might use this snippet:
' Assume lValue is already declared as a long
lValue = rsData!CustomerID
It is syntactically identical to this:
lValue = rsData.Fields("CustomerID").Value
The "!" operator retrieves the default property (Value) of a referenced object (the Field object, a member of the Fields collection).
This has nothing to do with ODBC--it is related to the COM object model. This works with any COM object, not just a database component.
This is good for an overburdened court system! (Score:2)
As long as the appeals process is unchanged, this is helpful. Instead of needing the judge to lookup the difference between the different laws and write up a whole judgement, a simple mail-merge type deal prints out a judgement.
This won't be used on major crimes, but it a good way to determine what should happen with traffic type crimes.
VB is OK (Score:2)
At least it is if you don't ask it to do anything too complicated. However, for a simple branched logic program such as might be implemented for this judiciary system, it would be perfectly adequate, and easily implemented. There won't be that many possible paths that they wouldn't be quickly debugged as problems are reported from the field.
For that matter, a program written in Perl, or C, or Java isn't necessarily going to do the job any better than one written in VB. It might be more robust, but if the logic is wrong, its wrong.
Gonzo
Re:Why not? (Score:2)
This is different, this isn't just the sentencing of an already guilty person. This software is the replacement of a trial. Fortunately they are allegedly only using it for "straightforward" cases, but it is still a little scary to an American. The US constitution guarantees the accused a fair trial with a jury of their peers.
Furthermore, many people, some of whom are federal judges, believe the Federal Mandatory Minimum Sentencing Guidelines are a travesty of justice. They do not allow the judge much discretion, if any, because the sentence is determined by the charges. Prosecutors determine the charges, not the judges. Mandatory minimus effectively remove sentencing descions from judges, where they should be, and place them in the hands of the Proscutors.
Please see Families Against Mandatory Minimums [famm.org]
Burris
Hmmn? (Score:2)
How can Perl and Visual Basic even REALLY be compared as programming tools? I thought to myself. Oh wait im sure there is a CPAN Module for a GUI Drawing Interface.. or Perl+GTK or Perl/TK. Basically in Perl for a quick and easy GUI that you can distribute to 95% of the business world oh wait.. you cant do that can you?... VB Is the way to go there.
You guys are kind of deluded doing an outright comparison of VB and Perl, crawl out of the command line and remember where Perl/Linux/Open Source are.
c 'fireproof' 'Hmmn?'
Jeremy
Oh YEAH??! (Score:2)
They'll coordinate their cyber-thuggery with the help of a Linux-based distributed supercomputer, the GNU Robot-Enhancing Network Doing Evil with Linux, or G.R.E.N.D.E.L. (Some pundits say that "Beowulf" slaughters G.R.E.N.D.E.L., but that's just a myth!)
Ultimately, the Brazilian rent-a-judges will be overwhelmed by this evil, mechanized horde. The robots will win the war. Soon Rio de Janeiro will lose its status as the world's safest city!!
Mwa ha ha ha ha ha! Victory is mine!
Re:Most VB bashers don't understand VB (Score:2)
Go to section named "Language Improvements"
Check this out:
"For what seems like forever, there's been a natural tension between developers who are partial to Visual Basic and those who prefer a more "comprehensive" language like C++ or Java. More than once, I've had to defend my favorite programming language from charges that it was somehow a toy language because it lacked certain OOP features. Well, guess what? The next version of Visual Basic should finally put those complaints to rest. Microsoft plans to introduce the big three of object-oriented programming: inheritance, polymorphism, and overloading. And that's not all! Other new constructs, including structured error handling and freethreading, will be introduced to the language."
Steve Balmer's discussion on new VB:
http://msdn.microsoft.com/vstu dio/nextgen/keynote.asp [microsoft.com]
etc. etc. etc.
As for you statement about my experiences with VB shush, I was coding ASP over 3 years ago when you haven't even heard about it yet.
Re:one more thing... (Score:2)
C++ is a multidimensional successor of C. C++ is in itself a language that supports multiple paradigms, which I consider to be the crown jewel of programming world (especially the STL http://www.stlport.org/resources/ StepanovUSA.html [stlport.org] - here is a god, kneel.)
However I don't consider C++ to be purely object oriented either, it is as I say multidimentional and supports multiple paradigms. Don't switch, I have to use all of them due to our clients' demands. VB or Java is mostly Money Oriented Programing (MOP). Actually the value of C++ is only increased because it is not completely OO. Templates allow you to write functions independent of objects and that is great. - but that was the idea from the beginning. Idea of VB was QBasic.
If you really don't think what I am telling you about VB is correct, just look at this: http://msdn.microsoft.c om/library/periodic/period00/vb7.htm [microsoft.com]
better yet look at my post #220.
VB for LOGIC??? WTF!!! (Score:2)
for those of you who never did any AI, they are:
Prolog - Programming Logic (the language is a database that defines atomic truths and their relations, the Prolog engine is a 4-cylinder processor that works completely recursively to find out your question, so if you ask to: contcatenate X and Y you will get Z by doing the following concat(X, Y, Z), on the other hand the same line will return the necessary Y, if X and Z are known, and if X and Y are not known, then all possible concatenation sequences will be returned by simply recursing over Z.
LISP - orgasmic (otherwise known as lots of silly parentesis)
SCHEME - variation on Lisp (virtually orgasmic)
ML - strongly typed Meta Language (tough language but fair)
Just don't, Don't tell me there is no way to use these languages because they are lacking something, in fact they are not lacking anything. There is even visual prolog today (if it wasn't in my wet dream)
Some of these languages are successfully used to even write HTTP servers and Device Drivers without mentioning their actual use for AI.
So WTF? I ask you, WTF!!!???!!!
Re:Most VB bashers don't understand VB (Score:2)
They are basically ripping off Java in this case
I wouldn't be surprised if it was all Java underneath VB [Basically Java(tm)].
Still, VB is not cross platform. I don't think that after using Java anyone would want to use a language that has keywords "Function" or "Sub" and where functions do not have to declair their return types and are named with first capital letters! "Dim" and "Set" it just blows into your face, doesn't it?
Class1
Function GetCustomer()
End Function
Class2
Inherits Class1
Function GetOrders()
End Function
---
Sub CreateMyThread()
Dim b As BackGroundWork
Set t = New Thread(New ThreadStart
End Sub
> ---
Sentencing (Score:2)
Re:Puh-leeze (Score:2)
Each language has it's strengths and weaknesses, without exception. Yes, VB does have some drawbacks. It is not portable. It doesn't have certain OOP features *yet* ( See VB7 ). It does offer rapid development, native 32-bit _compiled_ code ( VB hasn't been interpreted for a couple years now ) that, when _well-written_, can run just as well as an application written in MSVC++.
** Note ** I'm not making any comment in regards to the stability of the OS, which can play devils advocate for _any_ application.
I'm not claiming that VB is as robust as other languages ( perl, c++, java ) but _in my experience_ I have found that if VB isn't capable of performing a task, it will easily use a component written in to the COM specification. That's a strong features of VB. It can use any COM component, and you can write COM objects in many languages, including Delphi and C++. You can even access CORBA objects!
Applications can be written poorly in _any_ language.
IMHO,
http://www.battleaxe.net
Re:Puh-leeze (Score:2)
Does VB suck? I don't know, since I never really used it. Am I prejudiced against it? No.
I've had enough of SlashDot bigotry... Signing off for good.
-hotaine
Re:Puh-leeze (Score:2)
Visual Basic does what it is supposed to do and, over the years, has come to do it damn well. True, earlier revisions of the language were really weak, but it has evolved into an excellent language for rapid application development. It is quick to write, easy to debug, and, with a bit of creativity, can be used to do a bloody lot. For someone who has to do a lot of quick, turnkey Windows application development, I can vouch for the legitimacy of the language. I can write 98% of the code I need in VB, debug it, package it, and deploy it very quickly, and not have to worry about killer alloc problems, whatnot. Other people may not like it, but there is certainly a sizable chunk of people who do.
VB is criticized for being a "Basic." So the English-centric language is more accessable to the novice programmer than C. This results in a greater number of novices using VB than using C, thus meaning that there are going to be a larger concentration of novices in the VB world than in the C world. It is easier to turn out compilable code in VB than C. But given a good programmer, you will get good code out of either language. It's the programmer that really matters, remember? A good programmer can pick a convenient tool and turn good stuff out of it. Not all of us live in a non-Microsoft world.
But, if we're really going to talk smack about languages, then, for the love of god, don't hold C or Javascript up as some kind of "perfect" creation. The principals of something like Squeak [squeak.org] make for much better argument.
----
I am not a Microsoft groupie, but I'm not going to break my neck avoiding them when there are more productive and convenient ways for me to get my job done.
VB: * V E N T I N G * (Score:2)
But, like so many other technologies that are "good in their niche", Microsoft is building up VB to handle things that it was never ever intended for. This language has no solid foundation. It has no standard, no specification. MS will throw any feature necessary into this thing to make it EASY at all expense.
This language has five different ways to say "NULL." This language has so many keywords its sickening. THIS LANGUAGE HAS AN OPERATOR TO TALK TO ODBC DATABASES!!! (its the excalamtion point ("!")) Yes, sure it makes it easy, but how long 'til all these features come back to bite you on the ass.
What do we do with the ODBC OPERATOR if/when RDBMS technology goes away in favor of object databases? What we have here is a case of lack of forward thinking. These are the people who brought you 8.3, GUI-in-the-kernel, the (corruptable) binary registry, and WINNT/SYSTEM32! They are thinking only of getting the product out the door with the most features first... at the price of not thinking about the long-term effect. Once you can't stand it anymore they'll tell you everythings going to be alright by coming out with kludges like Windows File Protection (fixes WinNT/system32) and Windows 95's hack for long file names... (everythings really still 8.3!) And you'll buy into it. ENJOY!
3 Options (Score:2)
1) a hacker
2) a virus
3) Y2K
Re:Puh-leeze (Score:2)
When the pack animals stampede, it's time to soak the ground with blood to save the world. We fight, we die, we break our cursed bonds.
Re:Puh-leeze (Score:3)
Was it
Answer : Linux Torvalds. Source : Linux Journal.
...
http://www2.linuxjourn al.com/articles/conversations/006.html [linuxjournal.com]
Personally, I prefer Perl, but there ya go
Camaron de la Isla [flamenco-world.com] 'When I sing with pleasure, my
Re:I'm not worried (Score:3)
Computer: Was the suspect intoxicated?
Cop: No.
Comp: Was the suspect driving in a suspiscious manner?
Cop: No.
Comp: I am ready to give my verdict. Please close all windows and click "OK"
Cop: Click... Click... Damn hourglass.
Comp: (5 minutes later) Not guilty.
Cop: Well Mr. Shoeboy, the computer says I have to let you go - but for the love of god either put some pants on or get tinted windows.
I really can't wait.
--Shoeboy
(former microserf)
If VB were Open Source (Score:3)
Of course, no open source project would contain a language as ugly and inconsistent as VB's Basic; but the IDE is very nice for bolting together ActiveXs and UI widgets in a quick and dirty way. A lot of MIS type projects fall into this category.
One of the best things about VB is the ability of the IDE editor to understand and catalog ActiveX methods, which can only be discovered dynamically (sorry, no static IDL). That said, this also leads to the worst thing about VB, which is that its popularity encourages ActiveX developers to be lazy. Really, the only test of an ActiveX seems to be does it work in VB. This leads to broken function prototypes that only work in VB, not in Delphi, PowerBuilder or C++. Another wonderful case of interproduct synergy brought to us from the Microsoft monopoly. it's great for people whose application fits in the VB solution space, it sucks for everyone else.
VB not as robust as Perl? (Score:3)
Re:Languages are NOT inherently maintainable/reada (Score:3)
In the blue corner we have PentiumIII assembler, in the red corner the beast of all languages Ada, your task is to write a Multi Radar Processing system. We estimate it will take 3 years with 10 people to write. It is classified as being mission and safety critical (cat 1).
Do you think that the assembler app will be as maintainable or as manageable as the Ada app ?
Of course not. Certain languages are tailored towards certain things, FFT in FORTRAN is a breeze, I'd image its slightly harder in VB.
I've seen systems (as in had to interface to) written in many different languages (including all those written above, + Ada, COBOL, Perl, Assembler et al) assuming that most were written by a team and thus the ability is around the average I can safely say that certain languages lend theirselves to extendability and comprehension. Other can produce good and readable code but their normal standard is lower than the normal standard of other languages.
VB isn't one of the best mind. In fact that honour goes to Ada IMO. There have been many studies done on development times/maintainance times in different languages and it DOES make a difference what you code in.
Otherwise we'd all be using Turing Machine Instruction sets.
Why do they even need a computer?? (Score:3)
Why not? (Score:3)
As for all the obvious jokes about the stability of VB apps: we're not talking about Quake here - it's just a very basic database & the rest of it is UI. VB does cheesy database UI better than anyone out there. If I have no idea who the programmer is, I'd trust a cheesy UI written in VB to a cheesy UI written in C/C++ any day. There are a lot more programmers out there able to write stable VB apps than there are those that can write stable C apps, given that the app is simple in the first place.
Languages are NOT inherently maintainable/readable (Score:5)
--
"One World, one Web, one Program" - Microsoft promotional ad
NEWS: Brazilian Drug Kingpin Sentenced (Score:5)
Harsh Sentence From Judge Raises Some Eyebrows
RIO DE JANIERO (UPI) - Luis Sanchez, overlord of a drug cartel that stretches from the Cape Horn to the Bering Strait, was sentenced to the blue screen of death this afternoon by a federal judge. Judge Roberto Gonzalez carried out the sentence at a Starbuck's coffee house in downtown Rio after he was spotted by undercover agents. The agents called in Gonzalez and restrained Sanchez until he arrived with his laptop computer, running the Automatic Brazilian Justice Service Pack (ABJSP) of the Microsoft Windows 2000 operating system. The ABJSP is part of the default installation.
Opponents of the blue screen of death penalty were quick to criticize Gonzalez's actions. "The blue screen of death penalty is never justified," explained Mary Madalyn Murray Coughlin O'Laughlin, a representative of the National Council of Churches. "What sort of message do we send when we carry out a penalty like this? It puts us in the same boat with countries like China, Iran, and Afghanistan. It's brutal, it's barbaric, and it's an idea that is about a thousand years too old."
Famous programmer Linus Torvalds agreed with Coughlin O'Laughlin. "I'm from Finland," explained Torvalds, "and I can tell you that I have never, ever seen a blue screen of death penalty carried out. Ever. It's just something that doesn't happen in a sufficiently evolved society."
Ed Muth, newly-appointed Brazilian Minister of Justice, had a slightly different take.
"We need the blue screen of death penalty," explained Muth. "Studies have shown that it acts as a deterrent, that it gives criminals something to think about, that it stops them from committing violent crimes. Also, we cannot forget about the closure factor. While it might seem barbaric, I've had family members of murder victims come up to me and thank me for blue-screening a criminal. They'll tell me that they're finally able to get a good night's sleep, now that their long nightmare is over."
Texas governor and United States presidential candidate George W. Bush agrees. "The blue screen of death penalty remains a necessary evil," Bush explained during a campaign stopover at Berkeley. "It sends a compassionate, yet conservative message to the criminal population of the world." Over the past thirty years, Bush's home state of Texas has blue-screened more inmates than the rest of the Western world combined.
The big black guy from "The Green Mile" contributed to this report.
Puh-leeze (Score:5)
What is with the VB bigotry? In your review of competing products, do you dismiss out of hand the fact that VB is easily maintainable and readable, whereas Perl resembles abstract art drawn from the inner, inarticulate recesses of the mind that coded it?
I like VB, and I'm not alone in liking it. Lay off.
-konstant
Yes! We are all individuals! I'm not!
Judge, not Computer, is Interpreter of Law (Score:5)
Give me a break. This is just a stupid story to fill space and generate a lot of banal arguments about nothing.
If the Judge wore sneakers with holes through them, it would say nothing of the judgements he made.
If the Judge drove a Fiat, it would not suggest bias or improper legal process.
If the Judge wired her decision to the clerk's office using Handspring or Linux or BeOS, it would not aid nor hinder the quality of justice.
And if the laptop in question burned up because it wasn't using a low-heat Transmeta chip, but was instead slogging away at slashdot-impoverished microsoft-laden Dell/Intel circuitry instead, the criminals would just have to wait for a handwritten slip to meet their legal fates.
(Judge, not Computer, is Interpreter of Law =anagram>
Mature projection upsetting free world.)