Working languages: English to Lithuanian | | Rimantas Butiškis Reliability NA Local time: 02:12 EET (GMT+2)
Native in: Lithuanian | |
| Freelancer | | Translation, Editing/proofreading, Website localization, Software localization | | Specializes in: | | Electronics / Elect Eng | Engineering (general) |
| Also works in: | | Education / Pedagogy | Metrology | | Environment & Ecology | Construction / Civil Engineering | | Other |
More Less | English to Lithuanian - Rates: 0.04 - 0.08 EUR per word / 15 - 20 EUR per hour | | Questions answered: 47, Questions asked: 0 Easy / 0 PRO, PRO-level points: 63 | Sample translations submitted: 1| English to Lithuanian: Sample | Source text - English Examine the previous code. What on earth is that code doing? Upon a cursory glance, it is easy to tell that four variables are being assigned values, and then some arithmetic is performed and the result assigned to another variable. But one critical piece of information is missing: what the variables represent. Consider the following code snippet:
$pos_start = 0; // Distance in yards
$pos_final = 128;
$time_start = 0; // Time in seconds
$time_end = 64;
$ball_velocity = ($pos_final - $pos_start)/($time_end - $time_start);
Now it becomes obvious that the routine is calculating the velocity of something measured in yards per second. The code with the vague, intimidating variable names would probably give anyone nightmares.
It can also become quite cumbersome to use names that are too verbose. Consider the following name NumberOfCharactersInThisDocument. The name obviously and exactly describes what the variable will contain. However, typing that three or four times would become burdensome at best.
Make sure that your variable names accurately describe the variable’s contents so that you will remember yourself what the variables mean a few months later! Table 2.1 presents some examples of variables named properly and the same data represented with incoherent variable names.
| Translation - Lithuanian Panagrinėkime pateikto PHP kodo pavyzdį. Ką jis daro? Iš pirmo žvilgsnio lengvai galime pasakyti, kad keturiems kintamiesiems suteiktos reikšmės, po to atliktas matematinis veiksmas, kurio rezultatas priskirtas dar kitam kintamajam. Trūksta esminės informacijos: kokius duomenis atspindi kintamieji. Įsižiūrėkite į šią kodo ištrauką:
$pos_start = 0; // Atstumas jardais
$pos_final = 128;
$time_start = 0; // Laikas sekundėmis
$time_end = 64;
$ball_velocity = ($pos_final - $pos_start)/($time_end - $time_start);
Akivaizdu, kad programa skaičiuoja kažkieno greitį jardais per sekundę. Kodas, naudojantis miglotus, neaiškius kintamųjų vardus, tikriausiai gali sukelti košmarus.
Kita vertus, kodas gali tapti pernelyg gremėzdiškas, jei vartojami daugiažodžiai vardai. Pažvelkite į vardą NumberOfCharactersInThisDocument. Šis vardas visiškai ir tiksliai nusako kintamojo turinį. Tačiau jo rašymas tris ar keturis kartus, geriausiu atveju, taps varginantis.
Pasistenkite, kad jūsų kintamųjų vardai tiksliai atspindėtų turinį ir kintamųjų reikšmių nepamirštumėte per keletą mėnesių. 2.1 lentelėje pateikti teisingai ir neadekvačiai sudaryti kintamųjų, atspindinčių tą patį turinį, vardai.
|
More Less | | Years of translation experience: 7. Registered at ProZ.com: Sep 2004. | | N/A | | N/A | | N/A | | Adobe Acrobat, Adobe Photoshop, DejaVu, Logoport, Microsoft Excel, Microsoft Word, ABBYY FineReader, Adobe Acrobat, Adobe Photoshop, Deja Vu, MS Office Excel, MS Office PowerPoint, MS Office Word, Paint Shop Pro, Rhino 3D, Win Rar, WinIso, WinZip, Powerpoint, SDL TRADOS, SDLX | | English (DOC) | | About me
Wide range of technical literature, including equipment, hardware and software manuals,computer and ICT related texts.
Contact Me
More than 5 years of translation experience.
Acceptable quality, reasonable rates, up to 4000 words per day | Keywords: Technical, engineering, computer, software, hardware, general, physics, science, manufacturing, transport, cars, mechanics, trados, education, multimedia
Profile last updated Jun 1, 2008 |