Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ada

Name: Anonymous 2011-05-19 21:24

Name one flaw about Ada... oh wait you can't

Name: Anonymous 2011-05-20 14:06

Horrible implementation of OOP.
Forced separation of space for declaration and initialization of variables.
Bitchy about type conversion

The following is legal in C:

#include <stdio.h>
int main() {
  int a = 5; float b = a;
  printf("%f\n", b); return 0;
}


And you won't even get a warning. But in Ada, if you tried this....

with Ada.Text_IO; use Ada.Text_IO;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;

procedure main is
a : float;
b : integer := 5;
begin
  a := b;
  put(a); new_line;
end main;


It won't even compile.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List