|
Kornfeld Eliyahu Peter wrote: I wonder if this is to prepare us to accept 70% as success... Micorsoft is already doing this for a while with its updates
See: The Insider News[^]
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
modified 9-Jun-20 3:16am.
|
|
|
|
|
My first project after I completed my degree, in the early 1980s, was to use a translation tool for converting the code base from Pascal to a proprietary language. The company saw that as a way to protect their code from being stolen by competitors.
The major lesson learned was that we would have saved a lot of time doing the complete rewrite by hand, without a translation tool. The translator (usually) created "correct" code, but so far from the way a human mind would have written it that it was almost umaintainable without thorough manual cleanup. Comments were "preserved", but not in the right place. Due to varying identifier syntaxes, many identifiers looked like those created by name mangling for overloaded functions - you don't want to work with that sort of names. The target language had some very nice constructs that every programmer would utilize to save a lot of code compared to the Pascal source, but the translator wasn't capable of recognizing those Pascal structures that would match the target mechanisms, or that might match with a few minor adjustments (the way a human translator would have done it).
35+ years later, I guess translators have improved. Yet, my bad experience with them makes me sceptical. It may work if the languages are reasonably similar, such as C++/C# translation, but the further apart the languages are, the less useful will the translation be.
|
|
|
|
|
@code-witch Maybe your can lex and parse and LALR these outputs to 100%?
|
|
|
|
|
haha i doubt it. i wonder what the practical purpose of this tech is?
Real programmers use butterflies
|
|
|
|
|
It's for when you're writing code in Java, but you find an example in C# (or vice versa) and now you need to translate it.
Or when your manager decides to rewrite the entire application in another language because he read a book blog post tweet about it.
Because that sort of thing happens all the time
Seriously though, back in my VB.NET days, I regularly used a translator to translate C# examples into VB.NET code (I couldn't read C# back then) since VB.NET examples are scarce or just very bad.
Of course C# to VB.NET shouldn't be that difficult
|
|
|
|
|
Heh
Real programmers use butterflies
|
|
|
|
|
Sander Rossel wrote: Or when your manager decides to rewrite the entire application in another language because he read a book blog post tweet I really wish that was a joke - last contract they moved from MS tech to Java and Python on a managers whim. I quit.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Kent Sharkey wrote: Sadly, it cannot convert Folders syntax to Visual Basic
IF they really wanted to produce something useful: VB6 to VB.net/C# since doing so in more than the most minimal half- ing baked way was clearly too much to ask for from MS.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Upvoted!
"Go forth into the source" - Neal Morse
|
|
|
|
|
This collection of courses and learning resources aims to improve your technical documentation. Learn how to plan and author technical documents. You can also learn about the role of technical writers at Google. Stuff for to help you right gudder
|
|
|
|
|
In theory, the new prompt would be displayed only on the first run after installing or upgrading Windows 10, but some users have reported that they’re getting the notification without updating their system. It looks like you're trying to get some work done. Would you like us to interfere with that?
|
|
|
|
|
I got it and shrugged, figuring it was from some April update that wasn't tested. Oh wait, it was, by me.
(But don't worry, Microsoft President Brad Smith is busy pontificating about everything non-Microsoft and Nadella is busy saying the obvious [and making sure XBox Series X has a ludicrously stupid name].)
|
|
|
|
|
The ‘brain-on-a-chip’ hardware could lead to tiny, portable AI devices. Worst cocktail party snack. Ever.
|
|
|
|
|
All your brainz belong to us!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
'PHP is not very exciting and there is not much to it' = the secret of success? And if you want to send the developer a gift, remember that silver would be the appropriate material for the club
Not condoning violence here.
But I also don't condone PHP.
|
|
|
|
|
Rasmus Lerdorf wrote: In 1993 programming the web sucked, So he invented PHP to make sure it stayed that way?
|
|
|
|
|
Source Generators in C# 9 will allow compiler-extensions to inspect code and then inject additional source code at compile-time. Getting the job done, partway at a time
|
|
|
|
|
A study that analyzed the top 54 open source projects found that security vulnerabilities in these tools doubled in 2019, going from 421 bugs reported in 2018 to 968 last year. Given enough working hands, the bugs get deep?
|
|
|
|
|
Many people contribute to Open Source as they try to publish here for the sick of "I have X articles in Codeproject" in their curriculum vitae.
And seeing the crap they try to get through our moderation...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
A lot of people just fix some typo or add a line to the readme file.
No joke, I got a commit like that on arrgh too.
It was a typo and the guy fixed it, so I accepted the pull request, but if you're a serious developer that's hardly worth of your time
|
|
|
|
|
According to precise new measurements of dark energy, scientists believe that our entire universe is totally flat. It matches the Earth
|
|
|
|
|
That's actually my favorite way to avoid any discussion about the shape of the Earth: "Don't care about the Earth - the important thing is that the Universe is flat".
|
|
|
|
|
You were ahead of the science
TTFN - Kent
|
|
|
|
|
The Flat Universe Society?
Motto: look - the sigil of the United Federation of Planets is FLAT!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Okay, but how THICK is it?
|
|
|
|