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
-jag
Code it, Script it, Automate it!
---
■ Synchronet ■ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
|