[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: After a refresher on C programming, I have a great

Subject: Re: After a refresher on C programming, I have a greater appreciation for XSLT
From: Hermann Stamm-Wilbrandt <STAMMW@xxxxxxxxxx>
Date: Mon, 17 Mar 2014 21:50:22 +0100
Re:  After a refresher on C programming
Hi Roger,

> I am happy to be programming in XSLT. I am happy to be working at the
> abstraction of symbols (strings, string manipulations, elements,
> attributes) and not numbers. I am happy that the XSLT processor takes
> care of memory management for me.
>
you have to pay a price for this -- execution speed.


> I am happy to be working at the abstraction of tree navigation (parent,
> ancestor, child, descendant, sibling traversals) and not pointers.
>
You can have "XSLT pointers" as well ;-)
http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/201009/msg00179.html

This is the example referenced in the posting:
http://www.stamm-wilbrandt.de/en/xsl-list/xsltPointers/sevennodetypes.xml


Mit besten Gruessen / Best wishes,

Hermann Stamm-Wilbrandt
Level 3 support for XML Compiler team and Fixpack team lead
WebSphere DataPower SOA Appliances
https://www.ibm.com/developerworks/mydeveloperworks/blogs/HermannSW/
https://twitter.com/HermannSW/
http://stamm-wilbrandt.de/GraphvizFiddle/
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


                                                                                                                                              
  From:       "Costello, Roger L." <costello@xxxxxxxxx>                                                                                       
                                                                                                                                              
  To:         "xsl-list@xxxxxxxxxxxxxxxxxxxxxx" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>,                                                            
                                                                                                                                              
  Date:       03/17/2014 09:22 PM                                                                                                             
                                                                                                                                              
  Subject:     After a refresher on C programming, I have a greater appreciation for XSLT                                                
                                                                                                                                              





Hi Folks,

Lately I have been refreshing my memory on C programming (because a book
that I am reading gives its examples in C).

Reading the C book has given me a better appreciation for the advances that
have been made in modern programming languages. Here are a few things that
struck me as I read the C book:

- In C most things are treated as numbers. Characters are treated as
numbers (you can even perform arithmetic on characters). Logical values
(true/false) are treated as numbers.

- Memory management is of concern to a C programmer. C programmers need to
ensure that the code doesn't reference past the end of an array. A
programmer must ensure that performing arithmetic on a variable does not
produce a value that exceeds the allotted memory for the variable (thereby
resulting in "buffer overflow"). A programmer may call a function to find
out the amount of memory being used (sizeof) by an array or call a function
to allocate a certain quantity of memory (malloc).

- Pointers must be carefully managed and care must be taken when traversing
the pointers.

I am happy to be programming in XSLT. I am happy to be working at the
abstraction of symbols (strings, string manipulations, elements,
attributes) and not numbers. I am happy that the XSLT processor takes care
of memory management for me. I am happy to be working at the abstraction of
tree navigation (parent, ancestor, child, descendant, sibling traversals)
and not pointers.

/Roger

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.