Sysop: | KK4QBN |
---|---|
Location: | Chatsworth, GA |
Users: | 48 |
Nodes: | 10 (0 / 10) |
Uptime: | 96:02:04 |
Calls: | 900 |
Calls today: | 0 |
Files: | 138,634 |
U/L today: |
0 files (0K bytes) |
D/L today: |
695 files (819M bytes) |
Messages: | 26,287 |
Posted today: | 1 |
Deavmi wrote to Darkages <=-
I have actually come to grips with the syntax now and I love the way
you type the syntax :).
Deavmi wrote to Darkages <=-
I will also be sticking with Pascal as I like it a lot and FPC exists.
I've always like Pascal syntax. Pascal is the language I've done the
most with, so I do have a soft spot for it.
I have a soft spot for it even though I never did it back in the day (lol).
Anyone for FORTRAN? :)
Deavmi wrote to Vk3jed <=-
I was busy reading the documentation on Free Pascal's Pascal and I
shall return to it shortly.
Deavmi wrote to Vk3jed <=-
If I have any questions I will come to you :).
Deavmi wrote to Vk3jed <=-
I have a soft spot for it even though I never did it back in the day (lol).
Poindexter Fortran wrote to Deavmi <=-lol).
I have a soft spot for it even though I never did it back in the day
Anyone for FORTRAN? :)
Deavmi wrote to Vk3jed <=-
Yeah, that's on my winter to do list, which is getting closer, with the last week of the summer track season upon me. :)
Awesome to hear.
Deavmi wrote to Vk3jed <=-
program hello;
begin
writeln('Hello world');
end.
Deavmi wrote to Vk3jed <=-
I just love Pascal's syntax. So frikken sexy.
I find it quite neat, for the most part.
I like C's syntax. It's good and easier to type (physically with akeyboard
- not talking about the type system).
Deavmi wrote to Vk3jed <=-creen..
I had to add
Uses Crt;
at the top, it needs the CRT unit to be able to write to the console
D
FPC includes that module by default.
Ennev wrote to Vk3jed <=-
I find it quite neat, for the most part.
Cleaner to read than a bunch of {} %#%$ () () ;
Maybe it look less compact, but a code is brisk and small no because
you typed it compactly.
Remember demonstrating that years ago at a job writing the same piece
of code in Turbo Pascal and in Microsoft C.
We had a decompiler so we could see what both code looked like and at
that level it was practically indistinguishable.
And when you use Delphi the difference in the size of a .exe was
dramatic.
So at the end of the day, it's funnier to support code in Pascal than C
or Java. You can of course type less compact source code in c or java
but it's up to the developer, when pascal forces you.
while (number > 0)
{
factorial *= number;
--number;
}
or
while (nu > 0) {fa *= nu;--nu;}
it will both do the same thing, but one is so much nicer to read that
the other.
and once compiled that will end up being the same code executing in the same amount of time.
Re: Re: Opinion on Pascal
By: Deavmi to Ennev on Thu Mar 30 2017 10:28 pm
Can we all agree though that Bash is a shit language.
In what way? What little experience I had with it, it was no different that the strange syntax of Windows/DOS Batch scripting. I did find BASH to be more picky, though. I will agree it's a terrible language to script in, but I will add on the fact that it is the most picky.
Guess so but when you need to quickly write some code and test it out it beats things like Pascal. Also it ain't that messy - I like it quite a lot. It isn't, let's say, as elegant as Pascal - I can tell you that.
On 2017-03-30 09:12 PM, Ennev wrote:
Can we all agree though that Bash is a shit language.
I would never consider Bash a programming language any more than I would DOS
But.. as a scripting language, it is similar to a programming language in that
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
Also the parser gives the funniest error messages.
Error on line 70 when it's on 36.
Deavmi wrote to Vk3jed <=-
What version of FPC are you using? Maybe your version doesn't
implicitly include it.
Deavmi wrote to Hemo <=-
Python is technically seen as a scripting language too but atleast it's better. Idk though. i love Python (you can use it as a command-line,
just differently).
Jagossel wrote to Hemo <=-
Re: Re: Opinion on Pascal
By: Hemo to jagossel on Thu Mar 30 2017 22:32:01
I would never consider Bash a programming language any more than I would DOS
No argument from me on that point. I get it's not a programming
language in the fact that there is no code to compile. I never said
that it is a programming language.
But.. as a scripting language, it is similar to a programming language in th
at
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
I totally get that. My point is that other languages (both scrpting and programmimg languages) have SOME room for minor differenes in whitespacing.
Again, I have VERY LITTLE experience with BASH and I get tripped up
from time to time when I do use it and I have to look up some things in the manual.
Examples of where I stumbled a bit:
- Spaces inside the square brackets
- The special switches for if a directory or file exists or doesn't
exist
- Accepting argumemts
- Defining functions first before calling it
Deavmi wrote to Hemo <=-
On 2017-04-01 05:48 AM, Hemo wrote:
Deavmi wrote to Hemo <=-
Python is technically seen as a scripting language too but atleast it's better. Idk though. i love Python (you can use it as a command-line, just differently).
Perl falls to mind as well. now there's one that is confusing. About 15 different ways and back to do just about anything, ranging from complete gibberish to human readable. And it all works.-
... I'm not anti-social; I'm just not user friendly.
--- MultiMail/Win32 v0.49
� Synchronet � - Running madly into the wind and screaming
bbs.ujoint.org
Perl to me is not a nice language. Ugly as hell.
Deavmi wrote to Vk3jed <=-
3.0.0, if I recall.
Isn;'t that quite new?
Jagossel wrote to Deavmi <=-
Same thing with SQL Server and SQL Scrpits or stored procedures.
Error on line 73...
"How exactly does a blank line cause an error? This isn't BrainF***!"
I susoect it has a lot of how the scripts gets parsed in regards to
line numbers; not really sure how to get to the right line with the
given line number.
Hemo wrote to Deavmi <=-
Perl falls to mind as well. now there's one that is confusing. About
15 different ways and back to do just about anything, ranging from complete gibberish to human readable. And it all works.
Hemo wrote to Jagossel <=-
Examples of where I stumbled a bit:
- Spaces inside the square brackets
- The special switches for if a directory or file exists or doesn't
exist
- Accepting argumemts
- Defining functions first before calling it
no arguments from me on any of that. I find the more languages one
tries to learn, the more confusing it can be as things do vary between them. Sometimes quite a bit. Sometimes little things, like the result when comparing strings. C returns 0 when they match, which still trips
me up, becuase most other languages I may use return 1 or true when strings match.
Deavmi wrote to Hemo <=-ometimes
no arguments from me on any of that. I find the more languages one tries to learn, the more confusing it can be as things do vary between them.
quite a bit. Sometimes little things, like the result when comparingstrings.
C returns 0 when they match, which still trips me up, becuase most other languages I may use return 1 or true when strings match.
0 makes sense. It usually is always like that. It is a neutral number.
KK4QBN wrote to Deavmi <=-
All roads might lead to rome, but you have to fork off and take other roads to get there, no single road will take you to rome, just as no single programming language would do 'everything' you would need it to
do "I presume". So its nice to have options. I find bash scriting to be very helpul, just as anything else I can grasp on to, like Qbasic for example :)
Hemo wrote to Deavmi <=-
Perl to me is not a nice language. Ugly as hell.
Lol - yes, I can see that, though it is a language I do a lot of work
in and I try very hard to write in such a way that others can
understand, and I comment things heavily. I use Perl for text file manipulations mostly, I think it excels in this area. I have started doing some of my daily taks in bash scripts when I can, because others
in our support team understand bash more than Perl.
I dabbled in Pascal back in the 1990's, even wrote a few mods for Synchronet back then that never really took off, but you can still find
at least one of them in BBS archives. It was my first attempt, and
much like the work I do today, it was manipulating a text file to
change data. I didn't continue using Pascal, and forgot most things.
In 1981 I wrote a huge multiple choice quiz system in Integer Basic on
the Apple ][ series. It was basically a flat file database with a
front end and an editor. I aced that class, and it was a fun project.
I recall the teacher used the program for a few quizes in the following years. (I gave permission)
I started a class on Python and dropped it because I couldn't get over some things. I can't recall what those things were, I should go take another look at it.
Deavmi wrote to Hemo <=-
Thanks for the info. Maybe take a look at Python and you can figure
those things out. Maybe it's the heavy use of OOP?
Jagossel wrote to Hemo <=-
Re: Re: Opinion on Pascal
By: Hemo to jagossel on Thu Mar 30 2017 22:32:01
I would never consider Bash a programming language any more than I would DOS
No argument from me on that point. I get it's not a programming language in the fact that there is no code to compile. I never said that it is a programming language.
But.. as a scripting language, it is similar to a programming language in th
at
is has specific syntax for specific commands. If you don't get the syntax correct, you're screwed no matter what language you're working in.
I totally get that. My point is that other languages (both scrpting and programmimg languages) have SOME room for minor differenes in whitespacing.
Again, I have VERY LITTLE experience with BASH and I get tripped up from time to time when I do use it and I have to look up some things in the manual.
Examples of where I stumbled a bit:
- Spaces inside the square brackets
- The special switches for if a directory or file exists or doesn't exist
- Accepting argumemts
- Defining functions first before calling it
no arguments from me on any of that. I find the more languages one tries to learn, the more confusing it can be as things do vary between them. Sometimes quite a bit. Sometimes little things, like the result when comparing strings. C returns 0 when they match, which still trips me up, becuase most other languages I may use return 1 or true when strings match.
Re: Re: Opinion on Pascalr
By: Deavmi to Ennev on Fri Mar 31 2017 10:54 am
All the roads lead to Rome.Your last line. Does that just mean "all languages do the same thing" o
tocan get the same job done (there are exceptions though ;), I'm sure).
All roads might lead to rome, but you have to fork off and take other roads
get there, no single road will take you to rome, just as no single programming
language would do 'everything' you would need it to do "I presume". So its nice
to have options. I find bash scriting to be very helpul, just as anything else
I can grasp on to, like Qbasic for example :)
--
Tim Smith (KK4QBN)
KK4QBN BBS
Re: Re: Opinion on Pascal
By: Deavmi to Eyearrvee on Thu Apr 13 2017 11:46 am
The day I discovered goto in C I was like whaaaaaaat?
It's in C# as well; although, rarely used. Never understood the "goto" in C# or any other OO language.
Granted I was pretty guilty of using GOTO when I programmed for fun on the TRS-80 CoCo as a kid.
Granted I was pretty guilty of using GOTO when I programmed for fun on th TRS-80 CoCo as a kid.
Did you RETURN?
The day I discovered goto in C I was like whaaaaaaat?
It's in C# as well; although, rarely used. Never understood the
"goto" in C# or any other OO language.
Granted I was pretty guilty of using GOTO when I programmed for fun on
the TRS-80 CoCo as a kid.
Did you RETURN?
Info: `finger deavmi@kk4qbn.synchro.net`
1 If X= Y goto 10
10 Exit
1 If X= Y goto 10
10 Exit
HEY! THATS NOT FAIR!!! Get back here. :-)
I still have a working CoCo 3 sitting on the shelf. Tested it the other day the 60 inch TV. Certainly different <G>
It's in C# as well; although, rarely used. Never understood the
"goto" in C# or any other OO language.
Did you RETURN?
I still have a working CoCo 3 sitting on the shelf. Tested it the other day on the 60 inch TV. Certainly different <G>
I still have a working CoCo 3 sitting on the shelf. Tested it the
other day the 60 inch TV. Certainly different <G>
What? Ok, that I have got to see: a Tandy TRS-80 Color Computer 3 hooked up to a 60" TV. :D
I still have a working CoCo 3 sitting on the shelf. Tested it the
other day on the 60 inch TV. Certainly different <G>
wow, I have'nt messed with a CoCo since about 1990.
My 1st computer was a 4k vic 20 then I bought a CoCo 2
My vic 20 had a casste tape drive lol that was a huge waste loading programs. had dual 5.25 drives on my CoCo.
Re: Re: Opinion on Pascal
By: Mortifis to jagossel on Sat May 27 2017 12:14:00
Granted I was pretty guilty of using GOTO when I programmed for fun on TRS-80 CoCo as a kid.
Did you RETURN?
Did I GOTO using RETURNs? :D See what I did there?
As a kid, I used GOTO a lot and never really understood the point of GOSUBS. Now, after being a professional software developer for over 10 years, and going through the Usborne programming books from the 1980s that they put onl for viewing (thanks to Nostalgia Nerd for providing the link to them in his video description on YouTube), I am finally beginning to see the vaule of GOSUB/RETURN: provides reusability in a structured programming paradigm, if done right. So, it would make sense that BASIC could move from being a structured paradigm to a procedural one fairly easily. Now-a-days, BASIC ha become more object oriented (e.g. Visual Basic).
-jag
Code it, Script it, Automate it!
Re: Re: Opinion on Pascal
By: Joe Delahaye to Mickey on Sun May 28 2017 23:01:06
I still have a working CoCo 3 sitting on the shelf. Tested it the other the 60 inch TV. Certainly different <G>
What? Ok, that I have got to see: a Tandy TRS-80 Color Computer 3 hooked up a 60" TV. :D
-jag
Code it, Script it, Automate it!
Chris wrote to Jagossel <=-
Re: Re: Opinion on Pascal
By: Jagossel to Joe Delahaye on Mon May 29 2017 07:58 pm
Re: Re: Opinion on Pascal
By: Joe Delahaye to Mickey on Sun May 28 2017 23:01:06
I still have a working CoCo 3 sitting on the shelf. Tested it the other the 60 inch TV. Certainly different <G>
What? Ok, that I have got to see: a Tandy TRS-80 Color Computer 3 hooked up a 60" TV. :D
-jag
Code it, Script it, Automate it!
I haven't seen it on a 60 inch tv yet, but footage from more recent Cocofest meetings show it running on modern led/lcd monitors which I thought was really cool. It's really impressive the amount of
development they are doing on Cocos to this day.
------------------------------------------------------------------
CDP
The Diamond Mine BBS - telnet://bbs.dmine.net
The Retro Room - http://forums.delphiforums.com/retroroom ------------------------------------------------------------------
Re: Re: Opinion on Pascal
By: Mickey to Joe Delahaye on Sun May 28 2017 11:04:00
I still have a working CoCo 3 sitting on the shelf. Tested it the other day on the 60 inch TV. Certainly different <G>
I still have a working CoCo 3 sitting on the shelf. Tested it the
other day on the 60 inch TV. Certainly different <G>
Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
Great to seea nother Coco user.
I still have a working CoCo 3 sitting on the shelf. Tested it the
other day on the 60 inch TV. Certainly different <G>
Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
Great to seea nother Coco user.
I still have a working CoCo 3 sitting on the shelf. Tested it the
other day on the 60 inch TV. Certainly different <G>
Cool! I cut my teeth on the Coco 2 and 3, still have both as well.
First BBS I ever called was also on my Coco 2 :)
Great to seea nother Coco user.
I also started out on a CoCo 2, My brother and I ran our first BBS in 1988 on a CoCo 2 64k ram on a basic program written by my brother.
I recently found the code of his BBS software out in my garage.
I scanned it in pdf format and uploaded it to my BBS.
I also have almost every Rainbow magazine on my BBS in PDF.
I need to find a CoCo2 or 3 at a yard sale.
Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)
Great to seea nother Coco user.
Re: Re: Opinion on Pascal
By: Joe Delahaye to Mickey on Sun May 28 2017 11:01 pm
Re: Re: Opinion on Pascal
By: Mickey to Joe Delahaye on Sun May 28 2017 11:04:00
I still have a working CoCo 3 sitting on the shelf. Tested it the other day on the 60 inch TV. Certainly different <G>
Cool! I cut my teeth on the Coco 2 and 3, still have both as well. First BBS I ever called was also on my Coco 2 :)You got any compilers on that Coco currently installed?
Great to seea nother Coco user.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net