C/C++ Languages

melon melon at ikaros.land.gr
Wed Jun 16 00:34:25 EEST 1999


hi folks,

poli goustaro tetoious eideious antithesi pano sti thesi kai den
simazeutai.....

Arxika blepo oti oloi problimatizonte gia to pia glossa einai i
<<kaliteri>>.  Kaliteri??? Sto ti? Na psinei froiganies?
Na arxiso legontas oti i epilogi mia glossas einai to 5 bima sto kiklo
zois eno sustumatos (Software life cycle, opoios
apotelite apo 7 basika stadia). Opos oloi katalabenoume i glossa den
einai to skopos alla to meso gia na ftaseis sto
skopo.

O kathenas tha prepei na krinei simfona me tis anages tou (needs &
resources), na brei tis pragmatikes tou apetisis na
tis kathorisei kai na tis dieukrinisi (requirements, requirements
definition), afou proxorisei sto aparetita xronoboro
design tote akolouthei i praxei (implementation). pano sto
implementation o s/w engineer (prosoxi oxi o
programmer=coder) krinei pia glossa einai i pio katalili gia to
enxeitima tou (h tou group).

Tora kapoioi logoi oi opoioi tha krinoun tin epilogi tis glosas einai oi
parakato:
 i) ta xarakiristika tis glossas (language features)
      level (low, high...)
      project size: kapoieis gloses safos iperexoun sto na xirizonte
megala kai poliploka s/w units, dinete emfasi sto
modularity to poio einai alli megali istoria
     portability: gia eunoitous logous
     kai application area: merikes glosses einai ftiagmenes h exoun
eidika ftigmenes biblithikes gia sigekrimenous
skopous. e.g. Fortran - number cruncing, C - systems programming, Ada -
large systems programing.

Apo ta parapano kai mono blepoume oti i epilogi mias glossas den einai
tixaio gegonos kai den basizezete stin apopsi oti
i C einai gia Unixades kai gamatous programatistes, i Basic einai gia ta
mixiarika kai i Fortarn einai gia ta mpaza.


-- Oraia kai kala re file ego omos thelo na matho mia glosoula na kano
kana programataki ekei pera na xerome.

Afou einai etsi tote i C pisteuo einai i pio katalili glossa. Aufto to
leo logo bibliothikon, an apo piso den ipirxe auti i
'sataniki' bibliothiki kai to portability i C den tha eixe kai toso
megali apixisi. To megalitero mionektima tis C einai to
coding style pou epibali. Na exete ipopsin sas oti o kodikas tis C
grafete efkola alla den diabaseze kai toso eukola (it is
not human readable), kai edo erxete kai kathete to maintenance to opoio
katexei to MEGALITERO meros stou
software life cylce. Eipame oti o kodikas prepei na xaraktirizete apo
consistent (sinoxi) alla stin C to paraxesame to
thema pisteuo.
Esto oti to exeis human readble progarma se mia glossa (px Ada, Pascal)
-Ti kaneis? Kala?
-Kala, esi?
-Kala kai ego.

se C tha grafotan kapos etsi:
-ti ka?
-ka, si?
- ka kgo.

:))

-- Kamia protasi?

Basika exo programtisei stis exeis (liges akoma)glosses Basic, Pascal,
Cobol, C, Matlab(mathematical language),  Perl
kai Ada kai omologo oti emina katenthousiasmenos me tin Cobol, einai
katapliktiki me tin diaxirisi arxeion-records etc.
, einai san programatizeis se natural speaking language. Oso gia tin
BASIC den to sizitame opoios koroideuei tin
koroideuei einai axios tis moiras tou.

Telos panton ekei pou thelo na katalixo einai C vs Ada.
Isos poli loigoi gnorizoun tin Ada (kirios stin ellada)
(www.adahome.com). Exoume kai leme loipon gia tin C, etos
dimiourgias 1972 kai stoxos einai to system programing. I C genithike
apo tin B i opoia bgike apo tin BCPL i opoia mas
eirthe apo tin CPL (ta paidia tou zebedeou pion eixan patera?) Tora gia
tin Ada etos dimiourgeias 1975-88 (83 etos
ekdoseis sto euri koino). Stirixtike apo to DoD of USA kai kirios
xrisimopoioite gia tin anaptixei megalon stratiotikon
sistimaton (kai oxi mono EURO Control, GPS navigation sys... kai den
simazeuetai).  Aufto eisai leei polla. Min akouso
tora to foberotato epixirima 'toses pexnidares exo ftiaxtei me C kai esi
mas les gia DoD?'. Den antilego, i C domination
mas exi katabalei pio poili tin M$ domination kai den to exoume parei
xampari. Prepi na xipnisoume ligaki kai as
kitaxoume ligo to programatismo stin ousia tou. As prospathisoume na
feromaste san s/w engineers kai oxi san
programtistes, to coding den einai oli i ipothesi. Osi exoun spoudasei
to sxetiko tha thimounte ta prota xroxia ti strifnotita
me tin opoia antimetopizan to design (se opoiadipote morfi DFD, JSP,
Pseudocode etc..) se kapia ergasia. Elegan
(elega) ti mas leei o paparas o kathigitis tora? Tha to piaso ego se
deka lepta me tn Pascal (i se pente me tin BASIC)
kai tha to ksetinaxo. Mega lathos apodiktike, i an den apodiktike akoma
tote tha apodiktei me tin tribi sto epagelamtiko
tomea.

-- Telika?

Prosopika ego xrisimopoio Ada kiati kirios asxoloume me kati spastikes
linked lists , de-que, trees kai oti allo
teratoformo bazie o nous tou kathenos. Kati to opoio otan eida pos
ginete stin C tromaxa. ( milao gia ta access types tis
Ada, ta antistixa classes tis C). Telika prosopikoi xrisi  skopeueuo na
xrisimopoiso C (otan bro ligo xrono na xekoliso
apo ta projects stin Ada) kai sigoura auto logo tis plithoras ton
resources. eunoei kai se auto to O/S (linux). Telika olloi
me to reuma pane.
Apo C platch platch den exo emperistatomenei apopsei kai den ekfero
gnomi.

A... kai kati allo mia kai anaferate BeOS, kati mou leei oti to makrino
melon kribetai kapou ekei. Eukolia tou MacOS kai
dinami Unix se apsogo sindiasmo, leei pola. Exo trexei ena demo CD apo
to PC-plus kai mou gemise poli to mati. Pros
to paron linux kai solaris ante kai se ligo (to ultrasecure :) feebsd.

* Re sis sto MIT den theloun na akousoun tipote allo pera apo Java, kati
tha xeroun parapano ;).

auta en oligois kai poli-poli sinoptika.

Sorry alla exo speedarei polli agria simera. Proi edina Data Structures
andAlgorithms kai mesimeri Software
Engineering. tha saltarooooo (eutixos teliosa)

--------
G Lipordezis
Electronic Engineering and Computer Science @ Aston University
http://www.aston.ac.uk/~lipordeg
http://www.aston.ac.uk/~lipordeg/hellenic
--------

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list