Something For (Almost) Every Developer 263
First up, reader martinjlogan sends along a tutorial for setting up a workable Erlang/OTP development environment on a Mac. Next, reader acid06 notes news of Perl 5.12, including what may be the first delivered fix for the Y2K38 bug. (Hit the Read More link below for some details on Perl's new release strategy.) "After two years of development, the new major version of Perl is now available. Notable new features are: better Unicode support, proper support for time after the Y2038 barrier, new APIs to allow developers to extend Perl with 'pluggable' keywords and syntax, warnings for deprecated features and more. From the linked post: You can get it from the CPAN right now or wait for a platform-specific release (such as Strawberry Perl for Windows)." Finally, from reader snydeq: "InfoWorld's Martin Heller provides an in-depth review of Visual Studio 2010 and finds Microsoft taking several large steps away from its legacy IDE code. 'Visual Studio 2010 is a major upgrade in functionality and capability from its predecessor. Developers, architects, and testers will all find areas where the new version makes their jobs easier. Despite the higher pricing for this version, most serious Microsoft-oriented shops will upgrade to Visual Studio 2010 and never look back,' Heller writes. Chief among the improvements are Microsoft's revamping the core editing and designer views to use WPF, its overhaul of IntelliSense and support for test-driven development, and its intelligent support for multiple versions of the .Net Framework."
Re: Perl. This release cycle marks a change to a time-based release process. Beginning with version 5.11.0, we make a new development release of Perl available on the 20th of each month. Each spring, we will release a new stable version of Perl. One month later, we will make a minor update to deal with any issues discovered after the initial ".0" release. Future releases in the stable series will follow quarterly. In contrast to releases of Perl, maintenance releases will contain fixes for issues discovered after the .0 release, but will not include new features or behavior.
VS upgrade cycle (Score:5, Insightful)
most serious Microsoft-oriented shops will upgrade to Visual Studio 2010 and never look back
Of course, implying that you're not a serious Microsoft-oriented shop if you don't upgrade. This is the exact opposite of the case. As Microsoft regularly changes stuff in VS that no-one wants, most people don't upgrade until necessity forces it on them. It's entirely network effects. If you're using precompiled third party libraries and they upgrade, chances are you'll be forced to upgrade. If Microsoft made it easier to use the new IDE without upgrading the compilers, the standard lib, the header install, etc, I imagine more people would accept the feature improvements (and the bug fixes!) to the IDE without trepidation.
Re:VS upgrade cycle (Score:5, Informative)
Agreed. I work in a "serious Microsoft shop" and we have just migrated our projects to VS2008. Experience has taught us that although the Microsoft Dev environments are of high quality, for the first 12 months there will be service packs and patches. We do not want to have to migrate our whole team and our projects every 3 months just to keep up.
That said, I am looking forward to using VS2010 eventually. I couldn't care less about .NET but the new C++ language features are neat.
Re: (Score:3, Insightful)
They can have my MSVC 6 when they pry it from my cold dead GLURK, gaaasssspp...
One problem I've had is the new redistributable requirements of each release. Not insurmountable, but a real concern when considering an upgrade.
Re: (Score:2)
The problem you are facing is the fact that it isn't the serious Microsoft-oriented shop don't want to upgrade but they're programming skills are at a level where they can't upgrade. Using 3rd party libraries are always risky, and should be avoided unless it is really doing something that will take you much longer to accomplish. However a lot of the Microsoft shops have very poor programers or the odd hack who thinks he is a programmer by glueing a bunch of 3rd party tools even ones that already come wit
Re: (Score:2)
Using 3rd party libraries are always risky, and should be avoided unless it is really doing something that will take you much longer to accomplish.
So reinventing the wheel is a good thing?
I do not do MS related development, but from where I stand reinventing the wheel is nuts. Do you think all of CPAN is there just for the heck of it?
Re: (Score:2)
reinventing the wheel
is a kinda naive way to refer to horizontal integration of the industry.. and considering that you were replying to a guy who I thought was very naive, I'm overdosing on naivety here. Vertical integration has some great virtues but is not representative of a mature industry.
Re: (Score:3, Interesting)
I think CPAN is there to make you go nuts trying to get a downloaded Perl Script to work as you dig around trying to find the right libraries to make the freakin program work... But I am not a fan of Perl so I digress...
The 3rd party problem isn't a case of reinventing the wheel. But getting new wheels that already exist just because they are slightly different, eg a grid control that automaticly populates from the database vs. Loading it from 3 other commands...
But... Sometimes for programming reinventin
Re: (Score:3, Insightful)
CPAN installs everything you need, that is why the tool cpan exists. If it takes extra work, you are doing it wrong.
1. if it does not do what you want, don't use it
2. just fix the code like you would fix your own, or replace it.
3. if you don't have source don't use it. No blackboxes that way.
4. So long as code is all internal who cares.
5. Use the features you need.
6. Again if you don't have source you are a fool to use it.
7. No, this is wrong. This is why every damn windows apps brings along it's own copy o
Re: (Score:2)
<snip>
<snip>
Although, if you use a well known and used library, it can make it easier to find a programmer that knows their way around at least part of your program, and can may get up to speed quickly. Although this applies to frameworks more than libraries, it still holds true to an extent.
This is more true if you are using opensource libraries.
Re: (Score:2)
Your statement about CPAN bothers me. But I am a fan of Perl so I digress...
I agree with most of your points about libraries, but I feel you missed a big one: bugs. My job involves gluing together a few third-party libraries to fit our product. (various Apache stuff, mostly). Now and then, we hit bugs. Not major ones, but significant enough to cause a few hours of lost productivity.
Re:VS upgrade cycle (Score:5, Interesting)
Re: (Score:2)
But I for one wish simply to drive my car rather than build it. You gonna have me reinvent the wheel yet again?
Re: (Score:2)
Furthermore, most of them would be square. Some of them would be triangular. And there'd be all sorts of marketing twonks saying things like "horsepower's cheap: they'll turn round just fine if you put enough power behind them". And "don't go complaining about the bumpy ride. It's not our fault if you're too cheap to pay for decent suspension".
Reinventing the wheel is allowed. Just make sure your version has more corners th
Re: (Score:2)
...unless you want to finish your project in half the time.
Third party libraries, frameworks, and toolkits exist for a purpose: to make your life easier.
Do you program GUIs by manipulating pixels in the video frame buffer? Do you manage files by communicating directly with the file system layer of the kernel? Interpret mouse clicks by talking to the mouse driver?
Re: (Score:2)
They are not 3rd party tool... They are the developments language mainline tools...
There is a difference.
Mainline tools you know they are there and if you move to a different development environment they are still there. 3rd party tool you take your code and move it to a new system it will not run until you reinstall the other tools.
And as I stated in my post that you added as the quote "unless it is really doing something that will take you much longer to accomplish."
Meaning that 3rd party tools are not e
Re:VS upgrade cycle (Score:5, Informative)
Actually, one of the features of 2010 is that you can target old compiler versions (starting with VS2008) with the new IDE.
Re: (Score:3, Informative)
But the software couldn't be built anymore because it could only be built via Visual Studio and the current release of Visual Studio was incompatible with the version of VS that the app had been created under.
That hasn't been the case in many years. Every .NET version of Visual Studio (2003, 2005, 2008, and 2010) are backwards compatible with the previous project files and solutions from prior .NET versions. Since I don't use VS for C++ or VB, I can't say whether compatibility goes back further.
As far as the language and libraries go, Microsoft makes a point to keep things compatible unless there was a major bug with an API. C# 4.0 will compile C# 1.0 source code, and the libraries will still work, assuming y
Re: (Score:2)
Re: (Score:2)
some random examples of the 2005 to 2008 transition:
* The entire Tool menu is different, in particular, Lookup Error is gone.. annoys me daily.
* The solution file format didn't change but they still added the "convert solution" nonsense that means you have to maintain two sln files to maintain backwards compatibility with 2005.. and means people who are using 2008 simply can't supply sln files to 2005 users.. and the vcproj files often need hacking. Why can't they maintain backwards compatibility... it's a
Re: (Score:2)
* The Build Order dialog is completely gone. In 2008 Microsoft decides your build order, no control for you.
Really? That's funny that I brought up the exact dialog box [imageshack.us] that you claim doesn't exist.
Re: (Score:2)
See how it says "use the dependencies tab to change the build order" ... no Microsoft, *I* want to change the build order. I had control, you took it away.. why?
Re: (Score:2)
yes, and there's no reason why they couldn't maintain backwards compatibility... They just didn't try.
Re: (Score:2)
Re: (Score:3, Informative)
most people don't upgrade until necessity forces it on them.
My "day job" is C#, using Visual Studio, and yes, I'd agree with this in general. Not exactly for the reasons you mention, but close enough to it. My job is basically maintaining and extending an SDK that's handed down from our parent company and then handing it over further to third party development companies (plus a bit of in-house coding ourselves, using the same SDK) and providing code level support for them. The current release of our SDK is entirely .NET 2.0 with VS2005 solution files. We've only
Re: (Score:3, Interesting)
My "day job" is C#
Sorry to hear that. Mine used to be too - then I started using QT and QtCreator for my main project. Bliss! Finally I am able to easily write apps that will run on multiple platforms, but still has a rich library of UI controls ( widgets) and plenty of abstract data types.
I really cant see me going back to C# - I just don't see a need for it any more, now it is so easy to write GUI intensive apps in C++. I have been working on my current project for a couple of years in C#, but it has only taken me a few mo
Re: (Score:2)
Re:VS upgrade cycle (Score:5, Insightful)
Bad, bad, bad, bad, bad idea.
I think its a great idea.. there's no reason why the IDE release cycle has to be tied to the compiler release cycle.. except that Microsoft likes the lockin.
Re:VS upgrade cycle (Score:4, Insightful)
there's no reason why the IDE release cycle has to be tied to the compiler release cycle..
There's Intellisense which, you may have heard, is kind of a big deal about Visual Studio. If the language adds new constructs (which is does), and the IDE isn't updated to cope with that, then you end up with useless, or even worse-than-useless, Intellisense.
What they could do is have the language team produce and release a patch for Intellisense to correspond to their language releases, but then you get into the nasty situation where the language team has to build and QA patches for 3 or 4 versions of Visual Studio-- bugs would creep in, undoubtedly.
Re: (Score:2)
One of us misunderstood the earlier posts, and I think it's probably you. The proposal isn't about upgrading the compiler without upgrading the IDE, though I can see why some people would want to do so given VS's history of getting slower and more bloated with each release. In this thread, the proposal is about upgrading the IDE without being forced to upgrade the compiler, which makes sense if you rely on legacy but now non-standard behaviour, or if you're encountering compiler bugs but could work around t
Re: (Score:2)
Then one of us is definitely confused, because VS can be set to use the old compilers. Well, maybe not for all languages, but definitely for C#... I'm working on a .NET 2.0 project in VS2008 right now. (VS2008 was released with .NET 3.5.)
Re: (Score:2)
FWIW, I was thinking of C++, which has been the cripple of the VS family ever since the first .Net version. It might be possible to set up a custom build process using an older compiler with the newer IDE, but it's been a hassle at best at least up to VS2008.
Re: (Score:3, Interesting)
It's interesting to contrast this with bash TAB-completion, which operates in a very similar fashion (albeit in a somewhat different context). The basic capability has been around for a long time, but increasing numbers of utilities are taking advantag
Re: (Score:3, Informative)
It's interesting to contrast this with bash TAB-completion, which operates in a very similar fashion (albeit in a somewhat different context). The basic capability has been around for a long time, but increasing numbers of utilities are taking advantage of it.
I think you may musunderstand how BASH tab completon works. The completion has nothing to do with the utilities. BASH has programmable completion, and the program usually decides what to do based on the firstr token (i.e. the command name). It will th
Bugs? Impossible! (Score:5, Funny)
bugs would creep in, undoubtedly
Impossible, if you follow Micosoft's guidelines, such as those published in the Microsoft Programming Series book by Steve Maguire: "Writing Solid Code: Microsoft Techniques for Developing Bug-free C" ISBN 978-1556155512
Microsoft uses these very techniques themselves, in every single one of their bug-free programs. Uh, on second thoughts...
Yeah it's a problem - CE6 (Score:2)
CE6 development is no longer done through Platform Builder. It's a Visual Studio plugin. But - only for VS 2005. They've never updated it. Even if I wanted to upgrade I couldn't.
Whew! (Score:2, Funny)
proper support for time after the Y2038 barrier
Good to know that my time machine written in PERL will no longer malfunction due to improperly handled timestamps! Now to test this baby out. This knob here, this button here, and... %^$%^$%^$%^$%^ NO CARRIER
Re: (Score:2)
Oh wow, I didn't know the Time::Warp module did that. I always ignored that module.
Perl has a module for everything.
Just to clarify... (Score:5, Funny)
%^$%^$%^$%^$%^ NO CARRIER
Just to clarify, does that actually do something in Perl?
Re: (Score:2)
And my freaking mod points expired...
Re: (Score:2)
Re: (Score:2)
Too bad perl didn't solve the 2006 problem. You know, the fact that it's been irrelevant for 4 years.
Why? Because its old? You still use Linux, right? If you run a Mac, that runs Unix. Both those OSes include Perl by default.
By the way, you're still on Slashdot, that's old too and also runs on Perl. Don't be an idiot.
Re: (Score:2)
Something newer like Python or Ruby won't be pre-installed on as many operating systems.
Re: (Score:2)
Many of the people reading this site won't be here in 2038. Some due to age related causes, and many due to other causes. *
* Brought to you by your favorite anti-depressants. Now back to your regularly scheduled program.
Re: (Score:2)
So they can use a double word for their time_t rather than a word. Problem solved.
Stereotyping? (Score:2, Insightful)
Re:Stereotyping? (Score:4, Informative)
Re: (Score:3, Funny)
Re: (Score:2)
yes, you are the fair chunk of developers that are not included :P
So... (Score:5, Insightful)
We've started churning out pointless stories all day and then cramming four actual news posts into a single thread?
Re:So... (Score:4, Funny)
Welcome to Slashdot!
Re: (Score:2)
where have you been?
Re: (Score:3, Insightful)
At the very least, it could have been 4 actual entries so that the comments don't just become a huge clusterfuck.
But... nobody running Slashdot gives a fuck. They don't even pretend, really.
IDEs (Score:2)
I wonder what other developers think of IDEs.
I really like the intelliSense etc as an idea. But in practice the whole IDE thing gets in my way.
IntelliSense does let me write code faster, but I find that I don't spend most of the day actually typing in code as fast as I can. I spend a large amount of time using git (revision control tool) on the command line, or debugging and profiling the app, using strace, nm and other command line tools, and so on. The IDE really gets in my way most of the time.
If I sw
Re:IDEs (Score:4, Interesting)
When your project size starts getting large and the number of classes/functions/types/etc starts heading to the thousands its pretty nice to have something that will quickly show you the organization of the code base and help you find things faster. Stuff like "I'm in a source file, open the corresponding header" or "show me all the places that call this function" or "rename this function everywhere it was used" or even "let me browse through the 10 versions of the function to see the right one without having to load the header file and stare at it". Also, when there's tight checkout integration its nice to click on another file, check it out, etc. without having to drop to the command line or move to something else. That's not to say that the command line isn't useful - I still find it easier to sometimes run makes or grep or whatever so there's always one handy, but personally I get a lot more done than with a plain old editor.
Re: (Score:2)
agreed. A good IDE is superior to grep.. and that's the right metric. That said, often VS fails so hard at being better than grep that I reach for the built-in grep (it's called Find In Files). If anyone wants to try beating Microsoft at making a better IDE than VS, study the way people use Find In Files and make it better.. for example, if I they added a dropdown on the Find In Files which let me select "function calls", or "templates" or "class definitions", that'd be great.
Re: (Score:3, Interesting)
grep is an interesting point actually.
Okay, so the IDE lets you search all files. Just like doing:
git grep someword
How do I now use the IDE to search all the files.. in all of time? e.g. I remember that the code once had a certain string somewhere, but it seems to have been deleted. How do I find that?
With git it's a single command.
Re:IDEs (Score:5, Interesting)
Eclipse might be better than VS, but I've never been able to get it to run fast enough to be usable.
Last time I installed it the person advocating it to me looked over my shoulder and said "yeah, I think you need to upgrade your video drivers".
Re:IDEs (Score:5, Interesting)
I really hate Eclipse actually. I find it buggy, slow, and non-intuitive in a lot of ways. For Java stuff, IntelliJ IDEA is really great. For non-MS C and C++...I'm not really sure anymore. I mostly end up using Vim and the command line.
Re: (Score:2)
I really hate Eclipse actually. I find it buggy, slow, and non-intuitive in a lot of ways.
My experience as well - I was shocked actually. Recently had to use that latest greatest "Eclipse for a Java" with a legacy Java project for the first time - the disconnect between "WorkSpaces" and "Projects" drive me batty after a while. Got an existing java project with eclipse project file? Forget trying to just open it - Nooo you have to jump through all sorts of non intuitive loops and importing processes just to load the damn thing into the IDE. Documentation ambiguous, scarce and/or non-existent for
Re: (Score:3, Informative)
I don't know about "just opening it", but you can simply select Import -- Existing Project into Workspace and that's that. This has never been an issue for me with all kinds of projects (some of them rather large). A workspace is just a set of projects; I think many IDEs have a concept like that. If you don't want to bother with it, you can simply have one workspace for all projects with no real downside, that's what I do at home.
That said, setting up the development environment for a legacy project can be
Re: (Score:3, Interesting)
hear, hear, well, think Eclipse is alright, decent solid IDE once you get to know it. Jetbrains IntelliJ IDEA though rocks everything, best IDE ever.
Coming back to VS, the best part with it is that you can install the Jetbrains Resharper, which makes VS behave (almost) like IntelliJ!!
Re: (Score:2)
You should try a recent release. Eclipse used to be very slow on Linux until a few releases ago, due issues in the GTK+ SWT bindings.
It's always been very snappy on Windows.
Also don't use any of the natively compiled versions that some distros ship, they're much slower than standard Eclipse. Always get Eclipse from Eclipse.org, because distro packaged versions have historically been quite out of date (although they're working keeping things more recent).
Re: (Score:3, Funny)
"It's always been very snappy on Windows"
Hmm. And I always thought that "snappy" implied fast and responsive. I guess not.
Re: (Score:3, Interesting)
Eclipse might be better than VS, but I've never been able to get it to run fast enough to be usable.
I used to have a lot of problems with that, and then I moved it to a machine with more memory and the problems went away. IOW, it's a bloaty hog but otherwise OK.
Re: (Score:2)
My experience with Eclipse is that it's an OK IDE for Java, but it handles C++ as if it were designed in 1995. Well, the other 1995 products were actually easier to configure.
Re:IDEs (Score:4, Interesting)
I use IDE as a tool.
The problem is some people use it as a crutch... "If the IDE doesn't handle it then it cant be done" mindset
But it is a tool to keep in your cap. I know Visual Studio 2008 is good at showing me methods and properties I can access from the variables which is handy to let you know what is going on in a datatype/class you don't use much.
However sometime I will take the file out of Visual Studios to do some additional coding because Visual Studios Expects you to code in Top Down in this order...
IF (x == y)
{
msgbox("hello");
}
However real life has it more like this...
msgbox("hello");
run test...
Up arrow Return
if (x == y) {
return down arrow to go past the msgbox command
}
For this case the IDE is a pain because it will try to close my if statments {} which if I am not paying attention it will give me an extra } that I need to dig around and find when I get a compile error.
Re: (Score:3, Interesting)
> This for instance is not something you do while the IDE is open
Then that pretty much rules using an IDE. It's crazy to imagine opening and closing an IDE every few minutes just because I want to backport my fixes to a different branch, or bisect to find a bug, etc.
Even plain old GDB lets you view raw types just by writing macros to display things however you want. Hell, it even has python scripting support, so you can go crazy with it.
Erlang is an interesting language (Score:5, Interesting)
I've been working with Erlang for about 9 months now. It's an interesting language, but prone to some of the most bizarre runtime problems because it doesn't do type checking (for example if you typo a "+" instead of "++" when concatenating strings it'll defer the error to runtime, when it reports an "arith error".)
One thing that really impresses me about Erlang is how tight the code is. We've been working on a PBX application (with Freeswitch and PostgreSQL) and it's not even 30,000 lines of code in Erlang, including database I/Os and client/server GUI access. C++ would have weighed in at around 100,000 lines for the same functionality.
Re: (Score:2, Interesting)
In many languages ++ means concat the lists, so I assume that if a string is a list of characters then its a concat of the two lists? I'd guess that once you understand the underlying concepts and seen a few functional languages then its not too confusing to debug. It is frustrating to have to wait until runtime to find errors that a decent IDE would identify immediately..
I always wondered how well Erlang handles caching. An LRU is generally a list crosscutting a hash-table and is done O(1) by reordering th
Re: (Score:3, Interesting)
I've been using Erlang as my primary language for the past 2 years and I have to say that you are essentially correct. My worst typo-leading-to-weird-bug situation was forgetting a comma in a list of strings. Apparently ["foo", "bar" "baz"] is interpreted as ["foo", "barbaz"]. That led to some subtle failures in a totally different part of the code.
However, occasional weird issues aside, it does reduce the size of the code and the number of bugs by a factor of 4 or 5. I have been able to write non-trivial p
Official site of Perl 6 (Score:2)
Talking about Perl, this is the official Perl 6 site:
http://perl6.org/ [perl6.org]
Srsly :P
2K38? (Score:5, Insightful)
Would it hurt to just write 2038? No space is saved writing it the other way.
Re:2K38? (Score:5, Funny)
Re: (Score:2)
What does "2K-10" mean? How can you subtract 10 from 2 Kelvin? You can't go below absolute zero. Oh, you meant "2k-10", but that's 2000-10 or 1990.
In any case, using an "abbreviation" that is longer than the original is pretty pointless.
Re: (Score:2)
I think that 2K-10 is even better. 2K-10=(1024*2)-10=2048-10=2038=(2^11)-10
Of course, you should specify that you're using kibiyears.
Re: (Score:2)
It's a shortened version of "Y2K38", [wikipedia.org] in homage to "the Y2K bug" (which is itself a conveniently shortened version of "the Y2KOMGWTFBBQwereallgonnadie!1!eleven bug").
Re: (Score:2)
That still doesn't stop people saying "double-you double-you double-you" instead of "world wide web", or the dreaded "dub dub dub".
Strawberry Perl will be out in a week or so (Score:5, Informative)
Strawberry Perl has been doing betas all the way through the 5.12.0 RC process, so the production release should be out in a week or so.
What the summary doesn't mention is that there's some stuff in 5.12 that allows Strawberry to add:
GCC-based 64-bit support for Windows servers
Strawberry Portable (flash drive) stuff finally works in a first-class manner (with separate core/vendor/site installation targets).
Re: (Score:2)
Since I'm too lazy to google (it's almost bedtime), WTF is Strawberry Perl?
Re: (Score:2)
A strawberry pearl is just a pink one. You see, in some tropical areas, oysters feed on human flesh. All the blood turns the pearls pink.
Re:Strawberry Perl will be out in a week or so (Score:4, Informative)
In contrast to ActiveState's ActivePerl (a Windows port of Perl, sponsored by Microsoft, which works well but changes things enough that you generally can't just download some random CPAN module and compile it, you have to use one of the precompiled binary modules they make available), Strawberry Perl is a Windows port of Perl that tries to remain as close as possible to the original UNIX version, but tweaking just enough to get it to work well on the platform. I believe the goal is to move toward Vanilla Perl, which would be essentially taking the plain old normal Perl that runs on UNIX, and just running that on Windows without changing anything.
What, no ActiveState mention? (Score:3, Informative)
wtf? (Score:5, Insightful)
Awesome. From now on, let's just post 1 story on Slashdot per day with all of the good stuff in it, so that we may discuss everything in it in one big unrelated clusterfsck of comments.
Perl 5.12? (Score:2)
Re:Perl 5.12? (Score:5, Informative)
Perl 6 is mainly usable, and some form of it is being used in production at multiple sites. It's just not ready for public "launch" yet. If you really want it, you can get it. Perl6.org [perl6.org] has it.
Perl 5 hasn't exactly been sitting still the past decade. The changes between 5.6 and 5.8 or 5.8 and 5.10 are huge. I haven't looked over the full changes list for 5.12 yet, but it sure isn't the language Perl 5 was in 2000.
Re: (Score:2)
I've been waiting nearly a decade for Perl 6.
Why? Just because you've heard the hype?
Re: (Score:2)
I heard they were just waiting for the Duke Nuk'em team to finish up. After all, it's Duke Nukem Forever being written in Perl 6 for the Phantom console, right?
VS2010 bug (Score:2)
Visual Studio 2010 still hasn't fixed one of the major bugs that has been around since .NET 1.0.
When you run a forms based program in debug mode on an x64 system, and the form's load event throws an exception, the program will happily continue running without reporting the exception. Execution skips directly to the end of the load sub without running any lines of code after the exception, yet the program continues to run as if nothing went wrong. Everything works as expected if you are working on an x86 b
no brainer? (Score:4, Informative)
I've been using VC++ Express 2008 and was excited to get an upgrade. But instead I was surprised by a few seemingly "dumb" moves:
1. The default fonts for the editor and tool windows have been changed to a font that looks very blurry on Windows XP. To change them back, you have to change them one by one for every window.
2. The drag'n Drop capability to add buttons to the tool bars is gone. You have to find the button from another dialog and then click "MoveUp/Down" several times to move it to the place you want.
3. The GUI I used the most in the Option Dialog, the directories of Exe/Include/Lib, is moved to a place that I haven't yet found.
4. The startup time is much longer than that of 2008.
5. The new GUI has a high contrast. Maybe it's just me, but after staring at it for a long time, I feel like I am starting to see ghost images.
Is VS2010 still slow? (Score:4, Informative)
A few days ago, I used a copy of Visual Studio 2010 that I got from my MSDN Academic Alliance account. It looks really nice, but it ran absolutely dog slow. And this was for debugging VBScript!
I gave it another shot with Visual Studio 2010 Web Developer Express, which I heard can debug VBScript just like the full devenv can. It was a little faster (though still slower than VS2008), but it nor Visual Basic 2010 Express would debug my VBScript.
I haven't tried coding on it for real (I also do C/C++ development; can't wait to port that script over to a REAL effin' language), but if it's as slow as I remember it being, I can see lots of companies turning back really quickly.
Re: (Score:2)
Anyways, post some details.
Re: (Score:2, Offtopic)
The Perl 6 Design Team had a 6 in the middle, since 2000, and on and on it goes................
http://use.perl.org/~chromatic/journal/40296 [perl.org]
Re: (Score:2)
mov AX, 0013h
int 10h
Re: (Score:2)
You kids with your fancy registers and interrupts. In my day we did:
ldx #$00 .text "Welcome"
loop lda message,x
sta #$0400,x
inx
cpx #$07
bne loop
rts
message
Re: (Score:2)
at&t syntax sucks but at least it is consistent. And ModR/M and SIB bytes are not that complicated, but the Intel manuals sure are painful to read.
Re: (Score:2)
X86 assembler programming, isn't the weather outside just splendid today?
Re: new major version of Perl is now available. (Score:5, Insightful)
It's considered trolling because that's purely what it is.
Perhaps you'd like to enlighten us with some examples of "byzantine syntax", since Greek and Latin [wikipedia.org] aren't valid Perl. Perhaps you meant "British" syntax, since the language is based more off of English than other programming languages. Yes, I'm aware this places it in the same group as COBOL, but hear me out.
Perl's syntax is based off natural language. You should be able to tell the computer what to do in the same way you'd tell another person, with some obvious extra clarity needed. In this regard, it is the opposite of INTERCAL. In Perl, when you want to run a function 'foo' if and only if 'bar' is true, the statement is very close to what I've just said.
foo if bar;
Sure, it's not like C, but why should we limit our thinking? Alternatively, just as in English you can say "If 'bar' is true, run 'foo'":
if (bar) { foo }
Perl is a language for people who use language. Even the more ugly syntax makes perfect sense with a bit of thought:
s/foo/bar/g;
That's a full statement, saying "substitute foo with bar globally". It applies to whatever you happen to be working on at the moment, just like how there are many statements in English that carry an implied 'you'.
The syntax of the Perl language is only ugly if you try to forget that it is a language. Perhaps other languages should try to emulate Perl's features, and actually gain some readability. Sometimes, it just makes more sense to express things differently. Would COBOL be so bad if it allowed BASIC's syntax as well (and allowing non-computer people to write in it carried the death penalty)?
Re: (Score:2)
Describes it rather well for me.
Re: (Score:2)
If Perl's syntax were actually elaborate, that might hold. Maybe something like "every third line MUST be blank, unless it's a full moon, or a Thursday, in which case being blank is optional, but the line must include an uppercase letter."
Offering more than one way to write a given line, and attempting to follow the rules of a natural language, is not "elaborate scheming and intrigue". Perhaps you have a counter-example? or is this just more FUD from the I-was-told-Perl-is-ugly-so-I'll-repeat-it school of t
Re: (Score:3, Informative)